[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] RFC: Only display help options that are accepted by the arc
[Qemu-devel] RFC: Only display help options that are accepted by the architecture
Mon, 12 Dec 2011 19:14:40 +1100
As the subject says, this is an RFC.
I have a few patches (to follow), that change the help output from QEMU
so that we only display options that are accepted by the arch of the
So for example qemu-system-ppc64 will not tell you about i386 options
like -no-acpi, -no-hpet etc.
We already have almost all the information we need, it just requires
actually filtering the options as we print them in the help text - and
some related cruft, see the patches for details.
I'd argue it's generally a sane change, but it also has the benefit that
it makes libvirt's life easier. For better or worse libvirt parses the
output of qemu -h to see what options are supported. At the moment that
is problematic because the ppc64 emulator claims to support -no-acpi
etc. So with this change libvirt could more reliably determine what is
Description: This is a digitally signed message part
- [Qemu-devel] RFC: Only display help options that are accepted by the architecture,
Michael Ellerman <=