Re: [Bug 1915509] Re: QEMU 1:4.2-3ubuntu6.12 : Unable to start SEV enabled VM using virtio driver

2021-03-08 Thread Christian Ehrhardt 
> -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

[Bug 1915509] Re: QEMU 1:4.2-3ubuntu6.12 : Unable to start SEV enabled VM using virtio driver

2021-03-03 Thread Louis Bouchard
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

[Bug 1915509] Re: QEMU 1:4.2-3ubuntu6.12 : Unable to start SEV enabled VM using virtio driver

2021-02-15 Thread Christian Ehrhardt 
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