[libvirt] [PATCH 00/41] Enhance guest CPU configuration code
Jiri Denemark
jdenemar at redhat.com
Wed Aug 24 14:08:31 UTC 2016
On Fri, Aug 12, 2016 at 15:32:54 +0200, Jiri Denemark wrote:
> This patch series does several things:
>
> - fixes tests to avoid relying on bugs in our code
> - adds support for advertising supported CPU modes and models in domain
> capabilities
> - starts adding better and higher level APIs to our cpu driver (the old
> low level APIs will be removed once this process is over)
> - prepares qemu driver for asking QEMU what a host CPU looks like and
> what CPU models can be run on it
> - makes QEMU CPU command line builder build command line and nothing
> else
>
> The added part of domain capabilities XML looks like this:
>
> <cpu>
> <mode name='host-passthrough' supported='yes'/>
> <mode name='host-model' supported='yes'>
> <model fallback='allow'>Broadwell</model>
> <vendor>Intel</vendor>
> <feature policy='disable' name='aes'/>
> <feature policy='require' name='vmx'/>
> </mode>
> <mode name='custom' supported='yes'>
> <model>Broadwell</model>
> <model>Broadwell-noTSX</model>
> ...
> </mode>
> </cpu>
>
> and host-passthrough is only advertised as supported for KVM domains,
> host-model is only supported when guest architecture is compatible with
> host and overall it should just work the way one would expect (in
> contrast to the current state of the code).
>
> Big thanks for any comments and review in advance and...
Gentle ping.
Jirka
More information about the libvir-list
mailing list