Unable to setup PCI passthrough for display adapter in VirtualBox


Anshur

VirtualBox supports PCI Passthrough and I'm trying to connect a graphics card to the guest OS (host is Windows Server 2012 and guest is Windows 8.1 Professional, so they should both use the same drivers). I've followed the directions at http://howtoware.blogspot.com/2012/01/oracle-vm-virtualbox-how-to-use-pci.html to set it up (same as the directions in the VirtualBox manual) to get it up and running. The problem is with this step:

VBoxManage Modifyvm "VM Name" --pciattach 02:00.0@01:05.0

This command connects the devices of [PCI bus 2, device 0, function 0] on the host to [PCI bus 1, device 5, function 0] in the guest system. Which destination (guest) address (PCI bus, device, function) should I use to connect the display adapter from the host to the guest? I've tried a lot of different addresses, but VirtualBox reports the following error:

  1. If I append to a device address that doesn't exist on the guest, I get this error:

    Failed to open a session for the virtual machine WIN8A.
    
    A virtual device is configured in the VM settings but the device implementation is missing.
    
    A possible reason for this error is a missing extension pack. Note that as of VirtualBox 4.0, certain features (for example USB 2.0 support and remote desktop) are only available from an 'extension pack' which must be downloaded and installed separately (VERR_PDM_DEVICE_NOT_FOUND).
    
    Result Code: E_FAIL (0x80004005)
    Component: Console
    Interface: IConsole {db7ab4ca-2a3f-4183-9243-c1208da92392}
    

    I've made sure the VirtualBox extension is installed for my version of VirtualBox (4.2.xxx).

  2. If I append it to a device address that does exist on the guest, I get this error (looks like someone forgot to read the comments in the error definition >_>):

    Failed to open a session for the virtual machine WIN8A.
    
    General failure - DON'T USE THIS!!!. (VERR_GENERAL_FAILURE).
    
    Result Code: E_FAIL (0x80004005)
    Component: Console
    Interface: IConsole {db7ab4ca-2a3f-4183-9243-c1208da92392}
    

Both of these actions power off the VM, I've tried doing this with a brand new VM with Windows 8 (even with a brand new computer the VM won't start).

I have searched for this exception without any luck. Maybe some VirtualBox experts have some answers out there? thanks.

Steve Cook

According to the manual, this is only supported on Linux hosts:

http://www.virtualbox.org/manual/ch09.html#pcipassthrough

[Edit - I also confirmed with the VBox development team. This feature is not supported (even though it is still experimental on Linux)]

Related


Unable to setup PCI passthrough for display adapter in VirtualBox

Anshur VirtualBox supports PCI Passthrough and I'm trying to connect a graphics card to the guest OS (host is Windows Server 2012 and guest is Windows 8.1 Professional, so they should both use the same drivers). I've followed the directions at http://howtoware

Unable to setup PCI passthrough for display adapter in VirtualBox

Anshur VirtualBox supports PCI Passthrough and I'm trying to connect a graphics card to the guest OS (host is Windows Server 2012 and guest is Windows 8.1 Professional, so they should both use the same drivers). I've followed the directions at http://howtoware

How to setup adapter to display ListFragment

ARR how to set Adapterdisplay ListFragment, i try to set code this bottom doesn't work ListFragmentOnly one value is displayed (index=0), other indices are not displayed ChatGroupMembersFragment.java public class ChatGroupMembersFragment extends ListFragment {

How does Pci Passthrough work?

austin rogers If I configure the system GPU as PCI passthrough, will it stop working for the host Brian Turek Assuming your machine supports PCI passthrough, the host operating system is basically blind to existing devices. When I experimented with it, you del

Tuner card PCI passthrough on KVM

chase my tail I've been searching everywhere for the past few days and can't seem to find an answer anywhere. I have an Asus P5E VM DO motherboard with a Xeon processor, so both support visualization. I'm trying to figure out how to setup PCI passthrough for m

Tuner card PCI passthrough on KVM

chase my tail I've been searching everywhere for the past few days and can't seem to find an answer anywhere. I have an Asus P5E VM DO motherboard with a Xeon processor, so both support visualization. I'm trying to figure out how to setup PCI passthrough for m

Problems with VirtualBox USB passthrough

Elks I have Backtrack 5 R3 set up as a guest OS in VirtualBox. I get this error when I try to run a USB wireless card Alfa AWUS036NHA with AR9271 chipset. ath9k_htc 1-1:1.0: ath9k_htc: target not responding [4.772287] Failed to initialize device [4.774250] ath

Problems with VirtualBox USB passthrough

Elks I have Backtrack 5 R3 set up as a guest OS in VirtualBox. I get this error when I try to run a USB wireless card Alfa AWUS036NHA with AR9271 chipset. ath9k_htc 1-1:1.0: ath9k_htc: target not responding [4.772287] Failed to initialize device [4.774250] ath

Unable to reliably automate xrandr setup on VirtualBox

Kyle Strand Despite several existing questions on this issue (the most helpful answer being this ) and various threads on other forums, I'm having trouble getting my setup to work reliably in Debian 7 in VirtualBox .xrandr I'm trying to use to xrandrcontrol my

Unable to reliably automate xrandr setup on VirtualBox

Kyle Strand Despite several existing questions on this issue (the most helpful answer being this ) and various threads on other forums, I'm having trouble getting my setup to work reliably in Debian 7 in VirtualBox .xrandr I'm trying to use to xrandrcontrol my

Unable to reliably automate xrandr setup on VirtualBox

Kyle Strand Despite several existing questions on this issue (the most helpful answer being this ) and various threads on other forums, I'm having trouble getting my setup to work reliably in Debian 7 in VirtualBox .xrandr I'm trying to use to xrandrcontrol my

Unable to reliably automate xrandr setup on VirtualBox

Kyle Strand Despite several existing questions on this issue (the most helpful answer being this ) and various threads on other forums, I'm having trouble getting my setup to work reliably in Debian 7 in VirtualBox .xrandr I'm trying to use to xrandrcontrol my

Bridged adapter setup fails in VirtualBox - Windows 7 host

Campbell Consider a Windows 7 64-bit host with a VirtualBox guest configured to use a bridged adapter. An exception was thrown when starting this guest machine: Unable to open/create internal network HostInterfaceNetworking (VERR_SUPDRV_COMPONENT_NOT_FOUND) Re

Bridged adapter setup fails in VirtualBox - Windows 7 host

Campbell Consider a Windows 7 64-bit host with a VirtualBox guest configured to use a bridged adapter. An exception was thrown when starting this guest machine: Unable to open/create internal network HostInterfaceNetworking (VERR_SUPDRV_COMPONENT_NOT_FOUND) Re

Virtualbox -> Unable to add second adapter to VM's network

Nikos I have a Debian Wheezy VM running in a virtual box and the first adapter is NAT. However, I also want to add a host-only network, but can't add a second adapter to the VM's network, it's grayed out. Any ideas? heavy Make sure the virtual machine is power

Virtualbox -> Unable to add second adapter to VM's network

Nikos I have a Debian Wheezy VM running in a virtual box and the first adapter is NAT. However, I also want to add a host-only network, but can't add a second adapter to the VM's network, it's grayed out. Any ideas? heavy Make sure the virtual machine is power

VirtualBox GPU passthrough: Code 12 in the guest

autumn I've stubbed and passed the secondary GeForce 8400GS PCI card to my (running) Windows 7 Guest. Visitors report bugs This device cannot find enough free resources that it can use. (Code 12) If you want to use this device, you will need to disable one of

VirtualBox GPU passthrough: Code 12 in the guest

autumn I've stubbed and passed the secondary GeForce 8400GS PCI card to my (running) Windows 7 Guest. Visitors report bugs This device cannot find enough free resources that it can use. (Code 12) If you want to use this device, you will need to disable one of

Change default GPU device for Xorg/GDM after PCI passthrough?

Leonard Lee The Intel Corporation HD Graphics 510device is used on the Ubuntu host system. This NVIDIA Corporation GP107device is reserved for KVM use. The Ubuntu host system cannot be used correctly to Intel Corporation HD Graphics 510connect to the X server.

Why won't PCI passthrough present my device to the guest OS?

Elbana I want to try PCI passthrough. I have passed the old capture video card to the Windows XP guest. IOMMUenabled; vfio_pciloaded I run the following commands: virsh nodedev-detach pci_0000_05_05_0 lspci -s 00:05 -v It reports that vfiothe PCI device is "

Change default GPU device for Xorg/GDM after PCI passthrough?

Leonard Lee The Intel Corporation HD Graphics 510device is used on the Ubuntu host system. This NVIDIA Corporation GP107device is reserved for KVM use. The Ubuntu host system cannot be used correctly to Intel Corporation HD Graphics 510connect to the X server.

Why won't PCI passthrough present my device to the guest OS?

Elbana I want to try PCI passthrough. I have passed the old capture video card to the Windows XP guest. IOMMUenabled; vfio_pciloaded I run the following commands: virsh nodedev-detach pci_0000_05_05_0 lspci -s 00:05 -v It reports that vfiothe PCI device is "