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

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

 



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

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux