2024-07-26 03:09:31 +03:00
|
|
|
diff -Naur --no-dereference a/hw/ide/atapi.c b/hw/ide/atapi.c
|
2024-07-26 20:24:42 +03:00
|
|
|
--- a/hw/ide/atapi.c
|
|
|
|
+++ b/hw/ide/atapi.c
|
2024-07-26 03:09:31 +03:00
|
|
|
@@ -797,8 +797,8 @@
|
|
|
|
buf[5] = 0; /* reserved */
|
|
|
|
buf[6] = 0; /* reserved */
|
|
|
|
buf[7] = 0; /* reserved */
|
|
|
|
- padstr8(buf + 8, 8, "QEMU");
|
|
|
|
- padstr8(buf + 16, 16, "QEMU DVD-ROM");
|
|
|
|
+ padstr8(buf + 8, 8, "ASUS");
|
|
|
|
+ padstr8(buf + 16, 16, "ASUS DVD-ROM");
|
|
|
|
padstr8(buf + 32, 4, s->version);
|
|
|
|
idx = 36;
|
|
|
|
}
|
|
|
|
diff -Naur --no-dereference a/hw/ide/core.c b/hw/ide/core.c
|
2024-07-26 20:24:42 +03:00
|
|
|
--- a/hw/ide/core.c
|
|
|
|
+++ b/hw/ide/core.c
|
2024-07-26 03:09:31 +03:00
|
|
|
@@ -2627,20 +2627,20 @@
|
2024-07-26 20:45:10 +03:00
|
|
|
pstrcpy(s->drive_serial_str, sizeof(s->drive_serial_str), dev->serial);
|
2024-07-26 03:09:31 +03:00
|
|
|
} else {
|
|
|
|
snprintf(s->drive_serial_str, sizeof(s->drive_serial_str),
|
|
|
|
- "QM%05d", s->drive_serial);
|
|
|
|
+ "ASUS%05d", s->drive_serial);
|
|
|
|
}
|
2024-07-26 20:45:10 +03:00
|
|
|
if (dev->model) {
|
|
|
|
pstrcpy(s->drive_model_str, sizeof(s->drive_model_str), dev->model);
|
2024-07-26 03:09:31 +03:00
|
|
|
} else {
|
|
|
|
switch (kind) {
|
|
|
|
case IDE_CD:
|
|
|
|
- strcpy(s->drive_model_str, "QEMU DVD-ROM");
|
|
|
|
+ strcpy(s->drive_model_str, "ASUS DVD-ROM");
|
|
|
|
break;
|
|
|
|
case IDE_CFATA:
|
|
|
|
- strcpy(s->drive_model_str, "QEMU MICRODRIVE");
|
|
|
|
+ strcpy(s->drive_model_str, "ASUS MICRODRIVE");
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
- strcpy(s->drive_model_str, "QEMU HARDDISK");
|
|
|
|
+ strcpy(s->drive_model_str, "ASUS HARDDISK");
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|