xqemu/target-i386
aliguori e00b6f8099 KVM: CPUID takes ecx as input value for some functions (Amit Shah)
The CPUID instruction takes the value of ECX as an input parameter
in addition to the value of EAX as the count for functions 4, 0xb
and 0xd. Make sure we pass the value to the instruction.

Also convert to the qemu-style whitespace for the surrounding code.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6565 c046a42c-6fe2-441c-8c8c-71466251a162
2009-02-09 15:50:08 +00:00
..
TODO SVM rework 2008-05-28 16:16:54 +00:00
cpu.h KVM: CPUID takes ecx as input value for some functions (Amit Shah) 2009-02-09 15:50:08 +00:00
exec.h Replace noreturn with QEMU_NORETURN 2009-02-01 22:19:27 +00:00
helper.c KVM: CPUID takes ecx as input value for some functions (Amit Shah) 2009-02-09 15:50:08 +00:00
helper.h TCG variable type checking. 2008-11-17 14:43:54 +00:00
helper_template.h Update FSF address in GPL/LGPL boilerplate 2009-01-04 22:05:52 +00:00
kvm.c KVM: CPUID takes ecx as input value for some functions (Amit Shah) 2009-02-09 15:50:08 +00:00
machine.c MTRR support on x86, part 2 (Carl-Daniel Hailfinger) 2009-01-29 17:02:17 +00:00
op_helper.c KVM: CPUID takes ecx as input value for some functions (Amit Shah) 2009-02-09 15:50:08 +00:00
ops_sse.h Update FSF address in GPL/LGPL boilerplate 2009-01-04 22:05:52 +00:00
ops_sse_header.h Update FSF address in GPL/LGPL boilerplate 2009-01-04 22:05:52 +00:00
svm.h reworked SVM interrupt handling logic - fixed vmrun EIP saved value - reworked cr8 handling - added CPUState.hflags2 2008-06-04 17:02:19 +00:00
translate.c global s/loglevel & X/qemu_loglevel_mask(X)/ (Eduardo Habkost) 2009-01-15 22:36:53 +00:00