qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH] vl: only display available accelerators


From: Peter Maydell
Subject: Re: [Qemu-devel] [RFC PATCH] vl: only display available accelerators
Date: Mon, 30 Oct 2017 15:34:07 +0000

On 30 October 2017 at 15:01, Philippe Mathieu-Daudé <address@hidden> wrote:
> On 10/30/2017 05:20 AM, Eduardo Habkost wrote:
>> On Mon, Oct 30, 2017 at 01:00:56AM -0300, Philippe Mathieu-Daudé wrote:
>>>     - I don't think this is the nicest way, too much #ifdef'fery in main()
>>
>> I suggest using object_class_get_list(TYPE_ACCEL, false).
>
> OK, this gives:
>
> $ qemu-system-x86_64 -accel help
> Possible accelerators:
>   xen
>   kvm
>   qtest
>
> I was not aware of the qtest accel :)

We should special-case that one out, as it's only intended to be
used by our test cases. (In an ideal world we'd diagnose "you
used '-accel qtest' but didn't also pass '-qtest something'
to set up the communications channel with the test harness"
better than just SIGTERMing. But it's test code :-))

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]