Hi,
I found that on kvm-61 the cpuid in the guest was reported incorrectly
when qemu-kvm was compiled with gcc-4.1 or 4.3.
This resulted in linux-64bit not booting, complaining that it is not
running on a 64-bit machine.
Symptom: Unexpected behaviour after the assembly snippet.
Solution: New as
':
test/x86/emulator.c:26: warning: unused variable 'i'
test/x86/emulator.c: In function 'test_push':
test/x86/emulator.c:115: warning: 'tmp' is used uninitialized in this function
test/x86/lib/printf.c: In function 'vsnprintf':
test/x86/lib/printf.c:95: warn
ote: 'tmp' is only used in inline assembly, so the initialisation of it may be
done in a more elegant way, but just setting it to 0 should hopefully just
achive the same functional result as no initialisation (most of the time...).
Signed-off-by: Bernhard Kaindl <[EMAIL PROTECTED]&g
for qemu with gcc4 is mentioned,
it seems to have further fixes on top of the initial patch:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg12017.html
Bernhard Kaindl
-
This SF.net email is sponsored by: Splunk Inc.
Still