qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] target-i386: add a list of enforceable CPU mode


From: Peter Lieven
Subject: Re: [Qemu-devel] [PATCH] target-i386: add a list of enforceable CPU models to the help output
Date: Wed, 26 Aug 2015 20:46:42 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Am 26.08.2015 um 20:38 schrieb Eduardo Habkost:
> On Mon, Aug 24, 2015 at 09:36:23PM +0200, Peter Lieven wrote:
>> 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 <address@hidden>
>>>> ---
>>>>  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.
> Yes, that's query-cpu-definitions. See past discussion at:
> http://thread.gmane.org/gmane.comp.emulators.qemu/332554
>
> Some of the assumptions at that thread changed. See:
> http://thread.gmane.org/gmane.comp.emulators.qemu/342582/focus=346651
> That means runnability should depend only on the accelerator type, and
> not on the machine-type anymore.

Thanks for the pointer. But is it possible to query cpu definitions without
a running Qemu? Like passing a QMP command on the commandline and
receive the answer on stdout?

>
>> But, I wonder how to issue a QMP command before the vserver is actually
>> running? Is there a common way to do it?
> What's a vserver?
>

A Virtual Server.

Thanks,
Peter




reply via email to

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