hexware-kernel/patches/qemu/9000-antidetect-block.patch
2024-07-26 03:09:31 +03:00

25 lines
1009 B
Diff

diff -Naur --no-dereference a/block/vhdx.c b/block/vhdx.c
--- a/block/vhdx.c 2023-07-04 11:03:21.519219222 +0000
+++ b/block/vhdx.c 2023-07-04 11:39:20.297679935 +0000
@@ -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 2023-07-04 11:03:21.519219222 +0000
+++ b/block/vvfat.c 2023-07-04 11:39:20.297679935 +0000
@@ -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) {