Update antidetect qemu patch

This commit is contained in:
Gregory Lirent 2024-07-26 20:45:10 +03:00
parent 9d989ede03
commit d4ffce104b
Signed by: lirent
GPG Key ID: F616BE337EFFEE77

View File

@ -16,14 +16,14 @@ diff -Naur --no-dereference a/hw/ide/core.c b/hw/ide/core.c
--- a/hw/ide/core.c
+++ b/hw/ide/core.c
@@ -2627,20 +2627,20 @@
pstrcpy(s->drive_serial_str, sizeof(s->drive_serial_str), serial);
pstrcpy(s->drive_serial_str, sizeof(s->drive_serial_str), dev->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);
if (dev->model) {
pstrcpy(s->drive_model_str, sizeof(s->drive_model_str), dev->model);
} else {
switch (kind) {
case IDE_CD: