]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: fix cpuid E2BIG handling for extended request types
authorMark McLoughlin <markmc@redhat.com>
Tue, 12 May 2009 11:36:44 +0000 (12:36 +0100)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:32:39 +0000 (08:32 +0300)
commit5f4e692232b10ae1b60a3f13a16d6ff3b04bc5ac
treeddbffb8ad08a1805200ca61ba22b98ec086d0901
parenta93f99d7358308263d62de8fa5be391eadd64849
KVM: fix cpuid E2BIG handling for extended request types

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>
arch/x86/kvm/x86.c