Author: glebius
Date: Sun Jan 10 20:10:34 2016
New Revision: 293643
URL: https://svnweb.freebsd.org/changeset/base/293643
Log:
Fix bhyve(1) operation on vmnet devices, broken in r293459.
Modified:
head/usr.sbin/bhyve/pci_virtio_net.c
Modified: head/usr.sbin/bhyve/pci_virtio_net.c
==============================================================================
--- head/usr.sbin/bhyve/pci_virtio_net.c Sun Jan 10 18:11:23 2016
(r293642)
+++ head/usr.sbin/bhyve/pci_virtio_net.c Sun Jan 10 20:10:34 2016
(r293643)
@@ -850,7 +850,8 @@ pci_vtnet_init(struct vmctx *ctx, struct
if (strncmp(devname, "vale", 4) == 0)
pci_vtnet_netmap_setup(sc, devname);
- if (strncmp(devname, "tap", 3) == 0)
+ if (strncmp(devname, "tap", 3) == 0 ||
+ strncmp(devname, "vmnet", 5) == 0)
pci_vtnet_tap_setup(sc, devname);
free(devname);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"