[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/2] acpi-test: basic acpi unit-test
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH 2/2] acpi-test: basic acpi unit-test |
Date: |
Fri, 18 Oct 2013 13:43:43 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
Paolo Bonzini <address@hidden> 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 accel=qtest -machine accel=tcg",
>> which should result in qtest. How does this work?
>
> The last option wins.
You're right. Exploiting it in a qtest is quite a hack :)