On 06/14/2011 03:30 PM, Avi Kivity wrote:
On 06/14/2011 03:10 PM, Yang, Wei wrote:
This patch enalbes RDWRGSFS feature to KVM guests.
Write/read FS/GS base instructions enable user level code
to read/write FS& GS segment base registers for thread
local storage.
Patches look good, but something appears missing - usually when an
instruction is enabled by a cr4 bit, there is an additional cpuid bit
that gets turned on, so userspace can tell if it is safe to use the
instruction. Is it not the case here?
I found it in the AVX2 spec, and it appears there is no such bit. How
is userspace supposed to know if it can use the instruction or not?
Anyway, patches applied, thanks.
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html