Re: [Xen-devel] [PATCH 4/6] tools/libxc: Remove xsave calculations from libxc

2017-01-16 Thread Wei Liu
On Mon, Jan 16, 2017 at 11:40:28AM +, Andrew Cooper wrote: > libxc performs a lot of calculations for the xstate leaf when generating a > guests cpuid policy. To correctly construct a policy for an HVM guest, this > logic depends on native cpuid leaking through from real hardware. > > In part

[Xen-devel] [PATCH 4/6] tools/libxc: Remove xsave calculations from libxc

2017-01-16 Thread Andrew Cooper
libxc performs a lot of calculations for the xstate leaf when generating a guests cpuid policy. To correctly construct a policy for an HVM guest, this logic depends on native cpuid leaking through from real hardware. In particular, the logic is potentially wrong for an HVM-based toolstack domain