I'm running Ubuntu 18.04 as host and windows 10 as guest, using QEMU/KVM as my hypervisor and libvirt as my management tool.
I have a nvme ssd /dev/nvmewin that I want to pass to the windows guest (guest will boot from this device)
I'm also using OVMF to boot in UEFI mode.
Currently it only works if the device is exposed as an IDE device. The guest will not boot if the device is under SCSI, SATA or Virtio (blue screen with error code INACCESSIBLE_BOOT_DEVICE)
My motivation of using a different bus is that I think it will yield better I/O performance.
So my question:
- Is it true that using a different bus will yield better I/O performance?
- If so, how can I expose the device under a different bus and boot?
Here's my domain configuration part about the device:
<disk type='block' device='disk'> <driver name='qemu' type='raw' cache='none' io='native'/> <source dev='/dev/nvmewin'/> <target dev='hda' bus='ide'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk>