tests: Make expliction defaults for tests
cover tests: Make expliction defaults for tests
Hi
For a long, long time I have had local hacks on my tree to be able to run "make tests" when I have a minimal configure guest. This is a first try to upstream some of it.
- by default we always setup -display none (it already was the default, but some places added it anyways)
- by default we always setup -net none. Not clear what was the default, but no tests use the default net, so it is safe change and now it is explicit.
- by default we always setup -vga none. This is a complete difference can of worms. Every tests that use vga already set vga correctly, so this is quite obvious, right? Now they are acpi tables. They are a mess. And basically this means remove a device for each one of them. Why going through all the trouble? Because while I am develping, I normall compile out vga.
- Fix several error strings that were set with copy paste.
- replication test requires CONFIG_REPLICATION.
- test-crypto-secret requires CONFIG_SECRET_KEYRING.
Please review. Except for the acpi changes (that I hope I have done right following the instructions) the rest is quite obvious.
Later, Juan.
Juan Quintela (8):
qtest: "-display none" is set in qtest_init()
qtest: Set "-net none" in qtest_init()
tests/acpi: The new default is -vga none
tests/qtest: Add -vga none by default
tests/acpi: Regenerate all needed tables
tests: Fix error strings
meson-build: Enable CONFIG_REPLICATION only when replication is set
meson-build: test-crypto-secret depends on CONFIG_SECRET_KEYRING
meson.build | 2 +- tests/qtest/bios-tables-test.c | 2 +- tests/qtest/boot-serial-test.c | 4 ++-- tests/qtest/dbus-display-test.c | 2 +- tests/qtest/display-vga-test.c | 12 ++++++------ tests/qtest/e1000-test.c | 2 +- tests/qtest/es1370-test.c | 2 +- tests/qtest/fuzz-lsi53c895a-test.c | 2 +- tests/qtest/fuzz-megasas-test.c | 2 +- tests/qtest/fuzz-sb16-test.c | 6 +++--- tests/qtest/fuzz-sdcard-test.c | 6 +++--- tests/qtest/fuzz-virtio-scsi-test.c | 2 +- tests/qtest/fuzz-xlnx-dp-test.c | 2 +- tests/qtest/fuzz/generic_fuzz.c | 3 +-- tests/qtest/fuzz/i440fx_fuzz.c | 2 +- tests/qtest/fuzz/qos_fuzz.c | 2 +- tests/qtest/libqtest.c | 2 ++ tests/data/acpi/pc/DSDT | Bin 5987 -> 5992 bytes tests/data/acpi/pc/DSDT.acpierst | Bin 5954 -> 5959 bytes tests/data/acpi/pc/DSDT.acpihmat | Bin 7312 -> 7317 bytes tests/data/acpi/pc/DSDT.bridge | Bin 8653 -> 8658 bytes tests/data/acpi/pc/DSDT.cphp | Bin 6451 -> 6456 bytes tests/data/acpi/pc/DSDT.dimmpxm | Bin 7641 -> 7646 bytes tests/data/acpi/pc/DSDT.hpbridge | Bin 5954 -> 5959 bytes tests/data/acpi/pc/DSDT.hpbrroot | Bin 3069 -> 3023 bytes tests/data/acpi/pc/DSDT.ipmikcs | Bin 6059 -> 6064 bytes tests/data/acpi/pc/DSDT.memhp | Bin 7346 -> 7351 bytes tests/data/acpi/pc/DSDT.nohpet | Bin 5845 -> 5850 bytes tests/data/acpi/pc/DSDT.numamem | Bin 5993 -> 5998 bytes tests/data/acpi/pc/DSDT.roothp | Bin 6195 -> 6151 bytes tests/data/acpi/pc/ERST.acpierst | Bin 912 -> 912 bytes tests/data/acpi/q35/DMAR.dmar | Bin 120 -> 112 bytes tests/data/acpi/q35/DSDT | Bin 8274 -> 8228 bytes tests/data/acpi/q35/DSDT.acpierst | Bin 8291 -> 8245 bytes tests/data/acpi/q35/DSDT.acpihmat | Bin 9599 -> 9553 bytes tests/data/acpi/q35/DSDT.applesmc | Bin 8320 -> 8274 bytes tests/data/acpi/q35/DSDT.bridge | Bin 10988 -> 10944 bytes tests/data/acpi/q35/DSDT.cphp | Bin 8738 -> 8692 bytes tests/data/acpi/q35/DSDT.cxl | Bin 9600 -> 9502 bytes tests/data/acpi/q35/DSDT.dimmpxm | Bin 9928 -> 9882 bytes tests/data/acpi/q35/DSDT.ipmibt | Bin 8349 -> 8303 bytes tests/data/acpi/q35/DSDT.ipmismbus | Bin 8363 -> 8317 bytes tests/data/acpi/q35/DSDT.ivrs | Bin 8291 -> 8245 bytes tests/data/acpi/q35/DSDT.memhp | Bin 9633 -> 9587 bytes tests/data/acpi/q35/DSDT.mmio64 | Bin 9404 -> 9358 bytes tests/data/acpi/q35/DSDT.multi-bridge | Bin 8568 -> 8524 bytes tests/data/acpi/q35/DSDT.nohpet | Bin 8132 -> 8086 bytes tests/data/acpi/q35/DSDT.numamem | Bin 8280 -> 8234 bytes tests/data/acpi/q35/DSDT.pvpanic-isa | Bin 8375 -> 8329 bytes tests/data/acpi/q35/DSDT.tis.tpm12 | Bin 8880 -> 8834 bytes tests/data/acpi/q35/DSDT.tis.tpm2 | Bin 8906 -> 8860 bytes tests/data/acpi/q35/DSDT.viot | Bin 9383 -> 9339 bytes tests/data/acpi/q35/DSDT.xapic | Bin 35637 -> 35591 bytes tests/data/acpi/q35/ERST.acpierst | Bin 912 -> 912 bytes tests/data/acpi/q35/IVRS.ivrs | Bin 104 -> 100 bytes tests/data/acpi/q35/VIOT.viot | Bin 112 -> 112 bytes tests/unit/meson.build | 4 +++- 57 files changed, 31 insertions(+), 28 deletions(-)
Signature · 1 line
2.37.2
PATCH 1/8 qtest: "-display none" is set in qtest_init()
So we don't need to set anywhere else.
--- tests/qtest/bios-tables-test.c | 2 +- tests/qtest/fuzz-lsi53c895a-test.c | 2 +- tests/qtest/fuzz-megasas-test.c | 2 +- tests/qtest/fuzz-sb16-test.c | 6 +++--- tests/qtest/fuzz-sdcard-test.c | 6 +++--- tests/qtest/fuzz-virtio-scsi-test.c | 2 +- tests/qtest/fuzz-xlnx-dp-test.c | 2 +- tests/qtest/fuzz/generic_fuzz.c | 3 +-- tests/qtest/fuzz/i440fx_fuzz.c | 2 +- tests/qtest/fuzz/qos_fuzz.c | 2 +- 10 files changed, 14 insertions(+), 15 deletions(-)
tests/qtest/bios-tables-test.c +1 -1
@@ -725,7 +725,7 @@ static char *test_acpi_create_args(test_data *data, const char *params, } }else { args = g_strdup_printf("-machine %s %s -accel tcg " - "-net none -display none %s " + "-net none %s " "-drive id=hd0,if=none,file=%s,format=raw " "-device %s,drive=hd0 ", data->machine, data->tcg_only ? "" : "-accel kvm",
tests/qtest/fuzz-lsi53c895a-test.c +1 -1
@@ -21,7 +21,7 @@ static void test_lsi_do_msgout_cancel_req(void)return ; } - s =qtest_init ("-M q35 -m 4G -display none -nodefaults " + s =qtest_init ("-M q35 -m 4G -nodefaults " "-device lsi53c895a,id=scsi " "-device scsi-hd,drive=disk0 " "-drive file=null-co://,id=disk0,if=none,format=raw" );
tests/qtest/fuzz-megasas-test.c +1 -1
@@ -40,7 +40,7 @@ static void test_lp1878263_megasas_zero_iov_cnt(void)*/ static void test_gitlab_issue521_megasas_sgl_ovf (void ) { -QTestState *s =qtest_init ("-display none -m 32M -machine q35 " +QTestState *s =qtest_init ("-m 32M -machine q35 " "-nodefaults -device megasas " "-device scsi-cd,drive=null0 " "-blockdev "
tests/qtest/fuzz-sb16-test.c +3 -3
@@ -15,7 +15,7 @@*/ static void test_fuzz_sb16_0x1c (void ) { -QTestState *s =qtest_init ("-M q35 -display none " +QTestState *s =qtest_init ("-M q35 " "-device sb16,audiodev=snd0 " "-audiodev none,id=snd0" );qtest_outw (s,0x22c ,0x41 );
@@ -27,7 +27,7 @@ static void test_fuzz_sb16_0x1c(void)static void test_fuzz_sb16_0x91 (void ) { -QTestState *s =qtest_init ("-M pc -display none " +QTestState *s =qtest_init ("-M pc " "-device sb16,audiodev=none " "-audiodev id=none,driver=none" );qtest_outw (s,0x22c ,0xf141 );
@@ -43,7 +43,7 @@ static void test_fuzz_sb16_0x91(void)*/ static void test_fuzz_sb16_0xd4 (void ) { -QTestState *s =qtest_init ("-M pc -display none " +QTestState *s =qtest_init ("-M pc " "-device sb16,audiodev=none " "-audiodev id=none,driver=none" );qtest_outb (s,0x22c ,0x41 );
tests/qtest/fuzz-sdcard-test.c +3 -3
@@ -18,7 +18,7 @@ static void oss_fuzz_29225(void) {QTestState *s; - s =qtest_init (" -display none -m 512m -nodefaults -nographic" + s =qtest_init (" -m 512m -nodefaults -nographic" " -device sdhci-pci,sd-spec-version=3" " -device sd-card,drive=d0" " -drive if=none,index=0,file=null-co://,format=raw,id=d0" );
@@ -61,7 +61,7 @@ static void oss_fuzz_36217(void) {QTestState *s; - s =qtest_init (" -display none -m 32 -nodefaults -nographic" + s =qtest_init (" -m 32 -nodefaults -nographic" " -device sdhci-pci,sd-spec-version=3 " "-device sd-card,drive=d0 " "-drive if=none,index=0,file=null-co://,format=raw,id=d0" );
@@ -95,7 +95,7 @@ static void oss_fuzz_36391(void) {QTestState *s; - s =qtest_init (" -display none -m 512M -nodefaults -nographic" + s =qtest_init (" -m 512M -nodefaults -nographic" " -device sdhci-pci,sd-spec-version=3" " -device sd-card,drive=drv" " -drive if=none,index=0,file=null-co://,format=raw,id=drv" );
tests/qtest/fuzz-virtio-scsi-test.c +1 -1
@@ -19,7 +19,7 @@ static void test_mmio_oob_from_memory_region_cache(void) {QTestState *s; - s =qtest_init ("-M pc-q35-5.2 -display none -m 512M " + s =qtest_init ("-M pc-q35-5.2 -m 512M " "-device virtio-scsi,num_queues=8,addr=03.0 " );qtest_outl (s,0xcf8 ,0x80001811 );
tests/qtest/fuzz-xlnx-dp-test.c +1 -1
@@ -14,7 +14,7 @@*/ static void test_fuzz_xlnx_dp_0x3ac (void ) { -QTestState *s =qtest_init ("-M xlnx-zcu102 -display none " ); +QTestState *s =qtest_init ("-M xlnx-zcu102 " );qtest_readl (s,0xfd4a03ac );qtest_quit (s); }
tests/qtest/fuzz/generic_fuzz.c +1 -2
@@ -981,8 +981,7 @@ static GString *generic_fuzz_cmdline(FuzzTarget *t)if (!getenv ("QEMU_FUZZ_ARGS" )) {usage (); } -g_string_append_printf (cmd_line," -display none \ --machine accel=qtest, \ +g_string_append_printf (cmd_line," -machine accel=qtest, \ -m 512M %s " ,getenv ("QEMU_FUZZ_ARGS" ));return cmd_line; }
tests/qtest/fuzz/i440fx_fuzz.c +1 -1
@@ -157,7 +157,7 @@ static void i440fx_fuzz_qos_fork(QTestState *s, }static const char *i440fx_qtest_argv =TARGET_NAME " -machine accel=qtest" -" -m 0 -display none" ; +" -m 0" ;static GString *i440fx_argv (FuzzTarget *t) {return g_string_new (i440fx_qtest_argv);
tests/qtest/fuzz/qos_fuzz.c +1 -1
@@ -85,7 +85,7 @@ static GString *qos_build_main_args(void) }/* Prepend the arguments that we need */ g_string_prepend (cmd_line, -TARGET_NAME " -display none -machine accel=qtest -m 64 " ); +TARGET_NAME " -machine accel=qtest -m 64 " );return cmd_line; }
Signature · 1 line
2.37.2
Re: [PATCH 1/8] qtest: "-display none" is set in qtest_init()
Quoted 15 lines · Juan Quintela
So we don't need to set anywhere else.
Signed-off-by Juan Quintela <[email protected]>--- tests/qtest/bios-tables-test.c | 2 +- tests/qtest/fuzz-lsi53c895a-test.c | 2 +- tests/qtest/fuzz-megasas-test.c | 2 +- tests/qtest/fuzz-sb16-test.c | 6 +++--- tests/qtest/fuzz-sdcard-test.c | 6 +++--- tests/qtest/fuzz-virtio-scsi-test.c | 2 +- tests/qtest/fuzz-xlnx-dp-test.c | 2 +- tests/qtest/fuzz/generic_fuzz.c | 3 +-- tests/qtest/fuzz/i440fx_fuzz.c | 2 +- tests/qtest/fuzz/qos_fuzz.c | 2 +- 10 files changed, 14 insertions(+), 15 deletions(-)
Re: [PATCH 1/8] qtest: "-display none" is set in qtest_init()
In reply to Juan QuintelaQuoted 4 lines · Juan Quintela
So we don't need to set anywhere else.
Signed-off-by Juan Quintela <[email protected]>---
...
Quoted 32 lines
tests/qtest/fuzz/generic_fuzz.c +1
-2@@ -981,8 +981,7 @@ static GString *generic_fuzz_cmdline(FuzzTarget *t)if (!getenv ("QEMU_FUZZ_ARGS" )) {usage (); } -g_string_append_printf (cmd_line," -display none \ --machine accel=qtest, \ +g_string_append_printf (cmd_line," -machine accel=qtest, \ -m 512M %s " ,getenv ("QEMU_FUZZ_ARGS" ));return cmd_line; }tests/qtest/fuzz/i440fx_fuzz.c +1
-1@@ -157,7 +157,7 @@ static void i440fx_fuzz_qos_fork(QTestState *s, }static const char *i440fx_qtest_argv =TARGET_NAME " -machine accel=qtest" -" -m 0 -display none" ; +" -m 0" ;static GString *i440fx_argv (FuzzTarget *t) {return g_string_new (i440fx_qtest_argv);tests/qtest/fuzz/qos_fuzz.c +0
-0
tests/qtest/fuzz/qos_fuzz.c static GString *qos_build_main_args(void) · line 91
Quoted 8 lines
tests/qtest/fuzz/qos_fuzz.c +1
-1@@ -85,7 +85,7 @@ static GString *qos_build_main_args(void) }/* Prepend the arguments that we need */ g_string_prepend (cmd_line, -TARGET_NAME " -display none -machine accel=qtest -m 64 " ); +TARGET_NAME " -machine accel=qtest -m 64 " );return cmd_line; }
This seems to break the build-oss-fuzz CI job:
https://gitlab.com/thuth/qemu/-/jobs/3052856828#L3774
Please double-check whether it's ok to remove the "-display none" here.
Thomas
PATCH 2/8 qtest: Set "-net none" in qtest_init()
In reply to Juan QuintelaThis way, we don't have networking by default. If test needs it, configure it.
--- tests/qtest/bios-tables-test.c | 2 +- tests/qtest/libqtest.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
tests/qtest/bios-tables-test.c +1 -1
@@ -725,7 +725,7 @@ static char *test_acpi_create_args(test_data *data, const char *params, } }else { args = g_strdup_printf("-machine %s %s -accel tcg " - "-net none %s " + "%s " "-drive id=hd0,if=none,file=%s,format=raw " "-device %s,drive=hd0 ", data->machine, data->tcg_only ? "" : "-accel kvm",
tests/qtest/libqtest.c +1 -0
@@ -290,6 +290,7 @@ QTestState *qtest_init_without_qmp_handshake(const char *extra_args)"-chardev socket,path=%s,id=char0 " "-mon chardev=char0,mode=control " "-display none " +"-net none " "%s" " -accel qtest" , qemu_binary, tracearg, socket_path,
Signature · 1 line
2.37.2
Re: [PATCH 2/8] qtest: Set "-net none" in qtest_init()
Quoted 8 lines · Juan Quintela
This way, we don't have networking by default. If test needs it, configure it.
Signed-off-by Juan Quintela <[email protected]>--- tests/qtest/bios-tables-test.c | 2 +- tests/qtest/libqtest.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
PATCH 3/8 tests/acpi: The new default is -vga none
In reply to Juan QuintelaSo we lost a device in each table.
--- tests/qtest/bios-tables-test-allowed-diff.h | 39 +++++++++++++++++++++ 1 file changed, 39 insertions(+)
tests/qtest/bios-tables-test-allowed-diff.h +39 -0
@@ -1 +1,40 @@/* List of comma-separated changed AML files to ignore */ +"tests/data/acpi/pc/DSDT" , +"tests/data/acpi/q35/DSDT" , +"tests/data/acpi/q35/DSDT.tis.tpm2" , +"tests/data/acpi/q35/DSDT.tis.tpm12" , +"tests/data/acpi/q35/DSDT.bridge" , +"tests/data/acpi/q35/DSDT.multi-bridge" , +"tests/data/acpi/q35/DSDT.mmio64" , +"tests/data/acpi/q35/DSDT.ipmibt" , +"tests/data/acpi/q35/DSDT.cphp" , +"tests/data/acpi/q35/DSDT.memhp" , +"tests/data/acpi/q35/DSDT.numamem" , +"tests/data/acpi/q35/DSDT.nohpet" , +"tests/data/acpi/q35/DSDT.dimmpxm" , +"tests/data/acpi/q35/DSDT.acpihmat" , +"tests/data/acpi/q35/ERST.acpierst" , +"tests/data/acpi/q35/DSDT.acpierst" , +"tests/data/acpi/q35/DSDT.applesmc" , +"tests/data/acpi/q35/DSDT.pvpanic-isa" , +"tests/data/acpi/q35/IVRS.ivrs" , +"tests/data/acpi/q35/DSDT.ivrs" , +"tests/data/acpi/q35/VIOT.viot" , +"tests/data/acpi/q35/DSDT.viot" , +"tests/data/acpi/q35/DSDT.cxl" , +"tests/data/acpi/q35/DSDT.ipmismbus" , +"tests/data/acpi/q35/DSDT.xapic" , +"tests/data/acpi/q35/DMAR.dmar" , +"tests/data/acpi/pc/DSDT.bridge" , +"tests/data/acpi/pc/DSDT.ipmikcs" , +"tests/data/acpi/pc/DSDT.cphp" , +"tests/data/acpi/pc/DSDT.memhp" , +"tests/data/acpi/pc/DSDT.numamem" , +"tests/data/acpi/pc/DSDT.nohpet" , +"tests/data/acpi/pc/DSDT.dimmpxm" , +"tests/data/acpi/pc/DSDT.acpihmat" , +"tests/data/acpi/pc/ERST.acpierst" , +"tests/data/acpi/pc/DSDT.acpierst" , +"tests/data/acpi/pc/DSDT.roothp" , +"tests/data/acpi/pc/DSDT.hpbridge" , +"tests/data/acpi/pc/DSDT.hpbrroot",
Signature · 1 line
2.37.2
PATCH 4/8 tests/qtest: Add -vga none by default
In reply to Juan QuintelaNothing in qtest where using vga by default except for dbus-display-test. We add -device VGA there.
The only other test that fails after this change is:
109/659 qemu:qtest+qtest-ppc64 / qtest-ppc64/qos-test ERROR 21.34s killed by signal 6 SIGABRT
Bail out! ERROR:../../../../mnt/code/qemu/full/tests/qtest/virtio-iommu-test.c:189:test_attach_detach: assertion failed (ret == 0): (6 == 0) stderr:
qemu-system-ppc64: warning: nic e1000.0 has no peer
qemu-system-ppc64: warning: nic e1000-82544gc.0 has no peer
qemu-system-ppc64: warning: nic e1000-82545em.0 has no peer
qemu-system-ppc64: warning: nic i82550.0 has no peer
qemu-system-ppc64: warning: nic i82551.0 has no peer
qemu-system-ppc64: warning: nic i82557a.0 has no peer
qemu-system-ppc64: warning: nic i82557b.0 has no peer
qemu-system-ppc64: warning: nic i82557c.0 has no peer
qemu-system-ppc64: warning: nic i82558a.0 has no peer
qemu-system-ppc64: warning: nic i82558b.0 has no peer
qemu-system-ppc64: warning: nic i82559a.0 has no peer
qemu-system-ppc64: warning: nic i82559b.0 has no peer
qemu-system-ppc64: warning: nic i82559c.0 has no peer
qemu-system-ppc64: warning: nic i82559er.0 has no peer
qemu-system-ppc64: warning: nic i82562.0 has no peer
qemu-system-ppc64: warning: nic i82801.0 has no peer
qemu-system-ppc64: warning: nic ne2k_pci.0 has no peer
qemu-system-ppc64: warning: nic tulip.0 has no peer
qemu-system-ppc64: warning: nic pcnet.0 has no peer
qemu-system-ppc64: warning: nic vmxnet3.0 has no peer
**
ERROR:../../../../mnt/code/qemu/full/tests/qtest/virtio-iommu-test.c:189:test_attach_detach: assertion failed (ret == 0): (6 == 0)
(test program exited with status code -6)
------------------------------------------
Problem is with virtio-iommu-test.c attach_detach test. My understanding is that the problem is that for pseries.
$ export QTEST_QEMU_BINARY=./qemu-system-ppc64 $ ./tests/qtest/qos-test -p /ppc64/pseries/spapr-pci-host-bridge/pci-bus-spapr/pci-bus/virtio-iommu-pci/virtio-iommu/virtio-iommu-tests/attach_detach ** ERROR:../../../../mnt/code/qemu/full/tests/qtest/virtio-iommu-test.c:189:test_attach_detach: assertion failed (ret == 0): (6 == 0) Bail out! ERROR:../../../../mnt/code/qemu/full/tests/qtest/virtio-iommu-test.c:189:test_attach_detach: assertion failed (ret == 0): (6 == 0) Aborted (core dumped)
My understanding is that if I remove the vga device, pseries end without any device on the pci bus and somehow it completely breaks.
--- tests/qtest/boot-serial-test.c | 4 ++-- tests/qtest/dbus-display-test.c | 2 +- tests/qtest/display-vga-test.c | 12 ++++++------ tests/qtest/libqtest.c | 1 + 4 files changed, 10 insertions(+), 9 deletions(-)
tests/qtest/boot-serial-test.c +2 -2
@@ -144,7 +144,7 @@ static testdef_t tests[] = { { "avr", "arduino-duemilanove", "", "T", sizeof(bios_avr), NULL, bios_avr }, { "avr", "arduino-mega-2560-v3", "", "T", sizeof(bios_avr), NULL, bios_avr}, { "ppc", "ppce500", "", "U-Boot" }, - { "ppc", "40p", "-vga none -boot d", "Trying cd:," }, + { "ppc", "40p", "-boot d", "Trying cd:," }, { "ppc", "g3beige", "", "PowerPC,750" }, { "ppc", "mac99", "", "PowerPC,G4" }, { "ppc", "sam460ex", "-m 256", "DRAM: 256 MiB" },
@@ -175,7 +175,7 @@ static testdef_t tests[] = { sizeof(kernel_plml605), kernel_plml605 }, { "arm", "raspi2b", "", "TT", sizeof(bios_raspi2), 0, bios_raspi2 },/* For hppa, force bios to output to serial by disabling graphics. */ - { "hppa", "hppa", "-vga none", "SeaBIOS wants SYSTEM HALT" }, + { "hppa", "hppa", "", "SeaBIOS wants SYSTEM HALT" }, { "aarch64", "virt", "-cpu max", "TT", sizeof(kernel_aarch64), kernel_aarch64 }, { "arm", "microbit", "", "T", sizeof(kernel_nrf51), kernel_nrf51 },
tests/qtest/dbus-display-test.c +1 -1
@@ -34,7 +34,7 @@ test_setup(QTestState **qts, GDBusConnection **conn) {int pair[2 ]; - *qts =qtest_init ("-display dbus,p2p=yes -name dbus-test" ); + *qts =qtest_init ("-display dbus,p2p=yes -device VGA -name dbus-test" ); g_assert_cmpint(socketpair(AF_UNIX, SOCK_STREAM, 0, pair), ==, 0);
tests/qtest/display-vga-test.c +6 -6
@@ -12,37 +12,37 @@static void pci_cirrus (void ) { -qtest_start ("-vga none -device cirrus-vga" ); +qtest_start ("-device cirrus-vga" );qtest_end (); }static void pci_stdvga (void ) { -qtest_start ("-vga none -device VGA" ); +qtest_start ("-device VGA" );qtest_end (); }static void pci_secondary (void ) { -qtest_start ("-vga none -device secondary-vga" ); +qtest_start ("-device secondary-vga" );qtest_end (); }static void pci_multihead (void ) { -qtest_start ("-vga none -device VGA -device secondary-vga" ); +qtest_start ("-device VGA -device secondary-vga" );qtest_end (); }static void pci_virtio_gpu (void ) { -qtest_start ("-vga none -device virtio-gpu-pci" ); +qtest_start ("-device virtio-gpu-pci" );qtest_end (); }static void pci_virtio_vga (void ) { -qtest_start ("-vga none -device virtio-vga" ); +qtest_start ("-device virtio-vga" );qtest_end (); }
tests/qtest/libqtest.c +1 -0
@@ -291,6 +291,7 @@ QTestState *qtest_init_without_qmp_handshake(const char *extra_args)"-mon chardev=char0,mode=control " "-display none " "-net none " +"-vga none " "%s" " -accel qtest" , qemu_binary, tracearg, socket_path,
Signature · 1 line
2.37.2
PATCH 5/8 tests/acpi: Regenerate all needed tables
In reply to Juan QuintelaThis handles the removal of VGA as a default device. I include all the diffs from the tables here. q35/DSDT.cxl is missing because the testlog decided that it was a good idea not to generate it. Diff is huge, but all of it is removal of a device for each table.
tmp/asl-CKUMR1.dsl renamed from tmp/asl-1RMMR1.dsl +13 -18
@@ -1,30 +1,30 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20220331 (64-bit version) * Copyright (c) 2000 - 2022 Intel Corporation * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/pc/DSDT, Sun Aug 28 10:18:06 2022 + * Disassembly of /tmp/aml-WKUMR1, Sun Aug 28 10:18:06 2022 * * Original Table Header: * Signature "DSDT" - * Length 0x00001763 (5987) + * Length 0x00001768 (5992) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0x6F + * Checksum 0x65 * OEM ID "BOCHS " * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { OperationRegion (DBG, SystemIO, 0x0402, One) Field (DBG, ByteAcc, NoLock, Preserve) { DBGB, 8 }
@@ -922,52 +922,42 @@ { Scope (PCI0) { Name (BSEL, Zero) Device (S00) { Name (_ADR, Zero) // _ADR: Address Name (ASUN, Zero) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { Return (PDSM (Arg0, Arg1, Arg2, Arg3, BSEL, ASUN)) } } Device (S10) { + Name (_SUN, 0x02) // _SUN: Slot User Number Name (_ADR, 0x00020000) // _ADR: Address - Name (ASUN, 0x02) - Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method - { - Return (PDSM (Arg0, Arg1, Arg2, Arg3, BSEL, ASUN)) - } - - Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State - { - Return (Zero) - } - - Method (_S2D, 0, NotSerialized) // _S2D: S2 Device State + Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device, x=0-9 { - Return (Zero) + PCEJ (BSEL, _SUN) } - Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State + Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { - Return (Zero) + Return (PDSM (Arg0, Arg1, Arg2, Arg3, BSEL, _SUN)) } } Device (S18) { Name (_SUN, 0x03) // _SUN: Slot User Number Name (_ADR, 0x00030000) // _ADR: Address Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device, x=0-9 { PCEJ (BSEL, _SUN) } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { Return (PDSM (Arg0, Arg1, Arg2, Arg3, BSEL, _SUN)) }
@@ -1382,32 +1372,37 @@ { Name (_SUN, 0x1F) // _SUN: Slot User Number Name (_ADR, 0x001F0000) // _ADR: Address Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device, x=0-9 { PCEJ (BSEL, _SUN) } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { Return (PDSM (Arg0, Arg1, Arg2, Arg3, BSEL, _SUN)) } } Method (DVNT, 2, NotSerialized) { + If ((Arg0 & 0x04)) + { + Notify (S10, Arg1) + } + If ((Arg0 & 0x08)) { Notify (S18, Arg1) } If ((Arg0 & 0x10)) { Notify (S20, Arg1) } If ((Arg0 & 0x20)) { Notify (S28, Arg1) } If ((Arg0 & 0x40))
tmp/asl-DM0AR1.dsl renamed from tmp/asl-1LKBR1.dsl +3 -22
@@ -1,30 +1,30 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20220331 (64-bit version) * Copyright (c) 2000 - 2022 Intel Corporation * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT, Sun Aug 28 10:18:07 2022 + * Disassembly of /tmp/aml-WM0AR1, Sun Aug 28 10:18:07 2022 * * Original Table Header: * Signature "DSDT" - * Length 0x00002052 (8274) + * Length 0x00002024 (8228) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0xD6 + * Checksum 0x8B * OEM ID "BOCHS " * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { OperationRegion (DBG, SystemIO, 0x0402, One) Field (DBG, ByteAcc, NoLock, Preserve) { DBGB, 8 }
@@ -3242,42 +3242,23 @@ 0x01, // Alignment 0x0C, // Length ) }) } } Scope (\_SB) { Scope (PCI0) { Device (S00) { Name (_ADR, Zero) // _ADR: Address } - Device (S08) - { - Name (_ADR, 0x00010000) // _ADR: Address - Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State - { - Return (Zero) - } - - Method (_S2D, 0, NotSerialized) // _S2D: S2 Device State - { - Return (Zero) - } - - Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State - { - Return (Zero) - } - } - Method (PCNT, 0, NotSerialized) { } } } }
tmp/asl-DBBFR1.dsl renamed from tmp/asl-9GPDR1.dsl +3 -22
@@ -1,30 +1,30 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20220331 (64-bit version) * Copyright (c) 2000 - 2022 Intel Corporation * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.tis.tpm2, Sun Aug 28 10:18:10 2022 + * Disassembly of /tmp/aml-AEBFR1, Sun Aug 28 10:18:10 2022 * * Original Table Header: * Signature "DSDT" - * Length 0x000022CA (8906) + * Length 0x0000229C (8860) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0xD5 + * Checksum 0x8A * OEM ID "BOCHS " * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { OperationRegion (DBG, SystemIO, 0x0402, One) Field (DBG, ByteAcc, NoLock, Preserve) { DBGB, 8 }
@@ -3429,42 +3429,23 @@ 0x01, // Alignment 0x0C, // Length ) }) } } Scope (\_SB) { Scope (PCI0) { Device (S00) { Name (_ADR, Zero) // _ADR: Address } - Device (S08) - { - Name (_ADR, 0x00010000) // _ADR: Address - Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State - { - Return (Zero) - } - - Method (_S2D, 0, NotSerialized) // _S2D: S2 Device State - { - Return (Zero) - } - - Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State - { - Return (Zero) - } - } - Method (PCNT, 0, NotSerialized) { } } } }
tmp/asl-KIKFR1.dsl renamed from tmp/asl-X4MFR1.dsl +3 -22
@@ -1,30 +1,30 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20220331 (64-bit version) * Copyright (c) 2000 - 2022 Intel Corporation * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.tis.tpm12, Sun Aug 28 10:18:11 2022 + * Disassembly of /tmp/aml-UHKFR1, Sun Aug 28 10:18:11 2022 * * Original Table Header: * Signature "DSDT" - * Length 0x000022B0 (8880) + * Length 0x00002282 (8834) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0x2E + * Checksum 0xE3 * OEM ID "BOCHS " * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { OperationRegion (DBG, SystemIO, 0x0402, One) Field (DBG, ByteAcc, NoLock, Preserve) { DBGB, 8 }
@@ -3428,42 +3428,23 @@ 0x01, // Alignment 0x0C, // Length ) }) } } Scope (\_SB) { Scope (PCI0) { Device (S00) { Name (_ADR, Zero) // _ADR: Address } - Device (S08) - { - Name (_ADR, 0x00010000) // _ADR: Address - Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State - { - Return (Zero) - } - - Method (_S2D, 0, NotSerialized) // _S2D: S2 Device State - { - Return (Zero) - } - - Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State - { - Return (Zero) - } - } - Method (PCNT, 0, NotSerialized) { } } } }
tmp/asl-HWNGR1.dsl renamed from tmp/asl-5LLER1.dsl +4 -23
@@ -1,30 +1,30 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20220331 (64-bit version) * Copyright (c) 2000 - 2022 Intel Corporation * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.bridge, Sun Aug 28 10:18:12 2022 + * Disassembly of /tmp/aml-HVNGR1, Sun Aug 28 10:18:12 2022 * * Original Table Header: * Signature "DSDT" - * Length 0x00002AEC (10988) + * Length 0x00002AC0 (10944) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0xE0 + * Checksum 0x21 * OEM ID "BOCHS " * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { OperationRegion (DBG, SystemIO, 0x0402, One) Field (DBG, ByteAcc, NoLock, Preserve) { DBGB, 8 }
@@ -3245,51 +3245,32 @@ }) } } Scope (\_SB) { Scope (PCI0) { Device (S00) { Name (_ADR, Zero) // _ADR: Address } Device (S08) { Name (_ADR, 0x00010000) // _ADR: Address - Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State - { - Return (Zero) - } - - Method (_S2D, 0, NotSerialized) // _S2D: S2 Device State - { - Return (Zero) - } - - Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State - { - Return (Zero) - } - } - - Device (S10) - { - Name (_ADR, 0x00020000) // _ADR: Address Name (BSEL, Zero) Device (S00) { Name (_SUN, Zero) // _SUN: Slot User Number Name (_ADR, Zero) // _ADR: Address Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device, x=0-9 { PCEJ (BSEL, _SUN) } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { Return (PDSM (Arg0, Arg1, Arg2, Arg3, BSEL, _SUN)) } }
@@ -3918,22 +3899,22 @@ If ((Arg0 & 0x80000000)) { Notify (SF8, Arg1) } } Method (PCNT, 0, NotSerialized) { BNUM = Zero DVNT (PCIU, One) DVNT (PCID, 0x03) } } Method (PCNT, 0, NotSerialized) { - ^S10.PCNT () + ^S08.PCNT () } } } }
tmp/asl-S3K6Q1.dsl renamed from tmp/asl-LMW6Q1.dsl +3 -22
@@ -1,30 +1,30 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20220331 (64-bit version) * Copyright (c) 2000 - 2022 Intel Corporation * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.multi-bridge, Sun Aug 28 10:18:13 2022 + * Disassembly of /tmp/aml-Y6K6Q1, Sun Aug 28 10:18:13 2022 * * Original Table Header: * Signature "DSDT" - * Length 0x00002178 (8568) + * Length 0x0000214C (8524) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0x6A + * Checksum 0xC7 * OEM ID "BOCHS " * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { OperationRegion (DBG, SystemIO, 0x0402, One) Field (DBG, ByteAcc, NoLock, Preserve) { DBGB, 8 }
@@ -3242,51 +3242,32 @@ 0x01, // Alignment 0x0C, // Length ) }) } } Scope (\_SB) { Scope (PCI0) { Device (S00) { Name (_ADR, Zero) // _ADR: Address } - Device (S08) - { - Name (_ADR, 0x00010000) // _ADR: Address - Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State - { - Return (Zero) - } - - Method (_S2D, 0, NotSerialized) // _S2D: S2 Device State - { - Return (Zero) - } - - Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State - { - Return (Zero) - } - } - Device (S10) { Name (_ADR, 0x00020000) // _ADR: Address Name (BSEL, One) Device (S00) { Name (_SUN, Zero) // _SUN: Slot User Number Name (_ADR, Zero) // _ADR: Address Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device, x=0-9 { PCEJ (BSEL, _SUN) } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { Return (PDSM (Arg0, Arg1, Arg2, Arg3, BSEL, _SUN))
tmp/asl-IIS8Q1.dsl renamed from tmp/asl-ZAC6Q1.dsl +3 -22
@@ -1,30 +1,30 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20220331 (64-bit version) * Copyright (c) 2000 - 2022 Intel Corporation * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.mmio64, Sun Aug 28 10:18:14 2022 + * Disassembly of /tmp/aml-JHS8Q1, Sun Aug 28 10:18:14 2022 * * Original Table Header: * Signature "DSDT" - * Length 0x000024BC (9404) + * Length 0x0000248E (9358) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0x84 + * Checksum 0x15 * OEM ID "BOCHS " * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { OperationRegion (DBG, SystemIO, 0x0402, One) Field (DBG, ByteAcc, NoLock, Preserve) { DBGB, 8 }
@@ -3481,44 +3481,25 @@ }) } } Scope (\_SB) { Scope (PCI0) { Device (S00) { Name (_ADR, Zero) // _ADR: Address } Device (S08) { Name (_ADR, 0x00010000) // _ADR: Address - Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State - { - Return (Zero) - } - - Method (_S2D, 0, NotSerialized) // _S2D: S2 Device State - { - Return (Zero) - } - - Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State - { - Return (Zero) - } - } - - Device (S10) - { - Name (_ADR, 0x00020000) // _ADR: Address } Method (PCNT, 0, NotSerialized) { } } } }
tmp/asl-2X17Q1.dsl renamed from tmp/asl-A267Q1.dsl +3 -22
@@ -1,30 +1,30 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20220331 (64-bit version) * Copyright (c) 2000 - 2022 Intel Corporation * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.ipmibt, Sun Aug 28 10:18:15 2022 + * Disassembly of /tmp/aml-QX17Q1, Sun Aug 28 10:18:15 2022 * * Original Table Header: * Signature "DSDT" - * Length 0x0000209D (8349) + * Length 0x0000206F (8303) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0xFB + * Checksum 0xB0 * OEM ID "BOCHS " * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { OperationRegion (DBG, SystemIO, 0x0402, One) Field (DBG, ByteAcc, NoLock, Preserve) { DBGB, 8 }
@@ -3262,42 +3262,23 @@ 0x01, // Alignment 0x0C, // Length ) }) } } Scope (\_SB) { Scope (PCI0) { Device (S00) { Name (_ADR, Zero) // _ADR: Address } - Device (S08) - { - Name (_ADR, 0x00010000) // _ADR: Address - Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State - { - Return (Zero) - } - - Method (_S2D, 0, NotSerialized) // _S2D: S2 Device State - { - Return (Zero) - } - - Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State - { - Return (Zero) - } - } - Method (PCNT, 0, NotSerialized) { } } } }
tmp/asl-0OUNR1.dsl renamed from tmp/asl-TJYNR1.dsl +3 -22
@@ -1,30 +1,30 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20220331 (64-bit version) * Copyright (c) 2000 - 2022 Intel Corporation * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.cphp, Sun Aug 28 10:18:16 2022 + * Disassembly of /tmp/aml-VOUNR1, Sun Aug 28 10:18:16 2022 * * Original Table Header: * Signature "DSDT" - * Length 0x00002222 (8738) + * Length 0x000021F4 (8692) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0x3A + * Checksum 0xF0 * OEM ID "BOCHS " * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { OperationRegion (DBG, SystemIO, 0x0402, One) Field (DBG, ByteAcc, NoLock, Preserve) { DBGB, 8 }
@@ -3389,42 +3389,23 @@ 0x01, // Alignment 0x0C, // Length ) }) } } Scope (\_SB) { Scope (PCI0) { Device (S00) { Name (_ADR, Zero) // _ADR: Address } - Device (S08) - { - Name (_ADR, 0x00010000) // _ADR: Address - Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State - { - Return (Zero) - } - - Method (_S2D, 0, NotSerialized) // _S2D: S2 Device State - { - Return (Zero) - } - - Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State - { - Return (Zero) - } - } - Method (PCNT, 0, NotSerialized) { } } } }
tmp/asl-GPEQR1.dsl renamed from tmp/asl-H3LQR1.dsl +3 -22
@@ -1,30 +1,30 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20220331 (64-bit version) * Copyright (c) 2000 - 2022 Intel Corporation * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.memhp, Sun Aug 28 10:18:17 2022 + * Disassembly of /tmp/aml-7OEQR1, Sun Aug 28 10:18:17 2022 * * Original Table Header: * Signature "DSDT" - * Length 0x000025A1 (9633) + * Length 0x00002573 (9587) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0xC8 + * Checksum 0x7D * OEM ID "BOCHS " * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { OperationRegion (DBG, SystemIO, 0x0402, One) Field (DBG, ByteAcc, NoLock, Preserve) { DBGB, 8 }
@@ -3548,42 +3548,23 @@ 0x01, // Alignment 0x0C, // Length ) }) } } Scope (\_SB) { Scope (PCI0) { Device (S00) { Name (_ADR, Zero) // _ADR: Address } - Device (S08) - { - Name (_ADR, 0x00010000) // _ADR: Address - Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State - { - Return (Zero) - } - - Method (_S2D, 0, NotSerialized) // _S2D: S2 Device State - { - Return (Zero) - } - - Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State - { - Return (Zero) - } - } - Method (PCNT, 0, NotSerialized) { } } } }
tmp/asl-5QKJR1.dsl renamed from tmp/asl-FSTJR1.dsl +3 -22
@@ -1,30 +1,30 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20220331 (64-bit version) * Copyright (c) 2000 - 2022 Intel Corporation * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.numamem, Sun Aug 28 10:18:18 2022 + * Disassembly of /tmp/aml-IFKJR1, Sun Aug 28 10:18:18 2022 * * Original Table Header: * Signature "DSDT" - * Length 0x00002058 (8280) + * Length 0x0000202A (8234) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0x80 + * Checksum 0x35 * OEM ID "BOCHS " * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { OperationRegion (DBG, SystemIO, 0x0402, One) Field (DBG, ByteAcc, NoLock, Preserve) { DBGB, 8 }
@@ -3244,42 +3244,23 @@ 0x01, // Alignment 0x0C, // Length ) }) } } Scope (\_SB) { Scope (PCI0) { Device (S00) { Name (_ADR, Zero) // _ADR: Address } - Device (S08) - { - Name (_ADR, 0x00010000) // _ADR: Address - Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State - { - Return (Zero) - } - - Method (_S2D, 0, NotSerialized) // _S2D: S2 Device State - { - Return (Zero) - } - - Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State - { - Return (Zero) - } - } - Method (PCNT, 0, NotSerialized) { } } } }
tmp/asl-ILSAR1.dsl renamed from tmp/asl-202AR1.dsl +3 -22
@@ -1,30 +1,30 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20220331 (64-bit version) * Copyright (c) 2000 - 2022 Intel Corporation * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.nohpet, Sun Aug 28 10:18:21 2022 + * Disassembly of /tmp/aml-3KSAR1, Sun Aug 28 10:18:21 2022 * * Original Table Header: * Signature "DSDT" - * Length 0x00001FC4 (8132) + * Length 0x00001F96 (8086) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0xA0 + * Checksum 0x55 * OEM ID "BOCHS " * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { OperationRegion (DBG, SystemIO, 0x0402, One) Field (DBG, ByteAcc, NoLock, Preserve) { DBGB, 8 }
@@ -3201,42 +3201,23 @@ 0x01, // Alignment 0x0C, // Length ) }) } } Scope (\_SB) { Scope (PCI0) { Device (S00) { Name (_ADR, Zero) // _ADR: Address } - Device (S08) - { - Name (_ADR, 0x00010000) // _ADR: Address - Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State - { - Return (Zero) - } - - Method (_S2D, 0, NotSerialized) // _S2D: S2 Device State - { - Return (Zero) - } - - Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State - { - Return (Zero) - } - } - Method (PCNT, 0, NotSerialized) { } } } }
tmp/asl-CPCPR1.dsl renamed from tmp/asl-KFFPR1.dsl +3 -22
@@ -1,30 +1,30 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20220331 (64-bit version) * Copyright (c) 2000 - 2022 Intel Corporation * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.dimmpxm, Sun Aug 28 10:18:22 2022 + * Disassembly of /tmp/aml-ZOCPR1, Sun Aug 28 10:18:22 2022 * * Original Table Header: * Signature "DSDT" - * Length 0x000026C8 (9928) + * Length 0x0000269A (9882) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0x24 + * Checksum 0xD9 * OEM ID "BOCHS " * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { External (_SB_.NVDR, UnknownObj) Scope (\) { OperationRegion (DBG, SystemIO, 0x0402, One) Field (DBG, ByteAcc, NoLock, Preserve) { DBGB, 8
@@ -3642,42 +3642,23 @@ 0x01, // Alignment 0x0C, // Length ) }) } } Scope (\_SB) { Scope (PCI0) { Device (S00) { Name (_ADR, Zero) // _ADR: Address } - Device (S08) - { - Name (_ADR, 0x00010000) // _ADR: Address - Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State - { - Return (Zero) - } - - Method (_S2D, 0, NotSerialized) // _S2D: S2 Device State - { - Return (Zero) - } - - Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State - { - Return (Zero) - } - } - Method (PCNT, 0, NotSerialized) { } } } }
tmp/asl-ZZ1HR1.dsl renamed from tmp/asl-M0NIR1.dsl +3 -22
@@ -1,30 +1,30 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20220331 (64-bit version) * Copyright (c) 2000 - 2022 Intel Corporation * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.acpihmat, Sun Aug 28 10:18:23 2022 + * Disassembly of /tmp/aml-I21HR1, Sun Aug 28 10:18:23 2022 * * Original Table Header: * Signature "DSDT" - * Length 0x0000257F (9599) + * Length 0x00002551 (9553) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0x93 + * Checksum 0x48 * OEM ID "BOCHS " * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { OperationRegion (DBG, SystemIO, 0x0402, One) Field (DBG, ByteAcc, NoLock, Preserve) { DBGB, 8 }
@@ -3542,42 +3542,23 @@ 0x01, // Alignment 0x0C, // Length ) }) } } Scope (\_SB) { Scope (PCI0) { Device (S00) { Name (_ADR, Zero) // _ADR: Address } - Device (S08) - { - Name (_ADR, 0x00010000) // _ADR: Address - Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State - { - Return (Zero) - } - - Method (_S2D, 0, NotSerialized) // _S2D: S2 Device State - { - Return (Zero) - } - - Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State - { - Return (Zero) - } - } - Method (PCNT, 0, NotSerialized) { } } } }
tmp/asl-LYHMR1.dsl renamed from tmp/asl-CUJMR1.dsl +57 -57
574 lines not on this page · raw message
tmp/asl-Z1SMR1.dsl renamed from tmp/asl-CRWMR1.dsl +3 -22
@@ -1,30 +1,30 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20220331 (64-bit version) * Copyright (c) 2000 - 2022 Intel Corporation * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.acpierst, Sun Aug 28 10:18:24 2022 + * Disassembly of /tmp/aml-0XHMR1, Sun Aug 28 10:18:24 2022 * * Original Table Header: * Signature "DSDT" - * Length 0x00002063 (8291) + * Length 0x00002035 (8245) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0x76 + * Checksum 0x07 * OEM ID "BOCHS " * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { OperationRegion (DBG, SystemIO, 0x0402, One) Field (DBG, ByteAcc, NoLock, Preserve) { DBGB, 8 }
@@ -3245,44 +3245,25 @@ }) } } Scope (\_SB) { Scope (PCI0) { Device (S00) { Name (_ADR, Zero) // _ADR: Address } Device (S08) { Name (_ADR, 0x00010000) // _ADR: Address - Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State - { - Return (Zero) - } - - Method (_S2D, 0, NotSerialized) // _S2D: S2 Device State - { - Return (Zero) - } - - Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State - { - Return (Zero) - } - } - - Device (S10) - { - Name (_ADR, 0x00020000) // _ADR: Address } Method (PCNT, 0, NotSerialized) { }z } } }
tmp/asl-1IAGR1.dsl renamed from tmp/asl-P6EGR1.dsl +3 -22
@@ -1,30 +1,30 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20220331 (64-bit version) * Copyright (c) 2000 - 2022 Intel Corporation * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.applesmc, Sun Aug 28 10:18:24 2022 + * Disassembly of /tmp/aml-AIAGR1, Sun Aug 28 10:18:24 2022 * * Original Table Header: * Signature "DSDT" - * Length 0x00002080 (8320) + * Length 0x00002052 (8274) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0xC7 + * Checksum 0x7C * OEM ID "BOCHS " * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { OperationRegion (DBG, SystemIO, 0x0402, One) Field (DBG, ByteAcc, NoLock, Preserve) { DBGB, 8 }
@@ -3259,42 +3259,23 @@ 0x01, // Alignment 0x0C, // Length ) }) } } Scope (\_SB) { Scope (PCI0) { Device (S00) { Name (_ADR, Zero) // _ADR: Address } - Device (S08) - { - Name (_ADR, 0x00010000) // _ADR: Address - Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State - { - Return (Zero) - } - - Method (_S2D, 0, NotSerialized) // _S2D: S2 Device State - { - Return (Zero) - } - - Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State - { - Return (Zero) - } - } - Method (PCNT, 0, NotSerialized) { } } } }
tmp/asl-1XDBR1.dsl renamed from tmp/asl-JKF9Q1.dsl +3 -22
@@ -1,30 +1,30 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20220331 (64-bit version) * Copyright (c) 2000 - 2022 Intel Corporation * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.pvpanic-isa, Sun Aug 28 10:18:25 2022 + * Disassembly of /tmp/aml-HWDBR1, Sun Aug 28 10:18:25 2022 * * Original Table Header: * Signature "DSDT" - * Length 0x000020B7 (8375) + * Length 0x00002089 (8329) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0x85 + * Checksum 0x3A * OEM ID "BOCHS " * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { OperationRegion (DBG, SystemIO, 0x0402, One) Field (DBG, ByteAcc, NoLock, Preserve) { DBGB, 8 }
@@ -3273,42 +3273,23 @@ 0x01, // Alignment 0x0C, // Length ) }) } } Scope (\_SB) { Scope (PCI0) { Device (S00) { Name (_ADR, Zero) // _ADR: Address } - Device (S08) - { - Name (_ADR, 0x00010000) // _ADR: Address - Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State - { - Return (Zero) - } - - Method (_S2D, 0, NotSerialized) // _S2D: S2 Device State - { - Return (Zero) - } - - Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State - { - Return (Zero) - } - } - Method (PCNT, 0, NotSerialized) { } } } }
tmp/asl-SZ5OR1.dsl renamed from tmp/asl-A47OR1.dsl +18 -29
150 lines not on this page · raw message
tmp/asl-2LMPR1.dsl renamed from tmp/asl-O4HPR1.dsl +3 -22
@@ -1,30 +1,30 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20220331 (64-bit version) * Copyright (c) 2000 - 2022 Intel Corporation * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.ivrs, Sun Aug 28 10:18:26 2022 + * Disassembly of /tmp/aml-3Z5OR1, Sun Aug 28 10:18:26 2022 * * Original Table Header: * Signature "DSDT" - * Length 0x00002063 (8291) + * Length 0x00002035 (8245) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0x76 + * Checksum 0x07 * OEM ID "BOCHS " * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { OperationRegion (DBG, SystemIO, 0x0402, One) Field (DBG, ByteAcc, NoLock, Preserve) { DBGB, 8 }
@@ -3245,44 +3245,25 @@ }) } } Scope (\_SB) { Scope (PCI0) { Device (S00) { Name (_ADR, Zero) // _ADR: Address } Device (S08) { Name (_ADR, 0x00010000) // _ADR: Address - Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State - { - Return (Zero) - } - - Method (_S2D, 0, NotSerialized) // _S2D: S2 Device State - { - Return (Zero) - } - - Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State - { - Return (Zero) - } - } - - Device (S10) - { - Name (_ADR, 0x00020000) // _ADR: Address } Method (PCNT, 0, NotSerialized) { } } } }
tmp/asl-XTDSR1.dsl renamed from tmp/asl-N3YPR1.dsl +5 -5
@@ -1,67 +1,67 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20220331 (64-bit version) * Copyright (c) 2000 - 2022 Intel Corporation * - * Disassembly of tests/data/acpi/q35/VIOT.viot, Sun Aug 28 10:18:27 2022 + * Disassembly of /tmp/aml-JWDSR1, Sun Aug 28 10:18:27 2022 * * ACPI Data Table [VIOT] * * Format: [HexOffset DecimalOffset ByteLength] FieldName : FieldValue (in hex) */ [000h 0000 4] Signature : "VIOT" [Virtual I/O Translation Table] [004h 0004 4] Table Length : 00000070 [008h 0008 1] Revision : 00 -[009h 0009 1] Checksum : 3D +[009h 0009 1] Checksum : 45 [00Ah 0010 6] Oem ID : "BOCHS " [010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 [024h 0036 2] Node count : 0003 [026h 0038 2] Node offset : 0030 [028h 0040 8] Reserved : 0000000000000000 [030h 0048 1] Type : 03 [VirtIO-PCI IOMMU] [031h 0049 1] Reserved : 00 [032h 0050 2] Length : 0010 [034h 0052 2] PCI Segment : 0000 -[036h 0054 2] PCI BDF number : 0010 +[036h 0054 2] PCI BDF number : 0008 [038h 0056 8] Reserved : 0000000000000000 [040h 0064 1] Type : 01 [PCI Range] [041h 0065 1] Reserved : 00 [042h 0066 2] Length : 0018 [044h 0068 4] Endpoint start : 00001000 [048h 0072 2] PCI Segment start : 0000 [04Ah 0074 2] PCI Segment end : 0000 [04Ch 0076 2] PCI BDF start : 1000 [04Eh 0078 2] PCI BDF end : 10FF [050h 0080 2] Output node : 0030 [052h 0082 6] Reserved : 000000000000 [058h 0088 1] Type : 01 [PCI Range] [059h 0089 1] Reserved : 00 [05Ah 0090 2] Length : 0018 [05Ch 0092 4] Endpoint start : 00003000 [060h 0096 2] PCI Segment start : 0000 [062h 0098 2] PCI Segment end : 0000 [064h 0100 2] PCI BDF start : 3000 [066h 0102 2] PCI BDF end : 30FF [068h 0104 2] Output node : 0030 [06Ah 0106 6] Reserved : 000000000000 Raw Table Data: Length 112 (0x70) - 0000: 56 49 4F 54 70 00 00 00 00 3D 42 4F 43 48 53 20 // VIOTp....=BOCHS + 0000: 56 49 4F 54 70 00 00 00 00 45 42 4F 43 48 53 20 // VIOTp....EBOCHS 0010: 42 58 50 43 20 20 20 20 01 00 00 00 42 58 50 43 // BXPC ....BXPC 0020: 01 00 00 00 03 00 30 00 00 00 00 00 00 00 00 00 // ......0......... - 0030: 03 00 10 00 00 00 10 00 00 00 00 00 00 00 00 00 // ................ + 0030: 03 00 10 00 00 00 08 00 00 00 00 00 00 00 00 00 // ................ 0040: 01 00 18 00 00 10 00 00 00 00 00 00 00 10 FF 10 // ................ 0050: 30 00 00 00 00 00 00 00 01 00 18 00 00 30 00 00 // 0............0.. 0060: 00 00 00 00 00 30 FF 30 30 00 00 00 00 00 00 00 // .....0.00.......
tmp/asl-WFUPR1.dsl renamed from tmp/asl-RNCQR1.dsl +3 -22
@@ -1,30 +1,30 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20220331 (64-bit version) * Copyright (c) 2000 - 2022 Intel Corporation * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.viot, Sun Aug 28 10:18:27 2022 + * Disassembly of /tmp/aml-8TDSR1, Sun Aug 28 10:18:27 2022 * * Original Table Header: * Signature "DSDT" - * Length 0x000024A7 (9383) + * Length 0x0000247B (9339) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0x83 + * Checksum 0xD7 * OEM ID "BOCHS " * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { OperationRegion (DBG, SystemIO, 0x0402, One) Field (DBG, ByteAcc, NoLock, Preserve) { DBGB, 8 }
@@ -3578,59 +3578,40 @@ }) } } Scope (\_SB) { Scope (PCI0) { Device (S00) { Name (_ADR, Zero) // _ADR: Address } Device (S08) { Name (_ADR, 0x00010000) // _ADR: Address - Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State - { - Return (Zero) - } - - Method (_S2D, 0, NotSerialized) // _S2D: S2 Device State - { - Return (Zero) - } - - Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State - { - Return (Zero) - } } Device (S10) { Name (_ADR, 0x00020000) // _ADR: Address } Device (S18) { Name (_ADR, 0x00030000) // _ADR: Address } Device (S20) { Name (_ADR, 0x00040000) // _ADR: Address } - Device (S28) - { - Name (_ADR, 0x00050000) // _ADR: Address - } - Method (PCNT, 0, NotSerialized) { } } } }
tmp/asl-Z57RR1.dsl renamed from tmp/asl-V1YPR1.dsl +3 -22
@@ -1,30 +1,30 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20220331 (64-bit version) * Copyright (c) 2000 - 2022 Intel Corporation * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.ipmismbus, Sun Aug 28 10:18:30 2022 + * Disassembly of /tmp/aml-OU7RR1, Sun Aug 28 10:18:30 2022 * * Original Table Header: * Signature "DSDT" - * Length 0x000020AB (8363) + * Length 0x0000207D (8317) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0x55 + * Checksum 0x0A * OEM ID "BOCHS " * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { OperationRegion (DBG, SystemIO, 0x0402, One) Field (DBG, ByteAcc, NoLock, Preserve) { DBGB, 8 }
@@ -3257,42 +3257,23 @@ 0x01, // Alignment 0x0C, // Length ) }) } } Scope (\_SB) { Scope (PCI0) { Device (S00) { Name (_ADR, Zero) // _ADR: Address } - Device (S08) - { - Name (_ADR, 0x00010000) // _ADR: Address - Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State - { - Return (Zero) - } - - Method (_S2D, 0, NotSerialized) // _S2D: S2 Device State - { - Return (Zero) - } - - Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State - { - Return (Zero) - } - } - Method (PCNT, 0, NotSerialized) { } } } }
tmp/asl-7GIJR1.dsl renamed from tmp/asl-4JVHR1.dsl +3 -22
@@ -1,30 +1,30 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20220331 (64-bit version) * Copyright (c) 2000 - 2022 Intel Corporation * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.xapic, Sun Aug 28 10:18:31 2022 + * Disassembly of /tmp/aml-3FIJR1, Sun Aug 28 10:18:31 2022 * * Original Table Header: * Signature "DSDT" - * Length 0x00008B35 (35637) + * Length 0x00008B07 (35591) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0x8C + * Checksum 0x41 * OEM ID "BOCHS " * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { OperationRegion (DBG, SystemIO, 0x0402, One) Field (DBG, ByteAcc, NoLock, Preserve) { DBGB, 8 }
@@ -11666,42 +11666,23 @@ 0x01, // Alignment 0x0C, // Length ) }) } } Scope (\_SB) { Scope (PCI0) { Device (S00) { Name (_ADR, Zero) // _ADR: Address } - Device (S08) - { - Name (_ADR, 0x00010000) // _ADR: Address - Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State - { - Return (Zero) - } - - Method (_S2D, 0, NotSerialized) // _S2D: S2 Device State - { - Return (Zero) - } - - Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State - { - Return (Zero) - } - } - Method (PCNT, 0, NotSerialized) { } } } }
tmp/asl-BFSIR1.dsl renamed from tmp/asl-IMCJR1.dsl +42 -57
316 lines not on this page · raw message
tmp/asl-R186Q1.dsl renamed from tmp/asl-MO6FR1.dsl +13 -18
@@ -1,30 +1,30 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20220331 (64-bit version) * Copyright (c) 2000 - 2022 Intel Corporation * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/pc/DSDT.ipmikcs, Sun Aug 28 10:18:33 2022 + * Disassembly of /tmp/aml-YP86Q1, Sun Aug 28 10:18:33 2022 * * Original Table Header: * Signature "DSDT" - * Length 0x000017AB (6059) + * Length 0x000017B0 (6064) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0xF7 + * Checksum 0xED * OEM ID "BOCHS " * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { OperationRegion (DBG, SystemIO, 0x0402, One) Field (DBG, ByteAcc, NoLock, Preserve) { DBGB, 8 }
@@ -940,52 +940,42 @@ { Scope (PCI0) { Name (BSEL, Zero) Device (S00) { Name (_ADR, Zero) // _ADR: Address Name (ASUN, Zero) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { Return (PDSM (Arg0, Arg1, Arg2, Arg3, BSEL, ASUN)) } } Device (S10) { + Name (_SUN, 0x02) // _SUN: Slot User Number Name (_ADR, 0x00020000) // _ADR: Address - Name (ASUN, 0x02) - Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method - { - Return (PDSM (Arg0, Arg1, Arg2, Arg3, BSEL, ASUN)) - } - - Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State - { - Return (Zero) - } - - Method (_S2D, 0, NotSerialized) // _S2D: S2 Device State + Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device, x=0-9 { - Return (Zero) + PCEJ (BSEL, _SUN) } - Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State + Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { - Return (Zero) + Return (PDSM (Arg0, Arg1, Arg2, Arg3, BSEL, _SUN)) } } Device (S18) { Name (_SUN, 0x03) // _SUN: Slot User Number Name (_ADR, 0x00030000) // _ADR: Address Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device, x=0-9 { PCEJ (BSEL, _SUN) } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { Return (PDSM (Arg0, Arg1, Arg2, Arg3, BSEL, _SUN)) }
@@ -1400,32 +1390,37 @@ { Name (_SUN, 0x1F) // _SUN: Slot User Number Name (_ADR, 0x001F0000) // _ADR: Address Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device, x=0-9 { PCEJ (BSEL, _SUN) } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { Return (PDSM (Arg0, Arg1, Arg2, Arg3, BSEL, _SUN)) } } Method (DVNT, 2, NotSerialized) { + If ((Arg0 & 0x04)) + { + Notify (S10, Arg1) + } + If ((Arg0 & 0x08)) { Notify (S18, Arg1) } If ((Arg0 & 0x10)) { Notify (S20, Arg1) } If ((Arg0 & 0x20)) { Notify (S28, Arg1) } If ((Arg0 & 0x40))
tmp/asl-HLA9Q1.dsl renamed from tmp/asl-8HE9Q1.dsl +13 -18
@@ -1,30 +1,30 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20220331 (64-bit version) * Copyright (c) 2000 - 2022 Intel Corporation * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/pc/DSDT.cphp, Sun Aug 28 10:18:34 2022 + * Disassembly of /tmp/aml-LNA9Q1, Sun Aug 28 10:18:34 2022 * * Original Table Header: * Signature "DSDT" - * Length 0x00001933 (6451) + * Length 0x00001938 (6456) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0xD3 + * Checksum 0xC9 * OEM ID "BOCHS " * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { OperationRegion (DBG, SystemIO, 0x0402, One) Field (DBG, ByteAcc, NoLock, Preserve) { DBGB, 8 }
@@ -1069,52 +1069,42 @@ { Scope (PCI0) { Name (BSEL, Zero) Device (S00) { Name (_ADR, Zero) // _ADR: Address Name (ASUN, Zero) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { Return (PDSM (Arg0, Arg1, Arg2, Arg3, BSEL, ASUN)) } } Device (S10) { + Name (_SUN, 0x02) // _SUN: Slot User Number Name (_ADR, 0x00020000) // _ADR: Address - Name (ASUN, 0x02) - Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method - { - Return (PDSM (Arg0, Arg1, Arg2, Arg3, BSEL, ASUN)) - } - - Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State - { - Return (Zero) - } - - Method (_S2D, 0, NotSerialized) // _S2D: S2 Device State + Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device, x=0-9 { - Return (Zero) + PCEJ (BSEL, _SUN) } - Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State
Lines of this file are not shown. View the raw message.
tmp/asl-YZWOR1.dsl renamed from tmp/asl-G6YOR1.dsl +13 -18
Lines of this file are not shown. View the raw message.
tmp/asl-SRTIR1.dsl renamed from tmp/asl-U0BJR1.dsl +13 -18
Lines of this file are not shown. View the raw message.
tmp/asl-YWXLR1.dsl renamed from tmp/asl-EKGMR1.dsl +13 -18
Lines of this file are not shown. View the raw message.
tmp/asl-QJ1FR1.dsl renamed from tmp/asl-FEJGR1.dsl +13 -18
Lines of this file are not shown. View the raw message.
tmp/asl-56IBR1.dsl renamed from tmp/asl-8348Q1.dsl +13 -18
Lines of this file are not shown. View the raw message.
tmp/asl-62LPR1.dsl renamed from tmp/asl-ZUPPR1.dsl +15 -20
Lines of this file are not shown. View the raw message.
tmp/asl-WL3PR1.dsl renamed from tmp/asl-DXBQR1.dsl +4 -23
Lines of this file are not shown. View the raw message.
tmp/asl-5OLHR1.dsl renamed from tmp/asl-HPDHR1.dsl +15 -20
Lines of this file are not shown. View the raw message.
tmp/asl-BFWLR1.dsl renamed from tmp/asl-U4ZLR1.dsl +3 -22
Lines of this file are not shown. View the raw message.
tmp/asl-M4POR1.dsl renamed from tmp/asl-SR9OR1.dsl +57 -57
114 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
--- tests/qtest/bios-tables-test-allowed-diff.h | 39 -------------------- tests/data/acpi/pc/DSDT | Bin 5987 -> 5992 bytes tests/data/acpi/pc/DSDT.acpierst | Bin 5954 -> 5959 bytes tests/data/acpi/pc/DSDT.acpihmat | Bin 7312 -> 7317 bytes tests/data/acpi/pc/DSDT.bridge | Bin 8653 -> 8658 bytes tests/data/acpi/pc/DSDT.cphp | Bin 6451 -> 6456 bytes tests/data/acpi/pc/DSDT.dimmpxm | Bin 7641 -> 7646 bytes tests/data/acpi/pc/DSDT.hpbridge | Bin 5954 -> 5959 bytes tests/data/acpi/pc/DSDT.hpbrroot | Bin 3069 -> 3023 bytes tests/data/acpi/pc/DSDT.ipmikcs | Bin 6059 -> 6064 bytes tests/data/acpi/pc/DSDT.memhp | Bin 7346 -> 7351 bytes tests/data/acpi/pc/DSDT.nohpet | Bin 5845 -> 5850 bytes tests/data/acpi/pc/DSDT.numamem | Bin 5993 -> 5998 bytes tests/data/acpi/pc/DSDT.roothp | Bin 6195 -> 6151 bytes tests/data/acpi/pc/ERST.acpierst | Bin 912 -> 912 bytes tests/data/acpi/q35/DMAR.dmar | Bin 120 -> 112 bytes tests/data/acpi/q35/DSDT | Bin 8274 -> 8228 bytes tests/data/acpi/q35/DSDT.acpierst | Bin 8291 -> 8245 bytes tests/data/acpi/q35/DSDT.acpihmat | Bin 9599 -> 9553 bytes tests/data/acpi/q35/DSDT.applesmc | Bin 8320 -> 8274 bytes tests/data/acpi/q35/DSDT.bridge | Bin 10988 -> 10944 bytes tests/data/acpi/q35/DSDT.cphp | Bin 8738 -> 8692 bytes tests/data/acpi/q35/DSDT.cxl | Bin 9600 -> 9502 bytes tests/data/acpi/q35/DSDT.dimmpxm | Bin 9928 -> 9882 bytes tests/data/acpi/q35/DSDT.ipmibt | Bin 8349 -> 8303 bytes tests/data/acpi/q35/DSDT.ipmismbus | Bin 8363 -> 8317 bytes tests/data/acpi/q35/DSDT.ivrs | Bin 8291 -> 8245 bytes tests/data/acpi/q35/DSDT.memhp | Bin 9633 -> 9587 bytes tests/data/acpi/q35/DSDT.mmio64 | Bin 9404 -> 9358 bytes tests/data/acpi/q35/DSDT.multi-bridge | Bin 8568 -> 8524 bytes tests/data/acpi/q35/DSDT.nohpet | Bin 8132 -> 8086 bytes tests/data/acpi/q35/DSDT.numamem | Bin 8280 -> 8234 bytes tests/data/acpi/q35/DSDT.pvpanic-isa | Bin 8375 -> 8329 bytes tests/data/acpi/q35/DSDT.tis.tpm12 | Bin 8880 -> 8834 bytes tests/data/acpi/q35/DSDT.tis.tpm2 | Bin 8906 -> 8860 bytes tests/data/acpi/q35/DSDT.viot | Bin 9383 -> 9339 bytes tests/data/acpi/q35/DSDT.xapic | Bin 35637 -> 35591 bytes tests/data/acpi/q35/ERST.acpierst | Bin 912 -> 912 bytes tests/data/acpi/q35/IVRS.ivrs | Bin 104 -> 100 bytes tests/data/acpi/q35/VIOT.viot | Bin 112 -> 112 bytes 40 files changed, 39 deletions(-)
tests/qtest/bios-tables-test-allowed-diff.h +0 -39
Lines of this file are not shown. View the raw message.
tests/data/acpi/pc/DSDT binary +0 -0
tests/data/acpi/pc/DSDT.acpierst binary +0 -0
tests/data/acpi/pc/DSDT.acpihmat binary +0 -0
tests/data/acpi/pc/DSDT.bridge binary +0 -0
tests/data/acpi/pc/DSDT.cphp binary +0 -0
tests/data/acpi/pc/DSDT.dimmpxm binary +0 -0
tests/data/acpi/pc/DSDT.hpbridge binary +0 -0
tests/data/acpi/pc/DSDT.hpbrroot binary +0 -0
tests/data/acpi/pc/DSDT.ipmikcs binary +0 -0
tests/data/acpi/pc/DSDT.memhp binary +0 -0
tests/data/acpi/pc/DSDT.nohpet binary +0 -0
tests/data/acpi/pc/DSDT.numamem binary +0 -0
tests/data/acpi/pc/DSDT.roothp binary +0 -0
tests/data/acpi/pc/ERST.acpierst binary +0 -0
tests/data/acpi/q35/DMAR.dmar binary +0 -0
tests/data/acpi/q35/DSDT binary +0 -0
tests/data/acpi/q35/DSDT.acpierst binary +0 -0
tests/data/acpi/q35/DSDT.acpihmat binary +0 -0
tests/data/acpi/q35/DSDT.applesmc binary +0 -0
tests/data/acpi/q35/DSDT.bridge binary +0 -0
tests/data/acpi/q35/DSDT.cphp binary +0 -0
tests/data/acpi/q35/DSDT.cxl binary +0 -0
tests/data/acpi/q35/DSDT.dimmpxm binary +0 -0
tests/data/acpi/q35/DSDT.ipmibt binary +0 -0
tests/data/acpi/q35/DSDT.ipmismbus binary +0 -0
tests/data/acpi/q35/DSDT.ivrs binary +0 -0
tests/data/acpi/q35/DSDT.memhp binary +0 -0
tests/data/acpi/q35/DSDT.mmio64 binary +0 -0
tests/data/acpi/q35/DSDT.multi-bridge binary +0 -0
tests/data/acpi/q35/DSDT.nohpet binary +0 -0
tests/data/acpi/q35/DSDT.numamem binary +0 -0
tests/data/acpi/q35/DSDT.pvpanic-isa binary +0 -0
tests/data/acpi/q35/DSDT.tis.tpm12 binary +0 -0
tests/data/acpi/q35/DSDT.tis.tpm2 binary +0 -0
tests/data/acpi/q35/DSDT.viot binary +0 -0
tests/data/acpi/q35/DSDT.xapic binary +0 -0
tests/data/acpi/q35/ERST.acpierst binary +0 -0
tests/data/acpi/q35/IVRS.ivrs binary +0 -0
tests/data/acpi/q35/VIOT.viot binary +0 -0
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.37.2
Part of the diff is not shown here. View the raw message.
PATCH 6/8 tests: Fix error strings
In reply to Juan QuintelaThey were copy-pasted from e1000e and never changed.
--- tests/qtest/e1000-test.c | 2 +- tests/qtest/es1370-test.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
tests/qtest/e1000-test.c +1 -1
@@ -35,7 +35,7 @@ static void *e1000_get_driver(void *obj, const char *interface)return &e1000->dev; } -fprintf (stderr,"%s not present in e1000e\n" , interface); +fprintf (stderr,"%s not present in e1000\n" , interface);g_assert_not_reached (); }
tests/qtest/es1370-test.c +1 -1
@@ -28,7 +28,7 @@ static void *es1370_get_driver(void *obj, const char *interface)return &es1370->dev; } -fprintf (stderr,"%s not present in e1000e\n" , interface); +fprintf (stderr,"%s not present in es1370\n" , interface);g_assert_not_reached (); }
Signature · 1 line
2.37.2
Re: [PATCH 6/8] tests: Fix error strings
Quoted 7 lines · Juan Quintela
They were copy-pasted from e1000e and never changed.
Signed-off-by Juan Quintela <[email protected]>--- tests/qtest/e1000-test.c | 2 +- tests/qtest/es1370-test.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
PATCH 7/8 meson-build: Enable CONFIG_REPLICATION only when replication is set
In reply to Juan Quintela--- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meson.build +1 -1
@@ -1878,7 +1878,7 @@ config_host_data.set('CONFIG_DEBUG_STACK_USAGE', get_option('debug_stack_usage') config_host_data.set('CONFIG_GPROF', get_option('gprof')) config_host_data.set('CONFIG_LIVE_BLOCK_MIGRATION', get_option('live_block_migration').allowed()) config_host_data.set('CONFIG_QOM_CAST_DEBUG', get_option('qom_cast_debug')) -config_host_data.set('CONFIG_REPLICATION', get_option('live_block_migration').allowed()) +config_host_data.set('CONFIG_REPLICATION', get_option('replication').allowed()) # has_header config_host_data.set('CONFIG_EPOLL', cc.has_header('sys/epoll.h'))
Signature · 1 line
2.37.2
Re: [PATCH 7/8] meson-build: Enable CONFIG_REPLICATION only when replication is set
Quoted 10 lines · Juan Quintela
Signed-off-by Juan Quintela <[email protected]>--- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meson.build +0
-0
meson.build config_host_data.set('CONFIG_DEBUG_STACK_USAGE', get_option('debug_stack_usage') · line 1884
Quoted 8 lines
meson.build +1
-1@@ -1878,7 +1878,7 @@ config_host_data.set('CONFIG_DEBUG_STACK_USAGE', get_option('debug_stack_usage') config_host_data.set('CONFIG_GPROF', get_option('gprof')) config_host_data.set('CONFIG_LIVE_BLOCK_MIGRATION', get_option('live_block_migration').allowed()) config_host_data.set('CONFIG_QOM_CAST_DEBUG', get_option('qom_cast_debug')) -config_host_data.set('CONFIG_REPLICATION', get_option('live_block_migration').allowed()) +config_host_data.set('CONFIG_REPLICATION', get_option('replication').allowed()) # has_header config_host_data.set('CONFIG_EPOLL', cc.has_header('sys/epoll.h'))
PATCH 8/8 meson-build: test-crypto-secret depends on CONFIG_SECRET_KEYRING
In reply to Juan QuintelaWith this change "make check" works when configured with --disable-keyring.
--- tests/unit/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
tests/unit/meson.build +3 -1
@@ -78,7 +78,6 @@ if have_block 'test-crypto-hmac': [crypto], 'test-crypto-cipher': [crypto], 'test-crypto-akcipher': [crypto], - 'test-crypto-secret': [crypto, keyutils], 'test-crypto-der': [crypto], 'test-authz-simple': [authz], 'test-authz-list': [authz],
@@ -122,6 +121,9 @@ if have_block if config_host_data.get('CONFIG_EPOLL_CREATE1') tests += {'test-fdmon-epoll': [testblock]} endif + if config_host_data.get('CONFIG_SECRET_KEYRING') + tests += {'test-crypto-secret': [crypto, keyutils]} + endif endif if have_system
Signature · 1 line
2.37.2
Re: [PATCH 8/8] meson-build: test-crypto-secret depends on CONFIG_SECRET_KEYRING
Quoted 20 lines · Juan Quintela
With this change "make check" works when configured with --disable-keyring.
Signed-off-by Juan Quintela <[email protected]>--- tests/unit/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)tests/unit/meson.build +0
-1@@ -78,7 +78,6 @@ if have_block 'test-crypto-hmac': [crypto], 'test-crypto-cipher': [crypto], 'test-crypto-akcipher': [crypto], - 'test-crypto-secret': [crypto, keyutils], 'test-crypto-der': [crypto], 'test-authz-simple': [authz], 'test-authz-list': [authz],
tests/unit/meson.build if have_block · line 129
Quoted 9 lines
tests/unit/meson.build +3
-0@@ -122,6 +121,9 @@ if have_block if config_host_data.get('CONFIG_EPOLL_CREATE1') tests += {'test-fdmon-epoll': [testblock]} endif + if config_host_data.get('CONFIG_SECRET_KEYRING') + tests += {'test-crypto-secret': [crypto, keyutils]} + endif endif if have_system
Re: [PATCH 8/8] meson-build: test-crypto-secret depends on CONFIG_SECRET_KEYRING
In reply to Juan QuintelaQuoted 20 lines · Juan Quintela
With this change "make check" works when configured with --disable-keyring.
Signed-off-by Juan Quintela <[email protected]>--- tests/unit/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)tests/unit/meson.build +0
-1@@ -78,7 +78,6 @@ if have_block 'test-crypto-hmac': [crypto], 'test-crypto-cipher': [crypto], 'test-crypto-akcipher': [crypto], - 'test-crypto-secret': [crypto, keyutils], 'test-crypto-der': [crypto], 'test-authz-simple': [authz], 'test-authz-list': [authz],
tests/unit/meson.build if have_block · line 127
Quoted 7 lines
tests/unit/meson.build +3
-0@@ -122,6 +121,9 @@ if have_block if config_host_data.get('CONFIG_EPOLL_CREATE1') tests += {'test-fdmon-epoll': [testblock]} endif + if config_host_data.get('CONFIG_SECRET_KEYRING') + tests += {'test-crypto-secret': [crypto, keyutils]} + endif endif
This is not right, as it disables testing on all non-Linux platforms. The code in test-crypto-secret is already conditional on CONFIG_KEYUTILS so it can run on all platforms. The code just needs changing to be using CONFIG_SECRET_KEYRING instead of CONFIG_KEYUTILS as the former is more general. Don't touch the meson rules at all.
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoted 20 lines · Juan Quintela
Hi
For a long, long time I have had local hacks on my tree to be able to run "make tests" when I have a minimal configure guest. This is a first try to upstream some of it.
- by default we always setup -display none (it already was the default, but some places added it anyways)
- by default we always setup -net none. Not clear what was the default, but no tests use the default net, so it is safe change and now it is explicit.
- by default we always setup -vga none. This is a complete difference can of worms. Every tests that use vga already set vga correctly, so this is quite obvious, right? Now they are acpi tables. They are a mess. And basically this means remove a device for each one of them. Why going through all the trouble? Because while I am develping, I normall compile out vga.
Quoted 7 lines
- Fix several error strings that were set with copy paste.
- replication test requires
CONFIG_REPLICATION.
- test-crypto-secret requiresCONFIG_SECRET_KEYRING.Please review. Except for the acpi changes (that I hope I have done right following the instructions) the rest is quite obvious.
I think this might break some of the fuzz regression tests, because they have "baked-in" PCI configuration commands with hard-coded PCI addresses, which will shift around if some device is removed (e.g. with -net none). Probably the fix is to add addr=... to the -device parameter in the fuzz tests to keep the PCI address stable.
-Alex
Quoted 75 lines
Later, Juan.
Juan Quintela (8):
qtest: "-display none" is set inqtest_init()
qtest: Set "-net none" inqtest_init()
tests/acpi: The new default is -vga none
tests/qtest: Add -vga none by default
tests/acpi: Regenerate all needed tables
tests: Fix error strings
meson-build: EnableCONFIG_REPLICATIONonly when replication is set
meson-build: test-crypto-secret depends onCONFIG_SECRET_KEYRINGmeson.build | 2 +- tests/qtest/bios-tables-test.c | 2 +- tests/qtest/boot-serial-test.c | 4 ++-- tests/qtest/dbus-display-test.c | 2 +- tests/qtest/display-vga-test.c | 12 ++++++------ tests/qtest/e1000-test.c | 2 +- tests/qtest/es1370-test.c | 2 +- tests/qtest/fuzz-lsi53c895a-test.c | 2 +- tests/qtest/fuzz-megasas-test.c | 2 +- tests/qtest/fuzz-sb16-test.c | 6 +++--- tests/qtest/fuzz-sdcard-test.c | 6 +++--- tests/qtest/fuzz-virtio-scsi-test.c | 2 +- tests/qtest/fuzz-xlnx-dp-test.c | 2 +- tests/qtest/fuzz/generic_fuzz.c | 3 +-- tests/qtest/fuzz/i440fx_fuzz.c | 2 +- tests/qtest/fuzz/qos_fuzz.c | 2 +- tests/qtest/libqtest.c | 2 ++ tests/data/acpi/pc/DSDT | Bin 5987 -> 5992 bytes tests/data/acpi/pc/DSDT.acpierst | Bin 5954 -> 5959 bytes tests/data/acpi/pc/DSDT.acpihmat | Bin 7312 -> 7317 bytes tests/data/acpi/pc/DSDT.bridge | Bin 8653 -> 8658 bytes tests/data/acpi/pc/DSDT.cphp | Bin 6451 -> 6456 bytes tests/data/acpi/pc/DSDT.dimmpxm | Bin 7641 -> 7646 bytes tests/data/acpi/pc/DSDT.hpbridge | Bin 5954 -> 5959 bytes tests/data/acpi/pc/DSDT.hpbrroot | Bin 3069 -> 3023 bytes tests/data/acpi/pc/DSDT.ipmikcs | Bin 6059 -> 6064 bytes tests/data/acpi/pc/DSDT.memhp | Bin 7346 -> 7351 bytes tests/data/acpi/pc/DSDT.nohpet | Bin 5845 -> 5850 bytes tests/data/acpi/pc/DSDT.numamem | Bin 5993 -> 5998 bytes tests/data/acpi/pc/DSDT.roothp | Bin 6195 -> 6151 bytes tests/data/acpi/pc/ERST.acpierst | Bin 912 -> 912 bytes tests/data/acpi/q35/DMAR.dmar | Bin 120 -> 112 bytes tests/data/acpi/q35/DSDT | Bin 8274 -> 8228 bytes tests/data/acpi/q35/DSDT.acpierst | Bin 8291 -> 8245 bytes tests/data/acpi/q35/DSDT.acpihmat | Bin 9599 -> 9553 bytes tests/data/acpi/q35/DSDT.applesmc | Bin 8320 -> 8274 bytes tests/data/acpi/q35/DSDT.bridge | Bin 10988 -> 10944 bytes tests/data/acpi/q35/DSDT.cphp | Bin 8738 -> 8692 bytes tests/data/acpi/q35/DSDT.cxl | Bin 9600 -> 9502 bytes tests/data/acpi/q35/DSDT.dimmpxm | Bin 9928 -> 9882 bytes tests/data/acpi/q35/DSDT.ipmibt | Bin 8349 -> 8303 bytes tests/data/acpi/q35/DSDT.ipmismbus | Bin 8363 -> 8317 bytes tests/data/acpi/q35/DSDT.ivrs | Bin 8291 -> 8245 bytes tests/data/acpi/q35/DSDT.memhp | Bin 9633 -> 9587 bytes tests/data/acpi/q35/DSDT.mmio64 | Bin 9404 -> 9358 bytes tests/data/acpi/q35/DSDT.multi-bridge | Bin 8568 -> 8524 bytes tests/data/acpi/q35/DSDT.nohpet | Bin 8132 -> 8086 bytes tests/data/acpi/q35/DSDT.numamem | Bin 8280 -> 8234 bytes tests/data/acpi/q35/DSDT.pvpanic-isa | Bin 8375 -> 8329 bytes tests/data/acpi/q35/DSDT.tis.tpm12 | Bin 8880 -> 8834 bytes tests/data/acpi/q35/DSDT.tis.tpm2 | Bin 8906 -> 8860 bytes tests/data/acpi/q35/DSDT.viot | Bin 9383 -> 9339 bytes tests/data/acpi/q35/DSDT.xapic | Bin 35637 -> 35591 bytes tests/data/acpi/q35/ERST.acpierst | Bin 912 -> 912 bytes tests/data/acpi/q35/IVRS.ivrs | Bin 104 -> 100 bytes tests/data/acpi/q35/VIOT.viot | Bin 112 -> 112 bytes tests/unit/meson.build | 4 +++- 57 files changed, 31 insertions(+), 28 deletions(-)Signature · 1 line
2.37.2
Quoted 29 lines · Alexander Bulekov
Quoted 20 lines · Juan Quintela
Hi
For a long, long time I have had local hacks on my tree to be able to run "make tests" when I have a minimal configure guest. This is a first try to upstream some of it.
- by default we always setup -display none (it already was the default, but some places added it anyways)
- by default we always setup -net none. Not clear what was the default, but no tests use the default net, so it is safe change and now it is explicit.
- by default we always setup -vga none. This is a complete difference can of worms. Every tests that use vga already set vga correctly, so this is quite obvious, right? Now they are acpi tables. They are a mess. And basically this means remove a device for each one of them. Why going through all the trouble? Because while I am develping, I normall compile out vga.
Quoted 7 lines
- Fix several error strings that were set with copy paste.
- replication test requires
CONFIG_REPLICATION.
- test-crypto-secret requiresCONFIG_SECRET_KEYRING.Please review. Except for the acpi changes (that I hope I have done right following the instructions) the rest is quite obvious.
Quoted 6 lines
I think this might break some of the fuzz regression tests, because they have "baked-in" PCI configuration commands with hard-coded PCI addresses, which will shift around if some device is removed (e.g. with -net none). Probably the fix is to add addr=... to the -device parameter in the fuzz tests to keep the PCI address stable.
-Alex
The patches to default to -net none and -vga none are a good idea, but I agree with Alexander - this needs some careful examination of the fuzz tests first to see whether the BARs are changed here or not.
Thomas