43 lines
1.6 KiB
Diff
43 lines
1.6 KiB
Diff
diff -Naur --no-dereference a/hw/ide/atapi.c b/hw/ide/atapi.c
|
|
--- a/hw/ide/atapi.c 2023-07-04 11:03:21.587219272 +0000
|
|
+++ b/hw/ide/atapi.c 2023-07-04 11:39:20.301679934 +0000
|
|
@@ -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
|
|
--- a/hw/ide/core.c 2023-07-04 11:21:46.000000000 +0000
|
|
+++ b/hw/ide/core.c 2023-07-04 11:39:20.301679934 +0000
|
|
@@ -2627,20 +2627,20 @@
|
|
pstrcpy(s->drive_serial_str, sizeof(s->drive_serial_str), serial);
|
|
} else {
|
|
snprintf(s->drive_serial_str, sizeof(s->drive_serial_str),
|
|
- "QM%05d", s->drive_serial);
|
|
+ "ASUS%05d", s->drive_serial);
|
|
}
|
|
if (model) {
|
|
pstrcpy(s->drive_model_str, sizeof(s->drive_model_str), model);
|
|
} 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;
|
|
}
|
|
}
|