Bind a PCI card slot to a VM..?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
spinjector
Posts: 50
Joined: 29. Jun 2009, 22:05
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Windows XP

Bind a PCI card slot to a VM..?

Post by spinjector »

Is it possible to bind a particular host PCI slot (and the card plugged into it) to a certain guest VM..?
If the answer to this question is host-OS specific, what about a different host-OS such as Linux instead of Windows..?
The guests for this application must be Windows XP, but I can be flexible with the host.
Thanks.
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Bind a PCI card slot to a VM..?

Post by BillG »

No. The vm cannot see the physical hardware of the host. It sees its own virtual hardware.

Keyboard, mouse and USB seem to be visible from the guest but only because VirtualBox passes the data from the physical device to the virtual one. This does not happen for PCI cards.

There has been some work done on PCI passthrough but I believe it only applies to some Linux distros and only some hardware.
Bill
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Bind a PCI card slot to a VM..?

Post by mpack »

BillG wrote:There has been some work done on PCI passthrough but I believe it only applies to some Linux distros and only some hardware.
Yes, Linux hosts only. And even there, if anyone has ever gotten it working then they've kept very quiet about it.

And incidentally, VT-d is required even to make the attempt.
spinjector
Posts: 50
Joined: 29. Jun 2009, 22:05
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Windows XP

Re: Bind a PCI card slot to a VM..?

Post by spinjector »

Ok thank you both.
Post Reply