aboutsummaryrefslogtreecommitdiff
path: root/hw/misc
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2019-01-10 16:04:58 -0200
committerMichael S. Tsirkin <mst@redhat.com>2019-01-17 21:10:57 -0500
commit53921bfdce3f8fffcc22338633855247fb7b7a74 (patch)
tree9d9fb23a4e7e753e7b17d1959c7cec710654e168 /hw/misc
parentd7741743f4f3d2683d1bb6938f88dc0167c21afa (diff)
downloadqemu-53921bfdce3f8fffcc22338633855247fb7b7a74.zip
qemu-53921bfdce3f8fffcc22338633855247fb7b7a74.tar.gz
qemu-53921bfdce3f8fffcc22338633855247fb7b7a74.tar.bz2
virtio: Make disable-legacy/disable-modern compat properties optional
The disable-legacy and disable-modern properties apply only to some virtio-pci devices. Make those properties optional. This fixes the crash introduced by commit f6e501a28ef9 ("virtio: Provide version-specific variants of virtio PCI devices"): $ qemu-system-x86_64 -machine pc-i440fx-2.6 \ -device virtio-net-pci-non-transitional Unexpected error in object_property_find() at qom/object.c:1092: qemu-system-x86_64: -device virtio-net-pci-non-transitional: can't apply \ global virtio-pci.disable-modern=on: Property '.disable-modern' not found Aborted (core dumped) Reported-by: Thomas Huth <thuth@redhat.com> Fixes: f6e501a28ef9 ("virtio: Provide version-specific variants of virtio PCI devices") Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/misc')
0 files changed, 0 insertions, 0 deletions