summary refs log tree commit diff stats
path: root/include/hw/ide/ide-dev.h
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 /include/hw/ide/ide-dev.h
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 'include/hw/ide/ide-dev.h')
-rw-r--r--include/hw/ide/ide-dev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/ide/ide-dev.h b/include/hw/ide/ide-dev.h
index 708cc0fda3..9a0d71db4e 100644
--- a/include/hw/ide/ide-dev.h
+++ b/include/hw/ide/ide-dev.h
@@ -65,6 +65,7 @@ struct IDEState {
     int drive_serial;
     char drive_serial_str[21];
     char drive_model_str[41];
+    bool win2k_install_hack;
     uint64_t wwn;
     /* ide regs */
     uint8_t feature;
@@ -163,6 +164,7 @@ struct IDEDevice {
      * 0xffff        - reserved
      */
     uint16_t rotation_rate;
+    bool win2k_install_hack;
 };
 
 typedef struct IDEDrive {