projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8eddd18
)
Initialize cpuid variables
author
Anthony Liguori
<aliguori@us.ibm.com>
Fri, 17 Jul 2009 02:33:48 +0000
(21:33 -0500)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Fri, 17 Jul 2009 03:04:02 +0000
(22:04 -0500)
This causes a build break when !KVM.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
target-i386/helper.c
patch
|
blob
|
history
diff --git
a/target-i386/helper.c
b/target-i386/helper.c
index 690d7735edf386350b234a49ad44aaa35e746e84..5f335331b148741b4a44b06bfa481b9b4727749c 100644
(file)
--- a/
target-i386/helper.c
+++ b/
target-i386/helper.c
@@
-297,7
+297,7
@@
static void host_cpuid(uint32_t function, uint32_t count, uint32_t *eax,
static int cpu_x86_fill_model_id(char *str)
{
- uint32_t eax
, ebx, ecx, edx
;
+ uint32_t eax
= 0, ebx = 0, ecx = 0, edx = 0
;
int i;
for (i = 0; i < 3; i++) {