[libvirt] [PATCH v3 5/6] qemu_driver: BaselineHypervisorCPU support for S390

Jiri Denemark jdenemar at redhat.com
Wed Oct 3 14:17:36 UTC 2018


On Thu, Sep 27, 2018 at 16:26:44 -0500, Chris Venteicher wrote:
> Libvirt can compute baseline hypervisor cpu from list of S390 cpu models
> by using QEMU QMP messages to compute baseline within QEMU.
> 
> QEMU only baselines one pair of CPU models per query so a sequence of
> multiple QMP queries are needed if more than two CPU models are
> baselined.
> 
> Full expansion of baseline S390 model supported using QEMU QMP messages to
> compute expansion within QEMU.
> 
> Introduces qemuMonitorCPUModelInfoRemovePropByBoolValue to remove props
> by value as required to convert between cpu model property lists that
> indicate if property is or isn't include in model with true / false
> value and the form of cpu model property lists that only enumerate
> properties that are actually included in the model.
> 
> Introduces functions for virCPUDef / qemuMonitorCPUModelInfo conversion.

Again, several logical changes squashed in a single hard to follow
patch.

Jirka




More information about the libvir-list mailing list