aboutsummaryrefslogtreecommitdiff
path: root/include
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
parentdcaff46101c1f3abd97bbc5ba2f6c904def4e3b3 (diff)
downloadqemu-d13f40357b307e49a7983bd52d4ec35003b7ddc0.zip
qemu-d13f40357b307e49a7983bd52d4ec35003b7ddc0.tar.gz
qemu-d13f40357b307e49a7983bd52d4ec35003b7ddc0.tar.bz2
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')
-rw-r--r--include/hw/ide/ide-dev.h2
-rw-r--r--include/sysemu/sysemu.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/ide/ide-dev.h b/include/hw/ide/ide-dev.h
index 708cc0f..9a0d71d 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 {
diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
index 73a3794..eb1dc1e 100644
--- a/include/sysemu/sysemu.h
+++ b/include/sysemu/sysemu.h
@@ -41,7 +41,6 @@ extern int graphic_height;
extern int graphic_depth;
extern int display_opengl;
extern const char *keyboard_layout;
-extern int win2k_install_hack;
extern int graphic_rotate;
extern int old_param;
extern uint8_t *boot_splash_filedata;