diff options
author | Sheng Yang <sheng@linux.intel.com> | 2010-06-17 15:18:13 +0800 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2010-06-28 13:06:03 -0300 |
commit | c958a8bd9b53371d4431ceabf55b21a0d0a557f2 (patch) | |
tree | 05eff6fe60a2dcc45438fbb3b5990f23839f6469 /kvm.h | |
parent | 8935499831312ec3e108287d3d49614915847ab2 (diff) | |
download | qemu-c958a8bd9b53371d4431ceabf55b21a0d0a557f2.zip qemu-c958a8bd9b53371d4431ceabf55b21a0d0a557f2.tar.gz qemu-c958a8bd9b53371d4431ceabf55b21a0d0a557f2.tar.bz2 |
kvm: Extend kvm_arch_get_supported_cpuid() to support index
Would use it later for XSAVE related CPUID.
Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'kvm.h')
-rw-r--r-- | kvm.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -144,7 +144,7 @@ bool kvm_arch_stop_on_emulation_error(CPUState *env); int kvm_check_extension(KVMState *s, unsigned int extension); uint32_t kvm_arch_get_supported_cpuid(CPUState *env, uint32_t function, - int reg); + uint32_t index, int reg); void kvm_cpu_synchronize_state(CPUState *env); void kvm_cpu_synchronize_post_reset(CPUState *env); void kvm_cpu_synchronize_post_init(CPUState *env); |