diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2015-01-27 13:17:30 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-01-27 13:17:30 +0000 |
commit | b00c92e3ef59b78f6029d66353aaf995ceaa6605 (patch) | |
tree | 64a5c75792722835949ec417b270fddf71de23ac /tests | |
parent | 7baef630732a50fcbb7ca5b1e9cc0ecf4f2998c9 (diff) | |
parent | 37153450436f58449ce7e41d13a23821611e889e (diff) | |
download | qemu-b00c92e3ef59b78f6029d66353aaf995ceaa6605.zip qemu-b00c92e3ef59b78f6029d66353aaf995ceaa6605.tar.gz qemu-b00c92e3ef59b78f6029d66353aaf995ceaa6605.tar.bz2 |
Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging
pci, pc, virtio fixes and cleanups
A bunch of fixes all over the place. Also, beginning to generalize acpi build
code for reuse by ARM.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
# gpg: Signature made Tue 27 Jan 2015 13:12:25 GMT using RSA key ID D28D5469
# gpg: Good signature from "Michael S. Tsirkin <mst@kernel.org>"
# gpg: aka "Michael S. Tsirkin <mst@redhat.com>"
* remotes/mst/tags/for_upstream:
pc-dimm: Add Error argument to pc_existing_dimms_capacity
pc-dimm: Make pc_existing_dimms_capacity global
pc: Fix DIMMs capacity calculation
smbios: Don't report unknown CPU speed (fix SVVP regression)
smbios: Fix dimm size calculation when RAM is multiple of 16GB
bios-linker-loader: move source to common location
bios-linker-loader: move header to common location
virtio: fix feature bit checks
bios-tables-test: split piix4 and q35 tests
acpi: build_append_nameseg(): add padding if necessary
acpi: update generated hex files
acpi-test: update expected DSDT
pc: acpi: fix WindowsXP BSOD when memory hotplug is enabled
pci: Split pcie_host_mmcfg_map()
Add some trace calls to pci.c.
ich9: add disable_s3, disable_s4, s4_val properties
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/acpi-test-data/pc/DSDT | bin | 3592 -> 3621 bytes | |||
-rw-r--r-- | tests/acpi-test-data/q35/DSDT | bin | 8182 -> 8211 bytes | |||
-rw-r--r-- | tests/acpi-test-data/q35/SSDT | bin | 560 -> 560 bytes | |||
-rw-r--r-- | tests/bios-tables-test.c | 10 |
4 files changed, 8 insertions, 2 deletions
diff --git a/tests/acpi-test-data/pc/DSDT b/tests/acpi-test-data/pc/DSDT Binary files differindex ee9cc67..010d746 100644 --- a/tests/acpi-test-data/pc/DSDT +++ b/tests/acpi-test-data/pc/DSDT diff --git a/tests/acpi-test-data/q35/DSDT b/tests/acpi-test-data/q35/DSDT Binary files differindex ef0c75f..8ac32ef 100644 --- a/tests/acpi-test-data/q35/DSDT +++ b/tests/acpi-test-data/q35/DSDT diff --git a/tests/acpi-test-data/q35/SSDT b/tests/acpi-test-data/q35/SSDT Binary files differindex 4e45510..2cb3e08 100644 --- a/tests/acpi-test-data/q35/SSDT +++ b/tests/acpi-test-data/q35/SSDT diff --git a/tests/bios-tables-test.c b/tests/bios-tables-test.c index 2519f7d..4d0fa84 100644 --- a/tests/bios-tables-test.c +++ b/tests/bios-tables-test.c @@ -765,7 +765,7 @@ static void test_acpi_one(const char *params, test_data *data) g_free(args); } -static void test_acpi_tcg(void) +static void test_acpi_piix4_tcg(void) { test_data data; @@ -776,6 +776,11 @@ static void test_acpi_tcg(void) data.machine = MACHINE_PC; test_acpi_one("-machine accel=tcg", &data); free_test_data(&data); +} + +static void test_acpi_q35_tcg(void) +{ + test_data data; memset(&data, 0, sizeof(data)); data.machine = MACHINE_Q35; @@ -799,7 +804,8 @@ int main(int argc, char *argv[]) g_test_init(&argc, &argv, NULL); if (strcmp(arch, "i386") == 0 || strcmp(arch, "x86_64") == 0) { - qtest_add_func("acpi/tcg", test_acpi_tcg); + qtest_add_func("acpi/piix4/tcg", test_acpi_piix4_tcg); + qtest_add_func("acpi/q35/tcg", test_acpi_q35_tcg); } ret = g_test_run(); unlink(disk); |