[libvirt PATCH 2/5] conf: add reporting of "maximum" CPU mode in domain caps

Daniel P. Berrangé berrange at redhat.com
Tue Feb 9 14:26:25 UTC 2021


On Tue, Feb 09, 2021 at 02:19:21PM +0000, Richard W.M. Jones wrote:
> On Tue, Feb 09, 2021 at 01:58:58PM +0000, Daniel P. Berrangé wrote:
> > +    <mode name='maximum' supported='yes'>
> > +      <enum name='maximumMigratable'>
> > +        <value>on</value>
> > +        <value>off</value>
> > +      </enum>
> > +    </mode>
> >      <mode name='host-model' supported='yes'>
> 
> Hmmm - that "supported" attribute is something I hadn't noticed
> before.  Does this mean <mode name='maximum' supported='no'> is
> possible in qemu capabilities?  A quick scan of the libguestfs code
> seems to show we don't cope with that.

It will be possible for QEMU versions prior to 2.9.0, as they dont
support "-cpu max".  Some architectures may not support this too.
At least ppc64, aarch64 and x86-64 and s390 do. 

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list