From: Avi Kivity Date: Thu, 7 Jun 2012 11:07:48 +0000 (+0300) Subject: KVM: Split cpuid register access from computation X-Git-Tag: v3.6-rc1~124^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62046e5a867cbff35e0beff42718dda41ff5d74b;p=pandora-kernel.git KVM: Split cpuid register access from computation Introduce kvm_cpuid() to perform the leaf limit check and calculate register values, and let kvm_emulate_cpuid() just handle reading and writing the registers from/to the vcpu. This allows us to reuse kvm_cpuid() in a context where directly reading and writing registers is not desired. Signed-off-by: Avi Kivity --- Reading git-diff-tree failed