qemu/target-i386
aurel32 e65bdffaf2 i386/SVM: return amount of ASIDs
With SVM the TLB supports tagging to distinguish TLB entries from
different virtual CPUs. This tag is called an ASID. The amount of ASIDs is
given in EBX of the SVM-CPUID-leaf. Currently we return 0, which might
break hypervisors. Let's better return something >0 here, say 0x10.
Since we're flushing the complete TLB on every VM entry and exit we're not
making use of the ASID information anyways.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5496 c046a42c-6fe2-441c-8c8c-71466251a162
2008-10-17 08:08:48 +00:00
..
cpu.h My core2duo patch introduced a vague statement of "missing features" in 2008-09-29 13:55:36 +00:00
exec.h Fix some warnings that would be generated by gcc -Wredundant-decls 2008-08-30 09:51:20 +00:00
helper_template.h transformed TN into temporaries - add local temporaries usage when needed - optimized fcmovX 2008-05-25 17:26:41 +00:00
helper.c target-i386: Add Core Duo Definition 2008-10-14 19:20:52 +00:00
helper.h SYSENTER/SYSEXIT IA-32e implementation (Alexander Graf). 2008-09-25 18:16:18 +00:00
machine.c Resurrect the safe part of r5274 2008-10-02 19:14:17 +00:00
op_helper.c i386/SVM: return amount of ASIDs 2008-10-17 08:08:48 +00:00
ops_sse_header.h Implement SSE4.1, SSE4.2 (x86). 2008-10-04 03:27:44 +00:00
ops_sse.h Fix crc32w decoding, fix a constant width in blendvpd. 2008-10-04 11:33: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
TODO SVM rework 2008-05-28 16:16:54 +00:00
translate.c Fix crc32w decoding, fix a constant width in blendvpd. 2008-10-04 11:33:52 +00:00