hexware-kernel/patches/qemu/9022-antidetect-pc-bios.patch

25 lines
914 B
Diff
Raw Normal View History

2024-07-26 03:09:31 +03:00
diff -Naur --no-dereference a/pc-bios/optionrom/optionrom.h b/pc-bios/optionrom/optionrom.h
2024-07-26 20:24:42 +03:00
--- a/pc-bios/optionrom/optionrom.h
+++ b/pc-bios/optionrom/optionrom.h
2024-07-26 03:09:31 +03:00
@@ -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
2024-07-26 20:24:42 +03:00
--- a/pc-bios/s390-ccw/virtio-scsi.h
+++ b/pc-bios/s390-ccw/virtio-scsi.h
2024-07-26 03:09:31 +03:00
@@ -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,