[libvirt] [PATCH 2/3] libxl: add support for CPUID features policy

Jiri Denemark jdenemar at redhat.com
Thu Jun 29 08:04:42 UTC 2017

On Thu, Jun 29, 2017 at 03:11:42 +0200, Marek Marczykowski-Górecki wrote:
> Set CPU features in appropriate libxl structure.
> Use old "xend" syntax, because it allow control over any bit and libvirt
> already have API for translating features to appropriate cpuid bits. And
> also features naming in libxl do not match the one of libvirt in
> multiple cases.

How does the new syntax look like? And would it be actually better? The
problem with setting individual CPUID bits is very fragile. That's
mostly what we naively started to do in qemu driver and we're fighting
with it since then. It's way too easy to create a virtual CPU which a
guest OS will crash on.


More information about the libvir-list mailing list