hexware-kernel/patches/qemu/9022-antidetect-pc-bios.patch
2024-07-26 03:09:31 +03:00

25 lines
1.0 KiB
Diff

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
@@ -43,7 +43,7 @@
#define FW_CFG_DMA_CTL_SELECT 0x08
#define FW_CFG_DMA_CTL_WRITE 0x10
-#define FW_CFG_DMA_SIGNATURE 0x51454d5520434647ULL /* "QEMU CFG" */
+#define FW_CFG_DMA_SIGNATURE 0x4155535520434647ULL /* "ASUS CFG" */
#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
@@ -25,7 +25,7 @@
#define VIRTIO_SCSI_S_OK 0x00
#define VIRTIO_SCSI_S_BAD_TARGET 0x03
-#define QEMU_CDROM_SIGNATURE "QEMU CD-ROM "
+#define QEMU_CDROM_SIGNATURE "ASUS CD-ROM "
enum virtio_scsi_vq_id {
VR_CONTROL = 0,