From c278632df845a8e5b56f1771dae9921b2c6c6552 Mon Sep 17 00:00:00 2001 From: Gregory Lirent Date: Fri, 26 Jul 2024 20:24:42 +0300 Subject: [PATCH] Update antidetect qemu patch --- patches/qemu/9000-antidetect-block.patch | 8 +-- patches/qemu/9001-antidetect-chardev.patch | 8 +-- patches/qemu/9002-antidetect-contrib.patch | 4 +- patches/qemu/9003-antidetect-hw-acpi.patch | 8 +-- patches/qemu/9004-antidetect-hw-arm.patch | 8 +-- patches/qemu/9005-antidetect-hw-audio.patch | 4 +- patches/qemu/9006-antidetect-hw-char.patch | 4 +- patches/qemu/9007-antidetect-hw-display.patch | 4 +- patches/qemu/9008-antidetect-hw-i386.patch | 12 ++--- patches/qemu/9009-antidetect-hw-ide.patch | 8 +-- patches/qemu/9010-antidetect-hw-input.patch | 32 ++++++------ patches/qemu/9011-antidetect-hw-m68k.patch | 4 +- patches/qemu/9012-antidetect-hw-misc.patch | 4 +- patches/qemu/9013-antidetect-hw-nvme.patch | 4 +- patches/qemu/9014-antidetect-hw-nvram.patch | 4 +- patches/qemu/9015-antidetect-hw-pci.patch | 4 +- patches/qemu/9016-antidetect-hw-ppc.patch | 4 +- patches/qemu/9017-antidetect-hw-scsi.patch | 16 +++--- patches/qemu/9018-antidetect-hw-smbios.patch | 4 +- patches/qemu/9019-antidetect-hw-usb.patch | 52 +++++++++---------- patches/qemu/9020-antidetect-include.patch | 12 ++--- patches/qemu/9021-antidetect-migration.patch | 4 +- patches/qemu/9022-antidetect-pc-bios.patch | 8 +-- patches/qemu/9023-antidetect-roms.patch | 8 +-- patches/qemu/9024-antidetect-target.patch | 8 +-- 25 files changed, 118 insertions(+), 118 deletions(-) diff --git a/patches/qemu/9000-antidetect-block.patch b/patches/qemu/9000-antidetect-block.patch index 72e8d71..ecee800 100644 --- a/patches/qemu/9000-antidetect-block.patch +++ b/patches/qemu/9000-antidetect-block.patch @@ -1,6 +1,6 @@ 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 +--- a/block/vhdx.c ++++ b/block/vhdx.c @@ -2020,7 +2020,7 @@ /* The creator field is optional, but may be useful for @@ -11,8 +11,8 @@ diff -Naur --no-dereference a/block/vhdx.c b/block/vhdx.c 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 +--- a/block/vvfat.c ++++ b/block/vvfat.c @@ -1177,7 +1177,7 @@ } memcpy(s->volume_label, label, label_length); diff --git a/patches/qemu/9001-antidetect-chardev.patch b/patches/qemu/9001-antidetect-chardev.patch index 88cb9df..effb5c2 100644 --- a/patches/qemu/9001-antidetect-chardev.patch +++ b/patches/qemu/9001-antidetect-chardev.patch @@ -1,6 +1,6 @@ diff -Naur --no-dereference a/chardev/msmouse.c b/chardev/msmouse.c ---- a/chardev/msmouse.c 2023-07-04 11:03:21.523219224 +0000 -+++ b/chardev/msmouse.c 2023-07-04 11:39:20.297679935 +0000 +--- a/chardev/msmouse.c ++++ b/chardev/msmouse.c @@ -172,7 +172,7 @@ } @@ -11,8 +11,8 @@ diff -Naur --no-dereference a/chardev/msmouse.c b/chardev/msmouse.c .event = msmouse_input_event, .sync = msmouse_input_sync, diff -Naur --no-dereference a/chardev/wctablet.c b/chardev/wctablet.c ---- a/chardev/wctablet.c 2023-07-04 11:03:21.523219224 +0000 -+++ b/chardev/wctablet.c 2023-07-04 11:39:20.297679935 +0000 +--- a/chardev/wctablet.c ++++ b/chardev/wctablet.c @@ -179,7 +179,7 @@ } diff --git a/patches/qemu/9002-antidetect-contrib.patch b/patches/qemu/9002-antidetect-contrib.patch index e885dfe..ea97c48 100644 --- a/patches/qemu/9002-antidetect-contrib.patch +++ b/patches/qemu/9002-antidetect-contrib.patch @@ -1,6 +1,6 @@ diff -Naur --no-dereference a/contrib/vhost-user-gpu/vhost-user-gpu.c b/contrib/vhost-user-gpu/vhost-user-gpu.c ---- a/contrib/vhost-user-gpu/vhost-user-gpu.c 2023-07-04 11:03:21.527219227 +0000 -+++ b/contrib/vhost-user-gpu/vhost-user-gpu.c 2023-07-04 11:39:20.297679935 +0000 +--- a/contrib/vhost-user-gpu/vhost-user-gpu.c ++++ b/contrib/vhost-user-gpu/vhost-user-gpu.c @@ -1254,7 +1254,7 @@ QTAILQ_INIT(&g.reslist); QTAILQ_INIT(&g.fenceq); diff --git a/patches/qemu/9003-antidetect-hw-acpi.patch b/patches/qemu/9003-antidetect-hw-acpi.patch index caab517..a1c7f5d 100644 --- a/patches/qemu/9003-antidetect-hw-acpi.patch +++ b/patches/qemu/9003-antidetect-hw-acpi.patch @@ -1,6 +1,6 @@ diff -Naur --no-dereference a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c ---- a/hw/acpi/aml-build.c 2023-07-04 11:03:21.555219247 +0000 -+++ b/hw/acpi/aml-build.c 2023-07-04 11:39:20.297679935 +0000 +--- a/hw/acpi/aml-build.c ++++ b/hw/acpi/aml-build.c @@ -1724,11 +1724,11 @@ build_append_int_noprefix(array, 0, 4); /* Length */ build_append_int_noprefix(array, desc->rev, 1); /* Revision */ @@ -17,8 +17,8 @@ diff -Naur --no-dereference a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c } diff -Naur --no-dereference a/hw/acpi/vmgenid.c b/hw/acpi/vmgenid.c ---- a/hw/acpi/vmgenid.c 2023-07-04 12:01:31.057362700 +0000 -+++ b/hw/acpi/vmgenid.c 2023-07-20 17:00:52.308762303 +0000 +--- a/hw/acpi/vmgenid.c ++++ b/hw/acpi/vmgenid.c @@ -25,6 +25,8 @@ void vmgenid_build_acpi(VmGenIdState *vms, GArray *table_data, GArray *guid, BIOSLinker *linker, const char *oem_id) diff --git a/patches/qemu/9004-antidetect-hw-arm.patch b/patches/qemu/9004-antidetect-hw-arm.patch index a5934cd..130998d 100644 --- a/patches/qemu/9004-antidetect-hw-arm.patch +++ b/patches/qemu/9004-antidetect-hw-arm.patch @@ -1,6 +1,6 @@ diff -Naur --no-dereference a/hw/arm/nseries.c b/hw/arm/nseries.c ---- a/hw/arm/nseries.c 2023-07-04 11:03:21.559219251 +0000 -+++ b/hw/arm/nseries.c 2023-07-04 11:39:20.297679935 +0000 +--- a/hw/arm/nseries.c ++++ b/hw/arm/nseries.c @@ -849,7 +849,7 @@ memset(p, 0, 0x3000); @@ -34,8 +34,8 @@ diff -Naur --no-dereference a/hw/arm/nseries.c b/hw/arm/nseries.c stw_p(w++, 24); /* u16 len */ strcpy((void *) w, "nolo"); /* char component[12] */ diff -Naur --no-dereference a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c ---- a/hw/arm/sbsa-ref.c 2023-07-04 11:03:21.563219253 +0000 -+++ b/hw/arm/sbsa-ref.c 2023-07-04 11:39:20.297679935 +0000 +--- a/hw/arm/sbsa-ref.c ++++ b/hw/arm/sbsa-ref.c @@ -874,7 +874,7 @@ }; diff --git a/patches/qemu/9005-antidetect-hw-audio.patch b/patches/qemu/9005-antidetect-hw-audio.patch index ec2db18..16c00e1 100644 --- a/patches/qemu/9005-antidetect-hw-audio.patch +++ b/patches/qemu/9005-antidetect-hw-audio.patch @@ -1,6 +1,6 @@ diff -Naur --no-dereference a/hw/audio/hda-codec.c b/hw/audio/hda-codec.c ---- a/hw/audio/hda-codec.c 2023-07-04 11:03:21.567219257 +0000 -+++ b/hw/audio/hda-codec.c 2023-07-04 11:39:20.297679935 +0000 +--- a/hw/audio/hda-codec.c ++++ b/hw/audio/hda-codec.c @@ -118,7 +118,7 @@ /* some defines */ diff --git a/patches/qemu/9006-antidetect-hw-char.patch b/patches/qemu/9006-antidetect-hw-char.patch index a80d767..0162d7a 100644 --- a/patches/qemu/9006-antidetect-hw-char.patch +++ b/patches/qemu/9006-antidetect-hw-char.patch @@ -1,6 +1,6 @@ diff -Naur --no-dereference a/hw/char/escc.c b/hw/char/escc.c ---- a/hw/char/escc.c 2023-07-04 11:03:21.571219259 +0000 -+++ b/hw/char/escc.c 2023-07-04 11:39:20.297679935 +0000 +--- a/hw/char/escc.c ++++ b/hw/char/escc.c @@ -1037,7 +1037,7 @@ if (s->chn[0].type == escc_mouse) { diff --git a/patches/qemu/9007-antidetect-hw-display.patch b/patches/qemu/9007-antidetect-hw-display.patch index 70dc65c..2baf67c 100644 --- a/patches/qemu/9007-antidetect-hw-display.patch +++ b/patches/qemu/9007-antidetect-hw-display.patch @@ -1,6 +1,6 @@ diff -Naur --no-dereference a/hw/display/edid-generate.c b/hw/display/edid-generate.c ---- a/hw/display/edid-generate.c 2023-07-04 11:03:21.575219263 +0000 -+++ b/hw/display/edid-generate.c 2023-07-04 11:39:20.297679935 +0000 +--- a/hw/display/edid-generate.c ++++ b/hw/display/edid-generate.c @@ -394,10 +394,10 @@ /* =============== set defaults =============== */ diff --git a/patches/qemu/9008-antidetect-hw-i386.patch b/patches/qemu/9008-antidetect-hw-i386.patch index abe5014..9e6c8f5 100644 --- a/patches/qemu/9008-antidetect-hw-i386.patch +++ b/patches/qemu/9008-antidetect-hw-i386.patch @@ -1,6 +1,6 @@ diff -Naur --no-dereference a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c ---- a/hw/i386/acpi-build.c 2023-07-04 11:03:21.583219269 +0000 -+++ b/hw/i386/acpi-build.c 2023-07-20 16:54:22.568741489 +0000 +--- a/hw/i386/acpi-build.c ++++ b/hw/i386/acpi-build.c @@ -932,6 +932,7 @@ static void build_dbg_aml(Aml *table) @@ -27,8 +27,8 @@ diff -Naur --no-dereference a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c { Object *pci_host = acpi_get_i386_pci_host(); diff -Naur --no-dereference a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c ---- a/hw/i386/pc_piix.c 2023-07-04 11:03:21.587219272 +0000 -+++ b/hw/i386/pc_piix.c 2023-07-04 11:39:20.301679934 +0000 +--- a/hw/i386/pc_piix.c ++++ b/hw/i386/pc_piix.c @@ -496,7 +496,7 @@ pcmc->pci_root_uid = 0; pcmc->default_cpu_version = 1; @@ -40,8 +40,8 @@ diff -Naur --no-dereference a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c m->default_machine_opts = "firmware=bios-256k.bin"; m->default_display = "std"; diff -Naur --no-dereference a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c ---- a/hw/i386/pc_q35.c 2023-07-04 11:03:21.587219272 +0000 -+++ b/hw/i386/pc_q35.c 2023-07-04 11:39:20.301679934 +0000 +--- a/hw/i386/pc_q35.c ++++ b/hw/i386/pc_q35.c @@ -348,7 +348,7 @@ pcmc->default_cpu_version = 1; diff --git a/patches/qemu/9009-antidetect-hw-ide.patch b/patches/qemu/9009-antidetect-hw-ide.patch index 7c2f448..c1b9137 100644 --- a/patches/qemu/9009-antidetect-hw-ide.patch +++ b/patches/qemu/9009-antidetect-hw-ide.patch @@ -1,6 +1,6 @@ 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 +--- a/hw/ide/atapi.c ++++ b/hw/ide/atapi.c @@ -797,8 +797,8 @@ buf[5] = 0; /* reserved */ buf[6] = 0; /* reserved */ @@ -13,8 +13,8 @@ diff -Naur --no-dereference a/hw/ide/atapi.c b/hw/ide/atapi.c 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 +--- 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); } else { diff --git a/patches/qemu/9010-antidetect-hw-input.patch b/patches/qemu/9010-antidetect-hw-input.patch index 3f7cff5..5e72022 100644 --- a/patches/qemu/9010-antidetect-hw-input.patch +++ b/patches/qemu/9010-antidetect-hw-input.patch @@ -1,6 +1,6 @@ diff -Naur --no-dereference a/hw/input/adb-kbd.c b/hw/input/adb-kbd.c ---- a/hw/input/adb-kbd.c 2023-07-04 11:03:21.591219274 +0000 -+++ b/hw/input/adb-kbd.c 2023-07-04 11:39:20.301679934 +0000 +--- a/hw/input/adb-kbd.c ++++ b/hw/input/adb-kbd.c @@ -356,7 +356,7 @@ } @@ -11,8 +11,8 @@ diff -Naur --no-dereference a/hw/input/adb-kbd.c b/hw/input/adb-kbd.c .event = adb_keyboard_event, }; diff -Naur --no-dereference a/hw/input/adb-mouse.c b/hw/input/adb-mouse.c ---- a/hw/input/adb-mouse.c 2023-07-04 11:03:21.591219274 +0000 -+++ b/hw/input/adb-mouse.c 2023-07-04 11:39:20.301679934 +0000 +--- a/hw/input/adb-mouse.c ++++ b/hw/input/adb-mouse.c @@ -236,7 +236,7 @@ amc->parent_realize(dev, errp); @@ -23,8 +23,8 @@ diff -Naur --no-dereference a/hw/input/adb-mouse.c b/hw/input/adb-mouse.c static void adb_mouse_initfn(Object *obj) diff -Naur --no-dereference a/hw/input/ads7846.c b/hw/input/ads7846.c ---- a/hw/input/ads7846.c 2023-07-04 11:03:21.591219274 +0000 -+++ b/hw/input/ads7846.c 2023-07-04 11:39:20.301679934 +0000 +--- a/hw/input/ads7846.c ++++ b/hw/input/ads7846.c @@ -154,7 +154,7 @@ /* We want absolute coordinates */ @@ -35,8 +35,8 @@ diff -Naur --no-dereference a/hw/input/ads7846.c b/hw/input/ads7846.c ads7846_int_update(s); diff -Naur --no-dereference a/hw/input/hid.c b/hw/input/hid.c ---- a/hw/input/hid.c 2023-07-04 11:03:21.591219274 +0000 -+++ b/hw/input/hid.c 2023-07-04 11:39:20.301679934 +0000 +--- a/hw/input/hid.c ++++ b/hw/input/hid.c @@ -511,20 +511,20 @@ } @@ -62,8 +62,8 @@ diff -Naur --no-dereference a/hw/input/hid.c b/hw/input/hid.c .event = hid_pointer_event, .sync = hid_pointer_sync, diff -Naur --no-dereference a/hw/input/ps2.c b/hw/input/ps2.c ---- a/hw/input/ps2.c 2023-07-04 11:03:21.591219274 +0000 -+++ b/hw/input/ps2.c 2023-07-04 11:39:20.301679934 +0000 +--- a/hw/input/ps2.c ++++ b/hw/input/ps2.c @@ -1232,7 +1232,7 @@ }; @@ -83,8 +83,8 @@ diff -Naur --no-dereference a/hw/input/ps2.c b/hw/input/ps2.c .event = ps2_mouse_event, .sync = ps2_mouse_sync, diff -Naur --no-dereference a/hw/input/tsc2005.c b/hw/input/tsc2005.c ---- a/hw/input/tsc2005.c 2023-07-04 11:03:21.591219274 +0000 -+++ b/hw/input/tsc2005.c 2023-07-04 11:39:20.301679934 +0000 +--- a/hw/input/tsc2005.c ++++ b/hw/input/tsc2005.c @@ -510,7 +510,7 @@ tsc2005_reset(s); @@ -95,8 +95,8 @@ diff -Naur --no-dereference a/hw/input/tsc2005.c b/hw/input/tsc2005.c qemu_register_reset((void *) tsc2005_reset, s); vmstate_register(NULL, 0, &vmstate_tsc2005, s); diff -Naur --no-dereference a/hw/input/tsc210x.c b/hw/input/tsc210x.c ---- a/hw/input/tsc210x.c 2023-07-04 11:03:21.591219274 +0000 -+++ b/hw/input/tsc210x.c 2023-07-04 11:39:20.301679934 +0000 +--- a/hw/input/tsc210x.c ++++ b/hw/input/tsc210x.c @@ -1122,7 +1122,7 @@ s->model = 0x2102; s->name = "tsc2102" @@ -116,8 +116,8 @@ diff -Naur --no-dereference a/hw/input/tsc210x.c b/hw/input/tsc210x.c return &s->chip; } diff -Naur --no-dereference a/hw/input/virtio-input-hid.c b/hw/input/virtio-input-hid.c ---- a/hw/input/virtio-input-hid.c 2023-07-04 11:03:21.591219274 +0000 -+++ b/hw/input/virtio-input-hid.c 2023-07-04 11:39:20.301679934 +0000 +--- a/hw/input/virtio-input-hid.c ++++ b/hw/input/virtio-input-hid.c @@ -16,9 +16,9 @@ #include "standard-headers/linux/input.h" diff --git a/patches/qemu/9011-antidetect-hw-m68k.patch b/patches/qemu/9011-antidetect-hw-m68k.patch index a190f83..8e07ed0 100644 --- a/patches/qemu/9011-antidetect-hw-m68k.patch +++ b/patches/qemu/9011-antidetect-hw-m68k.patch @@ -1,6 +1,6 @@ diff -Naur --no-dereference a/hw/m68k/virt.c b/hw/m68k/virt.c ---- a/hw/m68k/virt.c 2023-07-04 11:03:21.599219280 +0000 -+++ b/hw/m68k/virt.c 2023-07-04 11:39:20.301679934 +0000 +--- a/hw/m68k/virt.c ++++ b/hw/m68k/virt.c @@ -312,7 +312,7 @@ static void virt_machine_class_init(ObjectClass *oc, void *data) { diff --git a/patches/qemu/9012-antidetect-hw-misc.patch b/patches/qemu/9012-antidetect-hw-misc.patch index bbdfa69..a7c7472 100644 --- a/patches/qemu/9012-antidetect-hw-misc.patch +++ b/patches/qemu/9012-antidetect-hw-misc.patch @@ -1,6 +1,6 @@ diff -Naur --no-dereference a/hw/misc/pvpanic-isa.c b/hw/misc/pvpanic-isa.c ---- a/hw/misc/pvpanic-isa.c 2023-07-04 11:03:21.607219286 +0000 -+++ b/hw/misc/pvpanic-isa.c 2023-07-04 11:39:20.301679934 +0000 +--- a/hw/misc/pvpanic-isa.c ++++ b/hw/misc/pvpanic-isa.c @@ -70,7 +70,7 @@ PVPanicISAState *s = PVPANIC_ISA_DEVICE(adev); Aml *dev = aml_device("PEVT"); diff --git a/patches/qemu/9013-antidetect-hw-nvme.patch b/patches/qemu/9013-antidetect-hw-nvme.patch index d057862..ef56b1f 100644 --- a/patches/qemu/9013-antidetect-hw-nvme.patch +++ b/patches/qemu/9013-antidetect-hw-nvme.patch @@ -1,6 +1,6 @@ diff -Naur --no-dereference a/hw/nvme/ctrl.c b/hw/nvme/ctrl.c ---- a/hw/nvme/ctrl.c 2023-07-04 11:03:21.615219292 +0000 -+++ b/hw/nvme/ctrl.c 2023-07-04 11:39:20.301679934 +0000 +--- a/hw/nvme/ctrl.c ++++ b/hw/nvme/ctrl.c @@ -8195,7 +8195,7 @@ id->vid = cpu_to_le16(pci_get_word(pci_conf + PCI_VENDOR_ID)); diff --git a/patches/qemu/9014-antidetect-hw-nvram.patch b/patches/qemu/9014-antidetect-hw-nvram.patch index 40d11a3..fbf12f2 100644 --- a/patches/qemu/9014-antidetect-hw-nvram.patch +++ b/patches/qemu/9014-antidetect-hw-nvram.patch @@ -1,6 +1,6 @@ diff -Naur --no-dereference a/hw/nvram/fw_cfg.c b/hw/nvram/fw_cfg.c ---- a/hw/nvram/fw_cfg.c 2023-07-04 11:03:21.615219292 +0000 -+++ b/hw/nvram/fw_cfg.c 2023-07-04 11:39:20.301679934 +0000 +--- a/hw/nvram/fw_cfg.c ++++ b/hw/nvram/fw_cfg.c @@ -57,7 +57,7 @@ #define FW_CFG_DMA_CTL_SELECT 0x08 #define FW_CFG_DMA_CTL_WRITE 0x10 diff --git a/patches/qemu/9015-antidetect-hw-pci.patch b/patches/qemu/9015-antidetect-hw-pci.patch index 18515e7..1f60d95 100644 --- a/patches/qemu/9015-antidetect-hw-pci.patch +++ b/patches/qemu/9015-antidetect-hw-pci.patch @@ -1,6 +1,6 @@ diff -Naur --no-dereference a/hw/pci-host/gpex.c b/hw/pci-host/gpex.c ---- a/hw/pci-host/gpex.c 2023-07-04 11:03:21.619219295 +0000 -+++ b/hw/pci-host/gpex.c 2023-07-04 11:39:20.301679934 +0000 +--- a/hw/pci-host/gpex.c ++++ b/hw/pci-host/gpex.c @@ -219,7 +219,7 @@ DeviceClass *dc = DEVICE_CLASS(klass); diff --git a/patches/qemu/9016-antidetect-hw-ppc.patch b/patches/qemu/9016-antidetect-hw-ppc.patch index 3aa67bc..6f7e651 100644 --- a/patches/qemu/9016-antidetect-hw-ppc.patch +++ b/patches/qemu/9016-antidetect-hw-ppc.patch @@ -1,6 +1,6 @@ diff -Naur --no-dereference a/hw/ppc/e500plat.c b/hw/ppc/e500plat.c ---- a/hw/ppc/e500plat.c 2023-07-04 11:03:21.623219298 +0000 -+++ b/hw/ppc/e500plat.c 2023-07-20 16:47:44.428720226 +0000 +--- a/hw/ppc/e500plat.c ++++ b/hw/ppc/e500plat.c @@ -22,8 +22,8 @@ static void e500plat_fixup_devtree(void *fdt) diff --git a/patches/qemu/9017-antidetect-hw-scsi.patch b/patches/qemu/9017-antidetect-hw-scsi.patch index ded3067..e1f2750 100644 --- a/patches/qemu/9017-antidetect-hw-scsi.patch +++ b/patches/qemu/9017-antidetect-hw-scsi.patch @@ -1,6 +1,6 @@ diff -Naur --no-dereference a/hw/scsi/mptconfig.c b/hw/scsi/mptconfig.c ---- a/hw/scsi/mptconfig.c 2023-07-04 11:03:21.635219307 +0000 -+++ b/hw/scsi/mptconfig.c 2023-07-04 11:39:20.301679934 +0000 +--- a/hw/scsi/mptconfig.c ++++ b/hw/scsi/mptconfig.c @@ -189,12 +189,12 @@ size_t mptsas_config_manufacturing_0(MPTSASState *s, uint8_t **data, int address) { @@ -20,8 +20,8 @@ diff -Naur --no-dereference a/hw/scsi/mptconfig.c b/hw/scsi/mptconfig.c static diff -Naur --no-dereference a/hw/scsi/scsi-bus.c b/hw/scsi/scsi-bus.c ---- a/hw/scsi/scsi-bus.c 2023-07-04 11:03:21.635219307 +0000 -+++ b/hw/scsi/scsi-bus.c 2023-07-04 11:39:20.301679934 +0000 +--- a/hw/scsi/scsi-bus.c ++++ b/hw/scsi/scsi-bus.c @@ -643,8 +643,8 @@ r->buf[3] = 2 | 0x10; /* HiSup, response data format */ r->buf[4] = r->len - 5; /* Additional Length = (Len - 1) - 4 */ @@ -34,8 +34,8 @@ diff -Naur --no-dereference a/hw/scsi/scsi-bus.c b/hw/scsi/scsi-bus.c } return true; diff -Naur --no-dereference a/hw/scsi/scsi-disk.c b/hw/scsi/scsi-disk.c ---- a/hw/scsi/scsi-disk.c 2023-07-04 11:03:21.635219307 +0000 -+++ b/hw/scsi/scsi-disk.c 2023-07-04 11:39:20.301679934 +0000 +--- a/hw/scsi/scsi-disk.c ++++ b/hw/scsi/scsi-disk.c @@ -2499,7 +2499,7 @@ s->version = g_strdup(qemu_hw_version()); } @@ -64,8 +64,8 @@ diff -Naur --no-dereference a/hw/scsi/scsi-disk.c b/hw/scsi/scsi-disk.c scsi_realize(&s->qdev, errp); aio_context_release(ctx); diff -Naur --no-dereference a/hw/scsi/spapr_vscsi.c b/hw/scsi/spapr_vscsi.c ---- a/hw/scsi/spapr_vscsi.c 2023-07-04 11:03:21.635219307 +0000 -+++ b/hw/scsi/spapr_vscsi.c 2023-07-04 11:39:20.301679934 +0000 +--- a/hw/scsi/spapr_vscsi.c ++++ b/hw/scsi/spapr_vscsi.c @@ -713,8 +713,8 @@ resp_data[3] = 0x02; /* Resp data format */ resp_data[4] = 36 - 5; /* Additional length */ diff --git a/patches/qemu/9018-antidetect-hw-smbios.patch b/patches/qemu/9018-antidetect-hw-smbios.patch index 8bd9367..fde7f6c 100644 --- a/patches/qemu/9018-antidetect-hw-smbios.patch +++ b/patches/qemu/9018-antidetect-hw-smbios.patch @@ -1,6 +1,6 @@ diff -Naur --no-dereference a/hw/smbios/smbios.c b/hw/smbios/smbios.c ---- a/hw/smbios/smbios.c 2023-07-04 11:03:21.639219310 +0000 -+++ b/hw/smbios/smbios.c 2023-07-05 14:25:47.896065410 +0000 +--- a/hw/smbios/smbios.c ++++ b/hw/smbios/smbios.c @@ -574,7 +574,7 @@ t->bios_characteristics = cpu_to_le64(0x08); /* Not supported */ diff --git a/patches/qemu/9019-antidetect-hw-usb.patch b/patches/qemu/9019-antidetect-hw-usb.patch index 074db12..4ca6ddc 100644 --- a/patches/qemu/9019-antidetect-hw-usb.patch +++ b/patches/qemu/9019-antidetect-hw-usb.patch @@ -1,6 +1,6 @@ diff -Naur --no-dereference a/hw/usb/dev-audio.c b/hw/usb/dev-audio.c ---- a/hw/usb/dev-audio.c 2023-07-04 11:03:21.643219313 +0000 -+++ b/hw/usb/dev-audio.c 2023-07-04 11:39:20.301679934 +0000 +--- a/hw/usb/dev-audio.c ++++ b/hw/usb/dev-audio.c @@ -73,8 +73,8 @@ }; @@ -22,8 +22,8 @@ diff -Naur --no-dereference a/hw/usb/dev-audio.c b/hw/usb/dev-audio.c k->handle_reset = usb_audio_handle_reset; k->handle_control = usb_audio_handle_control; diff -Naur --no-dereference a/hw/usb/dev-hid.c b/hw/usb/dev-hid.c ---- a/hw/usb/dev-hid.c 2023-07-04 11:03:21.643219313 +0000 -+++ b/hw/usb/dev-hid.c 2023-07-04 11:39:20.301679934 +0000 +--- a/hw/usb/dev-hid.c ++++ b/hw/usb/dev-hid.c @@ -63,10 +63,10 @@ }; @@ -67,8 +67,8 @@ diff -Naur --no-dereference a/hw/usb/dev-hid.c b/hw/usb/dev-hid.c device_class_set_props(dc, usb_keyboard_properties); set_bit(DEVICE_CATEGORY_INPUT, dc->categories); diff -Naur --no-dereference a/hw/usb/dev-hub.c b/hw/usb/dev-hub.c ---- a/hw/usb/dev-hub.c 2023-07-04 11:03:21.643219313 +0000 -+++ b/hw/usb/dev-hub.c 2023-07-04 11:39:20.301679934 +0000 +--- a/hw/usb/dev-hub.c ++++ b/hw/usb/dev-hub.c @@ -104,9 +104,9 @@ }; @@ -92,8 +92,8 @@ diff -Naur --no-dereference a/hw/usb/dev-hub.c b/hw/usb/dev-hub.c uc->find_device = usb_hub_find_device; uc->handle_reset = usb_hub_handle_reset; diff -Naur --no-dereference a/hw/usb/dev-mtp.c b/hw/usb/dev-mtp.c ---- a/hw/usb/dev-mtp.c 2023-07-04 11:03:21.643219313 +0000 -+++ b/hw/usb/dev-mtp.c 2023-07-04 11:39:20.301679934 +0000 +--- a/hw/usb/dev-mtp.c ++++ b/hw/usb/dev-mtp.c @@ -247,8 +247,8 @@ /* ----------------------------------------------------------------------- */ @@ -115,8 +115,8 @@ diff -Naur --no-dereference a/hw/usb/dev-mtp.c b/hw/usb/dev-mtp.c uc->cancel_packet = usb_mtp_cancel_packet; uc->handle_attach = usb_desc_attach; diff -Naur --no-dereference a/hw/usb/dev-network.c b/hw/usb/dev-network.c ---- a/hw/usb/dev-network.c 2023-07-04 11:03:21.643219313 +0000 -+++ b/hw/usb/dev-network.c 2023-07-04 11:39:20.305679934 +0000 +--- a/hw/usb/dev-network.c ++++ b/hw/usb/dev-network.c @@ -99,15 +99,15 @@ #define ETH_FRAME_LEN 1514 /* Max. octets in frame sans FCS */ @@ -170,8 +170,8 @@ diff -Naur --no-dereference a/hw/usb/dev-network.c b/hw/usb/dev-network.c uc->handle_reset = usb_net_handle_reset; uc->handle_control = usb_net_handle_control; diff -Naur --no-dereference a/hw/usb/dev-serial.c b/hw/usb/dev-serial.c ---- a/hw/usb/dev-serial.c 2023-07-04 11:03:21.643219313 +0000 -+++ b/hw/usb/dev-serial.c 2023-07-04 11:39:20.305679934 +0000 +--- a/hw/usb/dev-serial.c ++++ b/hw/usb/dev-serial.c @@ -119,9 +119,9 @@ }; @@ -204,8 +204,8 @@ diff -Naur --no-dereference a/hw/usb/dev-serial.c b/hw/usb/dev-serial.c device_class_set_props(dc, braille_properties); } diff -Naur --no-dereference a/hw/usb/dev-smartcard-reader.c b/hw/usb/dev-smartcard-reader.c ---- a/hw/usb/dev-smartcard-reader.c 2023-07-04 11:03:21.643219313 +0000 -+++ b/hw/usb/dev-smartcard-reader.c 2023-07-04 11:39:20.305679934 +0000 +--- a/hw/usb/dev-smartcard-reader.c ++++ b/hw/usb/dev-smartcard-reader.c @@ -80,8 +80,8 @@ #define CCID_CONTROL_GET_CLOCK_FREQUENCIES 0x2 #define CCID_CONTROL_GET_DATA_RATES 0x3 @@ -238,8 +238,8 @@ diff -Naur --no-dereference a/hw/usb/dev-smartcard-reader.c b/hw/usb/dev-smartca uc->handle_reset = ccid_handle_reset; uc->handle_control = ccid_handle_control; diff -Naur --no-dereference a/hw/usb/dev-storage.c b/hw/usb/dev-storage.c ---- a/hw/usb/dev-storage.c 2023-07-04 11:03:21.647219316 +0000 -+++ b/hw/usb/dev-storage.c 2023-07-04 11:39:20.305679934 +0000 +--- a/hw/usb/dev-storage.c ++++ b/hw/usb/dev-storage.c @@ -47,8 +47,8 @@ }; @@ -261,8 +261,8 @@ diff -Naur --no-dereference a/hw/usb/dev-storage.c b/hw/usb/dev-storage.c uc->cancel_packet = usb_msd_cancel_io; uc->handle_attach = usb_desc_attach; diff -Naur --no-dereference a/hw/usb/dev-uas.c b/hw/usb/dev-uas.c ---- a/hw/usb/dev-uas.c 2023-07-04 11:03:21.647219316 +0000 -+++ b/hw/usb/dev-uas.c 2023-07-04 11:39:20.305679934 +0000 +--- a/hw/usb/dev-uas.c ++++ b/hw/usb/dev-uas.c @@ -171,9 +171,9 @@ }; @@ -276,8 +276,8 @@ diff -Naur --no-dereference a/hw/usb/dev-uas.c b/hw/usb/dev-uas.c [STR_CONFIG_SUPER] = "Super speed config (usb 3.0)", }; diff -Naur --no-dereference a/hw/usb/dev-wacom.c b/hw/usb/dev-wacom.c ---- a/hw/usb/dev-wacom.c 2023-07-04 11:03:21.647219316 +0000 -+++ b/hw/usb/dev-wacom.c 2023-07-04 11:39:20.305679934 +0000 +--- a/hw/usb/dev-wacom.c ++++ b/hw/usb/dev-wacom.c @@ -64,7 +64,7 @@ }; @@ -324,8 +324,8 @@ diff -Naur --no-dereference a/hw/usb/dev-wacom.c b/hw/usb/dev-wacom.c } diff -Naur --no-dereference a/hw/usb/u2f-emulated.c b/hw/usb/u2f-emulated.c ---- a/hw/usb/u2f-emulated.c 2023-07-04 11:03:21.647219316 +0000 -+++ b/hw/usb/u2f-emulated.c 2023-07-04 11:39:20.305679934 +0000 +--- a/hw/usb/u2f-emulated.c ++++ b/hw/usb/u2f-emulated.c @@ -386,7 +386,7 @@ kc->realize = u2f_emulated_realize; kc->unrealize = u2f_emulated_unrealize; @@ -336,8 +336,8 @@ diff -Naur --no-dereference a/hw/usb/u2f-emulated.c b/hw/usb/u2f-emulated.c } diff -Naur --no-dereference a/hw/usb/u2f-passthru.c b/hw/usb/u2f-passthru.c ---- a/hw/usb/u2f-passthru.c 2023-07-04 11:03:21.647219316 +0000 -+++ b/hw/usb/u2f-passthru.c 2023-07-04 11:39:20.305679934 +0000 +--- a/hw/usb/u2f-passthru.c ++++ b/hw/usb/u2f-passthru.c @@ -531,7 +531,7 @@ kc->realize = u2f_passthru_realize; kc->unrealize = u2f_passthru_unrealize; @@ -348,8 +348,8 @@ diff -Naur --no-dereference a/hw/usb/u2f-passthru.c b/hw/usb/u2f-passthru.c device_class_set_props(dc, u2f_passthru_properties); set_bit(DEVICE_CATEGORY_MISC, dc->categories); diff -Naur --no-dereference a/hw/usb/u2f.c b/hw/usb/u2f.c ---- a/hw/usb/u2f.c 2023-07-04 11:03:21.647219316 +0000 -+++ b/hw/usb/u2f.c 2023-07-04 11:39:20.305679934 +0000 +--- a/hw/usb/u2f.c ++++ b/hw/usb/u2f.c @@ -46,7 +46,7 @@ }; diff --git a/patches/qemu/9020-antidetect-include.patch b/patches/qemu/9020-antidetect-include.patch index 0ecd52f..cbccc3a 100644 --- a/patches/qemu/9020-antidetect-include.patch +++ b/patches/qemu/9020-antidetect-include.patch @@ -1,6 +1,6 @@ diff -Naur --no-dereference a/include/hw/acpi/aml-build.h b/include/hw/acpi/aml-build.h ---- a/include/hw/acpi/aml-build.h 2023-07-04 11:03:21.663219327 +0000 -+++ b/include/hw/acpi/aml-build.h 2023-07-04 11:39:20.305679934 +0000 +--- a/include/hw/acpi/aml-build.h ++++ b/include/hw/acpi/aml-build.h @@ -4,8 +4,8 @@ #include "hw/acpi/acpi-defs.h" #include "hw/acpi/bios-linker-loader.h" @@ -13,8 +13,8 @@ diff -Naur --no-dereference a/include/hw/acpi/aml-build.h b/include/hw/acpi/aml- #define ACPI_BUILD_TABLE_FILE "etc/acpi/tables" #define ACPI_BUILD_RSDP_FILE "etc/acpi/rsdp" diff -Naur --no-dereference a/include/hw/pci/pci.h b/include/hw/pci/pci.h ---- a/include/hw/pci/pci.h 2023-07-04 11:03:21.671219333 +0000 -+++ b/include/hw/pci/pci.h 2023-07-20 16:39:20.332693304 +0000 +--- a/include/hw/pci/pci.h ++++ b/include/hw/pci/pci.h @@ -72,19 +72,19 @@ #define PCI_DEVICE_ID_INTEL_82801IR 0x2922 @@ -56,8 +56,8 @@ diff -Naur --no-dereference a/include/hw/acpi/aml-build.h b/include/hw/acpi/aml- #define PCI_DEVICE_ID_REDHAT_SERIAL 0x0002 #define PCI_DEVICE_ID_REDHAT_SERIAL2 0x0003 diff -Naur --no-dereference a/include/standard-headers/linux/qemu_fw_cfg.h b/include/standard-headers/linux/qemu_fw_cfg.h ---- a/include/standard-headers/linux/qemu_fw_cfg.h 2023-07-04 11:03:21.691219348 +0000 -+++ b/include/standard-headers/linux/qemu_fw_cfg.h 2023-07-04 11:39:20.305679934 +0000 +--- a/include/standard-headers/linux/qemu_fw_cfg.h ++++ b/include/standard-headers/linux/qemu_fw_cfg.h @@ -4,7 +4,7 @@ #include "standard-headers/linux/types.h" diff --git a/patches/qemu/9021-antidetect-migration.patch b/patches/qemu/9021-antidetect-migration.patch index 725b483..3589646 100644 --- a/patches/qemu/9021-antidetect-migration.patch +++ b/patches/qemu/9021-antidetect-migration.patch @@ -1,6 +1,6 @@ diff -Naur --no-dereference a/migration/rdma.c b/migration/rdma.c ---- a/migration/rdma.c 2023-07-04 11:03:21.715219366 +0000 -+++ b/migration/rdma.c 2023-07-04 11:39:20.305679934 +0000 +--- a/migration/rdma.c ++++ b/migration/rdma.c @@ -220,7 +220,7 @@ [RDMA_CONTROL_NONE] = "NONE", [RDMA_CONTROL_ERROR] = "ERROR", diff --git a/patches/qemu/9022-antidetect-pc-bios.patch b/patches/qemu/9022-antidetect-pc-bios.patch index 0be3e1f..048b35e 100644 --- a/patches/qemu/9022-antidetect-pc-bios.patch +++ b/patches/qemu/9022-antidetect-pc-bios.patch @@ -1,6 +1,6 @@ diff -Naur --no-dereference a/pc-bios/optionrom/optionrom.h b/pc-bios/optionrom/optionrom.h ---- a/pc-bios/optionrom/optionrom.h 2023-07-04 11:03:21.747219389 +0000 -+++ b/pc-bios/optionrom/optionrom.h 2023-07-04 11:39:20.305679934 +0000 +--- a/pc-bios/optionrom/optionrom.h ++++ b/pc-bios/optionrom/optionrom.h @@ -43,7 +43,7 @@ #define FW_CFG_DMA_CTL_SELECT 0x08 #define FW_CFG_DMA_CTL_WRITE 0x10 @@ -11,8 +11,8 @@ diff -Naur --no-dereference a/pc-bios/optionrom/optionrom.h b/pc-bios/optionrom/ #define BIOS_CFG_DMA_ADDR_HIGH 0x514 #define BIOS_CFG_DMA_ADDR_LOW 0x518 diff -Naur --no-dereference a/pc-bios/s390-ccw/virtio-scsi.h b/pc-bios/s390-ccw/virtio-scsi.h ---- a/pc-bios/s390-ccw/virtio-scsi.h 2023-07-04 11:03:21.751219393 +0000 -+++ b/pc-bios/s390-ccw/virtio-scsi.h 2023-07-04 11:39:20.305679934 +0000 +--- a/pc-bios/s390-ccw/virtio-scsi.h ++++ b/pc-bios/s390-ccw/virtio-scsi.h @@ -25,7 +25,7 @@ #define VIRTIO_SCSI_S_OK 0x00 #define VIRTIO_SCSI_S_BAD_TARGET 0x03 diff --git a/patches/qemu/9023-antidetect-roms.patch b/patches/qemu/9023-antidetect-roms.patch index 9d88bcd..1e194c8 100644 --- a/patches/qemu/9023-antidetect-roms.patch +++ b/patches/qemu/9023-antidetect-roms.patch @@ -1,6 +1,6 @@ diff -Naur --no-dereference a/roms/seabios/src/fw/ssdt-misc.dsl b/roms/seabios/src/fw/ssdt-misc.dsl ---- a/roms/seabios/src/fw/ssdt-misc.dsl 2023-07-04 11:06:28.314507141 +0000 -+++ b/roms/seabios/src/fw/ssdt-misc.dsl 2023-07-04 11:39:20.305679934 +0000 +--- a/roms/seabios/src/fw/ssdt-misc.dsl ++++ b/roms/seabios/src/fw/ssdt-misc.dsl @@ -61,7 +61,7 @@ Scope(\_SB.PCI0.ISA) { @@ -11,8 +11,8 @@ diff -Naur --no-dereference a/roms/seabios/src/fw/ssdt-misc.dsl b/roms/seabios/s ACPI_EXTRACT_NAME_WORD_CONST ssdt_isa_pest Name(PEST, 0xFFFF) diff -Naur --no-dereference a/roms/seabios-hppa/src/fw/ssdt-misc.dsl b/roms/seabios-hppa/src/fw/ssdt-misc.dsl ---- a/roms/seabios-hppa/src/fw/ssdt-misc.dsl 2023-07-04 11:06:28.514506360 +0000 -+++ b/roms/seabios-hppa/src/fw/ssdt-misc.dsl 2023-07-04 11:39:20.305679934 +0000 +--- a/roms/seabios-hppa/src/fw/ssdt-misc.dsl ++++ b/roms/seabios-hppa/src/fw/ssdt-misc.dsl @@ -61,7 +61,7 @@ Scope(\_SB.PCI0.ISA) { diff --git a/patches/qemu/9024-antidetect-target.patch b/patches/qemu/9024-antidetect-target.patch index 10a7291..25f0b1f 100644 --- a/patches/qemu/9024-antidetect-target.patch +++ b/patches/qemu/9024-antidetect-target.patch @@ -1,6 +1,6 @@ diff -Naur --no-dereference a/target/i386/kvm/kvm.c b/target/i386/kvm/kvm.c ---- a/target/i386/kvm/kvm.c 2023-07-04 11:03:21.815219440 +0000 -+++ b/target/i386/kvm/kvm.c 2023-07-04 11:39:37.561677444 +0000 +--- a/target/i386/kvm/kvm.c ++++ b/target/i386/kvm/kvm.c @@ -1862,7 +1862,7 @@ abort(); #endif @@ -11,8 +11,8 @@ diff -Naur --no-dereference a/target/i386/kvm/kvm.c b/target/i386/kvm/kvm.c c->function = KVM_CPUID_SIGNATURE | kvm_base; c->eax = KVM_CPUID_FEATURES | kvm_base; diff -Naur --no-dereference a/target/s390x/tcg/misc_helper.c b/target/s390x/tcg/misc_helper.c ---- a/target/s390x/tcg/misc_helper.c 2023-07-04 11:03:21.847219463 +0000 -+++ b/target/s390x/tcg/misc_helper.c 2023-07-04 11:39:20.305679934 +0000 +--- a/target/s390x/tcg/misc_helper.c ++++ b/target/s390x/tcg/misc_helper.c @@ -330,13 +330,13 @@ snprintf(type, ARRAY_SIZE(type), "%X", cpu->model->def->type); ebcdic_put(sysib.sysib_111.type, type, 4);