From: Stephan Bärwolf Date: Thu, 12 Jan 2012 15:43:03 +0000 (+0100) Subject: KVM: x86: extend "struct x86_emulate_ops" with "get_cpuid" X-Git-Tag: v3.3-rc3~17^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdb42f5afebe208eae90406959383856ae2caf2b;p=pandora-kernel.git KVM: x86: extend "struct x86_emulate_ops" with "get_cpuid" In order to be able to proceed checks on CPU-specific properties within the emulator, function "get_cpuid" is introduced. With "get_cpuid" it is possible to virtually call the guests "cpuid"-opcode without changing the VM's context. [mtosatti: cleanup/beautify code] Signed-off-by: Stephan Baerwolf Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed