Hi, Continued to look at virtio-1.0. Added flags to turn off legacy/modern mode for virtio devices.
Figured notification seems to not be adapted to virtio 1.0 yet: Apply this patchset, boot with -device virtio-net-pci,disable-legacy=on, watch qemu blow up in virtio_pci_set_host_notifier_internal, because it uses uninitialited proxy->bar without checking. Looked closer, seems the virtio 1.0 notification memory region isn't wired up yet ... Gerd Hoffmann (3): virtio-pci: add flags to enable/disable legacy/modern virtio-pci: use bar0 for non-transitional devices virtio-pci: make QEMU_VIRTIO_PCI_QUEUE_MEM_MULT smaller hw/virtio/virtio-pci.c | 60 ++++++++++++++++++++++++++++++++++++-------------- hw/virtio/virtio-pci.h | 6 +++++ 2 files changed, 49 insertions(+), 17 deletions(-) -- 1.8.3.1