summaryrefslogtreecommitdiff
path: root/kvm.h
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2010-06-17 15:18:13 +0800
committerMarcelo Tosatti <mtosatti@redhat.com>2010-06-28 13:06:03 -0300
commitc958a8bd9b53371d4431ceabf55b21a0d0a557f2 (patch)
tree05eff6fe60a2dcc45438fbb3b5990f23839f6469 /kvm.h
parent8935499831312ec3e108287d3d49614915847ab2 (diff)
downloadqemu-c958a8bd9b53371d4431ceabf55b21a0d0a557f2.tar.gz
qemu-c958a8bd9b53371d4431ceabf55b21a0d0a557f2.tar.bz2
qemu-c958a8bd9b53371d4431ceabf55b21a0d0a557f2.zip
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvm.h b/kvm.h
index a30529c9c4..500e7e4485 100644
--- a/kvm.h
+++ b/kvm.h
@@ -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);