Am 24.08.2015 um 17:46 schrieb Eric Blake: > On 08/24/2015 03:17 AM, Peter Lieven wrote: >> this patch adds a probe that lists all enforceable and migrateable >> CPU models to the -cpu help output. The idea is to know a priory >> which CPU modules can be exposed to the user without loosing any >> feature flags. >> >> Signed-off-by: Peter Lieven <p...@kamp.de> >> --- >> target-i386/cpu.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ >> 1 file changed, 49 insertions(+) > Is this same sort of listing available through QMP? Parsing '-cpu help' > output is undesirable from libvirt point of view. >
A good point. But is there a QMP command to list available CPU types? In this case it should be easy to extend. But, I wonder how to issue a QMP command before the vserver is actually running? Is there a common way to do it? Peter