]> git.proxmox.com Git - qemu.git/commit
target-i386: Fold -cpu ?cpuid, ?model output into -cpu help, drop ?dump
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 5 Sep 2012 20:41:07 +0000 (17:41 -0300)
committerAndreas Färber <afaerber@suse.de>
Fri, 21 Sep 2012 13:12:58 +0000 (15:12 +0200)
commit6cdf8854203e51a222c9ce94a8c8c568da834cf6
treed79b9ff7043f6786798b97176aea1adaf8a54c1c
parentf2ca052414d7eddc10517e98a5a27ba8099b19b1
target-i386: Fold -cpu ?cpuid, ?model output into -cpu help, drop ?dump

Commit c8057f95 (accidentally) disabled the ability to pass
option strings starting with '?' to the target-specific
cpu_list function, so the target-i386 specific "-cpu ?dump",
"-cpu ?cpuid" and "-cpu ?model" stopped working.

Since these options are undocumented and not used by libvirt,
simply drop them completely rather than reinstating them
with new style syntax. Instead, we fold the ?model and ?cpuid
output into the output of the plain "-cpu help" output. The
detailed output produced by ?dump is dropped.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
target-i386/cpu.c