On Sat, Oct 19, 2013 at 02:13:44AM +0200, Andreas Färber wrote:
Am 17.10.2013 23:52, schrieb Michael S. Tsirkin:
diff --git a/tests/acpi-test.c b/tests/acpi-test.c
new file mode 100644
index 000..42de248
--- /dev/null
+++ b/tests/acpi-test.c
[...]
+static void test_acpi_one(const
Il 18/10/2013 07:30, Markus Armbruster ha scritto:
+static void test_acpi_tcg(void)
+{
+test_acpi_one(-machine accel=tcg);
+}
Since qtest_init() adds your parameters at the end, this should result
in a command line ending with -machine accel=qtest -machine accel=tcg,
which should
On Fri, Oct 18, 2013 at 07:30:48AM +0200, Markus Armbruster wrote:
Michael S. Tsirkin m...@redhat.com writes:
We run bios, and boot a minimal boot sector that immediately halts.
Then poke at memory to find ACPI tables.
This only checks that RSDP is there.
More will be added later.
Paolo Bonzini pbonz...@redhat.com writes:
Il 18/10/2013 07:30, Markus Armbruster ha scritto:
+static void test_acpi_tcg(void)
+{
+test_acpi_one(-machine accel=tcg);
+}
Since qtest_init() adds your parameters at the end, this should result
in a command line ending with -machine
Am 17.10.2013 23:52, schrieb Michael S. Tsirkin:
diff --git a/tests/acpi-test.c b/tests/acpi-test.c
new file mode 100644
index 000..42de248
--- /dev/null
+++ b/tests/acpi-test.c
[...]
+static void test_acpi_one(const char *params)
+{
+char *args;
+uint8_t signature_low;
+
On Fri, Oct 18, 2013 at 5:13 PM, Andreas Färber afaer...@suse.de wrote:
Am 17.10.2013 23:52, schrieb Michael S. Tsirkin:
diff --git a/tests/acpi-test.c b/tests/acpi-test.c
new file mode 100644
index 000..42de248
--- /dev/null
+++ b/tests/acpi-test.c
[...]
+static void
We run bios, and boot a minimal boot sector that immediately halts.
Then poke at memory to find ACPI tables.
This only checks that RSDP is there.
More will be added later.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
tests/acpi-test.c | 129
Michael S. Tsirkin m...@redhat.com writes:
We run bios, and boot a minimal boot sector that immediately halts.
Then poke at memory to find ACPI tables.
This only checks that RSDP is there.
More will be added later.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
tests/acpi-test.c