vl, pc: turn -no-fd-bootchk into a machine property
commit84e945aad2d0cd950996a73705b4467e30ddbfa2
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 Feb 2024 09:56:56 +0000 (13 10:56 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Feb 2024 23:23:36 +0000 (28 00:23 +0100)
treeaff90322df81e71edec7c0273e84b3c725db6662
parent158a054c4d1a40179f5e83cd7e1cfe65de457b92
vl, pc: turn -no-fd-bootchk into a machine property

Add a fd-bootchk property to PC machine types, so that -no-fd-bootchk
returns an error if the machine does not support booting from floppies
and checking for boot signatures therein.

Suggested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/i386/pc.c
include/hw/i386/pc.h
qemu-options.hx
system/globals.c
system/vl.c