summary refs log tree commit diff stats
path: root/hw/ide/ide-dev.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-02-20 17:09:30 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2024-02-28 00:23:39 +0100
commitd13f40357b307e49a7983bd52d4ec35003b7ddc0 (patch)
treeba75f17e3f1d5a1c293ae6d616fb381cdcd9c46b /hw/ide/ide-dev.c
parentdcaff46101c1f3abd97bbc5ba2f6c904def4e3b3 (diff)
downloadfocaccia-qemu-d13f40357b307e49a7983bd52d4ec35003b7ddc0.tar.gz
focaccia-qemu-d13f40357b307e49a7983bd52d4ec35003b7ddc0.zip
ide, vl: turn -win2k-hack into a property on IDE devices
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/ide/ide-dev.c')
-rw-r--r--hw/ide/ide-dev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ide/ide-dev.c b/hw/ide/ide-dev.c
index 722c4e78ca..03f7967798 100644
--- a/hw/ide/ide-dev.c
+++ b/hw/ide/ide-dev.c
@@ -31,6 +31,7 @@
 
 static Property ide_props[] = {
     DEFINE_PROP_UINT32("unit", IDEDevice, unit, -1),
+    DEFINE_PROP_BOOL("win2k-install-hack", IDEDevice, win2k_install_hack, false),
     DEFINE_PROP_END_OF_LIST(),
 };