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_a
On Fri, Oct 18, 2013 at 5:13 PM, 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
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
Paolo Bonzini 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
On Fri, Oct 18, 2013 at 07:30:48AM +0200, Markus Armbruster wrote:
> "Michael S. Tsirkin" 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.
> >
>
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",
"Michael S. Tsirkin" 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
> ---
> tests/acpi-test.c | 129
> +++
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
---
tests/acpi-test.c | 129 ++
tests