[libvirt] [PATCH 0/3 for 3.2.0] Fix host-model CPU with non-migratable features

Ján Tomko jtomko at redhat.com
Thu Mar 30 07:54:05 UTC 2017


On Wed, Mar 29, 2017 at 04:53:16PM +0200, Jiri Denemark wrote:
>This series fixes a regression in libvirt which would break domains with
>a CPU defined as, for example:
>
>    <cpu mode='host-model'>
>      <feature name='invtsc' policy='require'/>
>    </cpu>
>
>Such domains would work just fine with libvirt <= 3.1.0 or QEMU < 2.9.0,
>but they would be broken with current libvirt and QEMU >= 2.9.0.
>
>This is because we started asking QEMU for CPU features supported by the
>host CPU, by which we think all non-migratable features are not
>supported because QEMU filters them out by default.
>
>This series changes our code to properly detect even non-migratable
>features, but still leaves the piece which relies on our cpu_map.xml to
>filter them when someone asks for just <cpu mode='host-model'/>. Patches
>which will use the data provided by QEMU instead of our static database
>in cpu_map.xml will be sent soon, since they are not required to fix the
>regression.
>
>Jiri Denemark (3):
>  qemuMonitorCPUModelInfo: Add support for non-migratable features
>  qemu: Check migratable host CPU features
>  qemu: Check non-migratable host CPU features

ACK series.

I'll keep the bunny ears of shame handy, just in case.

Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170330/9c19e6e4/attachment-0001.sig>


More information about the libvir-list mailing list