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

Re: XEN_SYSCTL_cpu_policy_hvm_default truncates leaf count



Am Thu, 1 Jul 2021 12:19:24 +0100
schrieb Andrew Cooper <andrew.cooper3@xxxxxxxxxx>:

>  Where is the 51 leaves coming in?

I suspect the bug is this line, and the magic "0x1c" value:

p->extd.max_leaf = min(p->extd.max_leaf, 0x1cu);

In my testing basic remains at 13, while extd is truncated from 0x80000008 to 
28.
I think it should be truncated to CPUID_GUEST_NR_EXTD_INTEL?

Olaf

Attachment: pgpHLYRKt87je.pgp
Description: Digitale Signatur von OpenPGP


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.