mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 19:49:43 +00:00
Fix crash in kvm.c (Stefan Weil)
Fix crash with kvm enabled. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5984 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
d456ae3e04
commit
40a2d7050a
@ -39,7 +39,7 @@ int kvm_arch_init_vcpu(CPUState *env)
|
||||
struct kvm_cpuid cpuid;
|
||||
struct kvm_cpuid_entry entries[100];
|
||||
} __attribute__((packed)) cpuid_data;
|
||||
int limit, i, cpuid_i;
|
||||
uint32_t limit, i, cpuid_i;
|
||||
uint32_t eax, ebx, ecx, edx;
|
||||
|
||||
cpuid_i = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user