[vfio-users] GPU passthrough to Windows problem: BOOT_DEVICE_INACCESSIBLE & general questions on passing physical disks

Francesco Dicarlo evilsephiroth at gmail.com
Fri Oct 30 19:18:17 UTC 2015


Being on arch,I'll answer too...
Please use this guide on arch because it is really well made.
https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF

And for the sake of simplicity, ditch qemu scripts and use xml definitions for libvirt/virt-manager.

You won't have problem. My setup...

B85m-hd3 i5 4570 16gb ram
Gtx 970

Kernel Linux-Vfio-lts installed from aur. Edited pkgbuild to not patch i915. For ovmf it isn't needed...
Windows 8.1/osx Yosemite with gpu passthrough working flawlessly...

Passing through a physical drive isn't a good solution...
Better create a partition or better a logical volume on an lvm for the drive and feed it to kvm...
Remember to set type of storage raw and not qcow2...

If you want I can share my win8 xml and my qemu Yosemite qemu command line...




Sent from my iPhone

> On 30 Oct 2015, at 20:02, Benjamin Slade <slade at jnanam.net> wrote:
> 
> 
> Alex Williamson <alex.l.williamson at gmail.com> writes:
> 
>> You're going to need to make the OS drive something that Windows already
>> knows how to boot from, IDE or SATA, boot and install the virtio drivers,
>> then change it back to virtio-scsi.  What you're doing now is exactly like
>> taking your disk from a SATA system and installing them into a system with
>> an obscure SCSI controller and expecting it to boot.  It doesn't work that
>> way on bare metal either.
> 
> Thanks. Can you point me to examples of what the appropriate "--drive
> ..." lines would look like for passing a physical harddrive through as
> IDE or SATA?  (I had tried passing it as IDE earlier, but I'm not sure I
> got the syntax right.)
> 
> 
> -- 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Dr Benjamin Slade
> pgp fingerprint: 21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> {sent by mu4e on Emacs running under GNU/Linux}
> (Choose Linux, Choose Freedom)
> 
> _______________________________________________
> vfio-users mailing list
> vfio-users at redhat.com
> https://www.redhat.com/mailman/listinfo/vfio-users




More information about the vfio-users mailing list