[rpc-server] add virtio to the list of tty drivers
Change-Id: I3badf1aaaabc8066ee0ef1d1d6913a472fce7e81
diff --git a/zircon/system/core/devmgr/devhost/rpc-server.cpp b/zircon/system/core/devmgr/devhost/rpc-server.cpp
index 0708f07..2bdba5c 100644
--- a/zircon/system/core/devmgr/devhost/rpc-server.cpp
+++ b/zircon/system/core/devmgr/devhost/rpc-server.cpp
@@ -56,7 +56,8 @@
// only a couple of special cases for now
const char *libname = dev->driver->libname().c_str();
if ((strcmp(libname, "/boot/driver/pty.so") == 0) ||
- (strcmp(libname, "/boot/driver/console.so") == 0)) {
+ (strcmp(libname, "/boot/driver/console.so") == 0) ||
+ (strcmp(libname, "/boot/driver/virtio.so") == 0)) {
return fuchsia_io_NodeInfoTag_tty;
} else {
return fuchsia_io_NodeInfoTag_device;