]> git.proxmox.com Git - qemu.git/commit
i386/SVM: return amount of ASIDs
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 17 Oct 2008 08:08:48 +0000 (08:08 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 17 Oct 2008 08:08:48 +0000 (08:08 +0000)
commite65bdffaf29beb1102c289b6a43675e172903077
tree5b7f984fd5360b55ae36091d595604816a0e0e02
parented69522cafef8b22c8411e38141751d23af90334
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
target-i386/op_helper.c