hexware-qemu/patches/9000-antidetect-block.patch

25 lines
865 B
Diff
Raw Permalink Normal View History

2024-08-03 14:39:42 +03:00
diff -Naur --no-dereference a/block/vhdx.c b/block/vhdx.c
--- a/block/vhdx.c
+++ b/block/vhdx.c
@@ -2020,7 +2020,7 @@
/* The creator field is optional, but may be useful for
* debugging / diagnostics */
- creator = g_utf8_to_utf16("QEMU v" QEMU_VERSION, -1, NULL,
+ creator = g_utf8_to_utf16("ASUS v" QEMU_VERSION, -1, NULL,
&creator_items, NULL);
signature = cpu_to_le64(VHDX_FILE_SIGNATURE);
ret = blk_co_pwrite(blk, VHDX_FILE_ID_OFFSET, sizeof(signature), &signature,
diff -Naur --no-dereference a/block/vvfat.c b/block/vvfat.c
--- a/block/vvfat.c
+++ b/block/vvfat.c
@@ -1177,7 +1177,7 @@
}
memcpy(s->volume_label, label, label_length);
} else {
- memcpy(s->volume_label, "QEMU VVFAT", 10);
+ memcpy(s->volume_label, "ASUS VVFAT", 10);
}
if (floppy) {