my host system is kubuntu 15.10 and i have the latest version of VB.
i have a guest OS (win7) for testing purpose.
I want to attach my graphical card of my host to VM in order to use it in my guest OS.
so i run in ubuntu, lspci and also in my guest OS in order to know what are the needed information.
here is the result of my lspci in my host OS (ubuntu)
lspci on my guest OS (windows) returns 00:02.0 for default video card of virtualbox.
therefore i did modify my VM as following:
Code: Select all
VBoxManage modifyvm "win7" --pciattach 01:00.0@00:02.0
but when i launch the VM i got an error message as following:
Code: Select all
Failed to open a session for the virtual machine win7.
Failed to open physical device: not existing, or not available (VERR_ACCESS_DENIED).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
so where is the mistake ?
thx