]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: domain: Fix machine type version check for 'isa-fdc' usage
authorPeter Krempa <pkrempa@redhat.com>
Thu, 9 Aug 2018 10:35:41 +0000 (12:35 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 9 Aug 2018 15:02:00 +0000 (17:02 +0200)
commit17dff3584855e9469bd14925fe655ff2e930ab0f
tree1a83918eb9738dbeaf960da79f438833f75710cf
parentb8936d265518b07f1b63cb16bce38247fe5ca135
qemu: domain: Fix machine type version check for 'isa-fdc' usage

Starting from pc-q35-2.4 the floppy controller is not enabled by
default. Fix the version check so that it does not match 2.11 as being
2.1.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_domain.c
tests/qemuxml2argvdata/disk-floppy-q35-2_11.x86_64-latest.args