[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Re: cpuid information to hvm guest
How about the following changes to our default HVM CPUID? Guest_CPUID.1:EBX[23:17] = Host_CPUID.1:EBX[22:16] Guest_CPUID.1:EBX[16] = 0 Guest_CPUID.4:EAX[31:27] = Host_CPUID.4:EAX[30:26] Guest_CPUID.4:EAX[26] = 1 Guest_CPUID.1:EDX[28] = Host_CPUID.1:EDX[28] Basically pass-through HT/multicore support, but specify max-cores-per-package and max-threads-per-package as twice the host values. This deals with the fact our virtual APIC IDs are 2*VCPUID. -- Keir On 29/9/08 21:15, "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx> wrote: I’d be happy, by default, for xend to detect threads-per-socket on the host system and replicate that on guest CPUID. I don’t see how direct pass-through of host CPUID values can work, because for example host LAPIC identifiers may be guest different from guest vLAPIC identifiers. So I won’t apply anything like your original patches, period. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |