Fix bhyve(1) operation on vmnet devices, broken in r293459.
This commit is contained in:
parent
3deebd539b
commit
5ffa1d26c0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=293643
@ -850,7 +850,8 @@ pci_vtnet_init(struct vmctx *ctx, struct pci_devinst *pi, char *opts)
|
||||
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user