On Sun, Jan 11, 2009 at 12:46:49PM +0200, Avi Kivity wrote: > Amit Shah wrote: >> The CPUID instruction takes the value of ECX as an input parameter >> in addition to the value of EAX for function 4. Make sure we pass >> the value to the instruction. >> >> > > This needs to go to upstream qemu. I'd suggest adding a new parameter > rather than making ecx an in/out parameter.
You mean something like host_cpuid(index, subindex, eax, ebx, ecx, edx); ? > > I'd expect a loop when we use this... Why a loop? We'll only return the values true for a particular EAX:ECX combination. The requestor (kernel) will loop. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
