[vbox-dev] PCI passthrough (VT-d) doesn't work with NIC

Alexey Eromenko al4321 at gmail.com
Sat Oct 18 10:14:22 GMT 2014


Hi,

I have got a new Ultrabook, Toshiba Portege Z30.
It has CPU Intel Core i7 4600U vPro + VT-d.

Host: Debian 8 x64 + VBox 4.3.18 +PUEL extpack (kernel 3.16)
Guest: Debian 8 x64 (no additions)

lspci on host shows:
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection
I218-LM (rev 04)

I did:
VBoxManage modifyvm "Debian 8 netinst" --pciattach  00:19.0 at 01:05.0

The device was actually removed from host and moved into VM, so far so good.
But the guest doesn't receive any packets (not even DHCP client), and
the link is shown as not detected via "ethtool" from the guest, as if
the link is down.

Q1. Why i get no network connectivity in VM ?

Also a running VM can't have it attached/detahced:
alexey at portege-d8:~$ VBoxManage modifyvm "Debian 8 netinst" --pcidetach  00:19.0
VBoxManage: error: The machine 'Debian 8 netinst' is already locked
for a session (or being unlocked)
VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE
(0x80bb0007), component Machine, interface IMachine, callee
nsISupports
VBoxManage: error: Context: "LockMachine(a->session, LockType_Write)"
at line 471 of file VBoxManageModifyVM.cpp

Even after shutting down VM, and detaching device, it was removed from
guest, but never re-added back to host OS.
$ VBoxManage modifyvm "Debian 8 netinst" --pcidetach  00:19.0

Q2. Why detached device was not re-added back to host OS ?

-- 
-Alexey Eromenko "Technologov"




More information about the vbox-dev mailing list