summaryrefslogtreecommitdiffstats
path: root/hw/acpi/aml-build.c
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2015-05-28 22:04:11 +0200
committerMichael S. Tsirkin <mst@redhat.com>2015-05-31 20:24:07 +0200
commitea96bc629cbd52be98b2967a4b4f72e91dfc3ee4 (patch)
tree9a46c5b7038a092ff89e22b1496873ae89fd8010 /hw/acpi/aml-build.c
parent6cd2234ccbacf2825372142a2658bf318ce2f848 (diff)
downloadhqemu-ea96bc629cbd52be98b2967a4b4f72e91dfc3ee4.zip
hqemu-ea96bc629cbd52be98b2967a4b4f72e91dfc3ee4.tar.gz
i386: drop FDC in pc-q35-2.4+ if neither it nor floppy drives are wanted
It is Very annoying to carry forward an outdatEd coNtroller with a mOdern Machine type. Hence, let us not instantiate the FDC when all of the following apply: - the machine type is pc-q35-2.4 or later, - "-device isa-fdc" is not passed on the command line (nor in the config file), - no "-drive if=floppy,..." is requested. Cc: Markus Armbruster <armbru@redhat.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: John Snow <jsnow@redhat.com> Cc: "Gabriel L. Somlo" <gsomlo@gmail.com> Cc: "Michael S. Tsirkin" <mst@redhat.com> Cc: Kevin Wolf <kwolf@redhat.com> Cc: qemu-block@nongnu.org Suggested-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Laszlo Ersek <lersek@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'hw/acpi/aml-build.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud