]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: fix cpuid E2BIG handling for extended request types
authorMark McLoughlin <markmc@redhat.com>
Fri, 18 Sep 2009 20:29:25 +0000 (17:29 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Oct 2009 16:32:23 +0000 (09:32 -0700)
commit1cb6728f666f55ecfcf79a9713c6f2b23d1b2925
tree5ff43fad7a02718efba9e2c5b37847f3a2175dfe
parenta7207f0d215647ce7ee5f0e6308d6afab6f3584c
KVM: fix cpuid E2BIG handling for extended request types

(cherry picked from commit cb007648de83cf226d69ec76e1c01848b4e8e49f)

If we run out of cpuid entries for extended request types
we should return -E2BIG, just like we do for the standard
request types.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kvm/x86.c