hexware-kernel/patches/qemu/9008-antidetect-hw-i386.patch

53 lines
1.5 KiB
Diff

diff -Naur --no-dereference a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
--- a/hw/i386/acpi-build.c
+++ b/hw/i386/acpi-build.c
@@ -932,6 +932,7 @@
static void build_dbg_aml(Aml *table)
{
+ return;
Aml *field;
Aml *method;
Aml *while_ctx;
@@ -1758,13 +1759,13 @@
aml_append(scope, aml_name_decl("_S5", pkg));
aml_append(dsdt, scope);
/* create fw_cfg node, unconditionally */
{
- scope = aml_scope("\\_SB.PCI0");
- fw_cfg_add_acpi_dsdt(scope, x86ms->fw_cfg);
- aml_append(dsdt, scope);
+ // scope = aml_scope("\\_SB.PCI0");
+ // fw_cfg_add_acpi_dsdt(scope, x86ms->fw_cfg);
+ // aml_append(dsdt, scope);
}
sb_scope = aml_scope("\\_SB");
{
Object *pci_host = acpi_get_i386_pci_host();
diff -Naur --no-dereference a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
--- a/hw/i386/pc_q35.c
+++ b/hw/i386/pc_q35.c
@@ -348,7 +348,7 @@
pcmc->default_cpu_version = 1;
- m->family = "pc_q35";
- m->desc = "Standard PC (Q35 + ICH9, 2009)";
+ m->family = "ASUS";
+ m->desc = "M4A88TD-M";
m->units_per_default_bus = 1;
m->default_machine_opts = "firmware=bios-256k.bin";
m->default_display = "std";
diff -Naur --no-dereference a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -498,5 +498,5 @@
- m->family = "pc_piix";
- m->desc = "Standard PC (i440FX + PIIX, 1996)";
+ m->family = "ASUS";
+ m->desc = "M4A88TD-M";
m->default_machine_opts = "firmware=bios-256k.bin";
m->default_display = "std";