KVM: Fifty-fourth public release
KVM: Fix cpuid2 killing 32-bit guests on non-NX machines

KVM_SET_CPUID fails to remove NX when the host doesn't support it, as previous
versions do.  On the other hand, KVM_SET_CPUID2 removes the feature even
though, since we tell userspace about it, it shouldn't be necessary.

Swap the two cases.

Signed-off-by: Avi Kivity <avi@qumranet.com>
1 file changed