From: Paolo Bonzini Date: Wed, 2 Oct 2013 14:06:14 +0000 (+0200) Subject: KVM: x86: mask unsupported XSAVE entries from leaf 0Dh index 0 X-Git-Tag: v3.13-rc1~80^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=647e23bb333ff196e7be8ae08c842d855fb850f6;p=pandora-kernel.git KVM: x86: mask unsupported XSAVE entries from leaf 0Dh index 0 XSAVE entries that KVM does not support are reported by KVM_GET_SUPPORTED_CPUID for leaf 0Dh index 0 if the host supports them; they should be left out unless there is also hypervisor support for them. Sub-leafs are correctly handled in supported_xcr0_bit, fix index 0 to match. Signed-off-by: Paolo Bonzini Signed-off-by: Gleb Natapov --- Reading git-diff-tree failed