On 30 October 2017 at 15:01, Philippe Mathieu-Daudé <f4...@amsat.org> 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