mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
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>
This commit is contained in:
parent
dcaff46101
commit
d13f40357b
7 changed files with 8 additions and 5 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue