VirtualBox supports PCI Passthrough and I'm trying to attach my graphics card to the guest OS (host is Windows Server 2012 and guest is Windows 8.1 Professional - so they should both work with the same driver). I've followed the directions at http://howtoware.blogspot.com/2012/01/oracle-vm-virtualbox-how-to-use-pci.html (which are the same directions as in the VirtualBox manual) to set it up. Problem is at this step:
VBoxManage modifyvm "VM name" --pciattach 02:00.0@01:05.0
This command attaches the device at [PCI Bus 2, Device 0, Function 0] in the host to [PCI Bus 1, Device 5, Function 0] in the guest. What destination (guest) address (PCI bus, device, function) should I be using to attach the display adapter from my host to my guest? I've tried a bunch of different addresses but VirtualBox reports back with the following errors:
If I attach to a device address that does NOT 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 have made sure that VirtualBox extensions for my version of VirtualBox (4.2.xxx) is installed.
If I attach 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 definitions >_>):
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}
The VM is powered off for both these operations and I've already tried doing this with a brand new VM with Windows 8 (the VM doesn't even start even with a brand new machine).
I've searched for this exception but haven't had any luck. Maybe some VirtualBox expert out there has some answers? Thanks.