> -device
> virtio-blk-pci,drive=drive0,id=virblk0,num-queues=4,disable-modern=off,disable-legacy=on,iommu_platform=on
> \
> -drive file=/var/lib/libvirt/images/real-qemu.qcow2,if=none,id=drive0 \
>
> The addition of disable-modern=off,disable-legacy=on does the trick !
>
> Thanks for your
Hello,
After much digging and searching the internet, I have found what needs to be
used to get IOMMU enabled and, hence start a SEV vm using VIRTIO :
-device
virtio-blk-pci,drive=drive0,id=virblk0,num-queues=4,disable-modern=off,disable-legacy=on,iommu_platform=on
\
-drive
I did not have a SEV system around to try for real.
But what I was trying is if the following (your second example but without SEV)
works:
$ qemu-system-x86_64 -name real-qemu -machine
pc-q35-3.0,accel=kvm,usb=off,vmport=off,dump-guest-core=off -display
none -monitor none -nographic