passing a tape device through

Previous thread: [PATCH] Add a subtest pci_hotplug in kvm test by Yolkfull Chow on Friday, July 3, 2009 - 1:57 am. (5 messages)

Next thread: [PATCH] qemu-kvm: remove "KVM misreports CPUID" hack by Andre Przywara on Friday, July 3, 2009 - 8:23 am. (2 messages)
To: <kvm@...>
Date: Friday, July 3, 2009 - 6:45 am

Hi,

I'm (unsuccessfully) trying to pass-through a tape device, that is
connected to the host, to a kvm guest (Windows 2003). The tape device
is connected over SAS with a PCI card (aacraid).

First I tried to add the device with the following parameter
# ... -drive file=/dev/st0,if=scsi
This leads to errors on the console and a crashes the guest after a
while.

After this, I tried to pass-through the whole PCI card (with aacraid
disabled in the host system)
# ... -pcidevice host=0a:00.0
This leads to crash in the guests BIOS state.

Therefore I tried to hot add the pci device in the monitor shell
# pci_add 0 host host=0a:00.0
At least I was able to start the machine this way. Windows did
recognise the card, but was unable to start/use it (unspecified error
-10).

Has anyone an idea how to get this to work?

-Kevin

PS: I'm using kvm-84 with the patches for OSX guest support
http://alex.csgraf.de/self/?part/projects&folder/Qemu%20OSX&type/&projec...
--

Previous thread: [PATCH] Add a subtest pci_hotplug in kvm test by Yolkfull Chow on Friday, July 3, 2009 - 1:57 am. (5 messages)

Next thread: [PATCH] qemu-kvm: remove "KVM misreports CPUID" hack by Andre Przywara on Friday, July 3, 2009 - 8:23 am. (2 messages)