Isaku Yamahata wrote:
> On Thu, Jan 17, 2008 at 11:06:55AM +0800, Xu, Anthony wrote:
>> If we use hybrid mode, above two issues can be resolved with current
>> method. Hybrid mode is to use VT-I technology to virtualize CPU.
>
> Interesting. The issue 2 can be easily resolved, I think.
> It would be simply the privcmd device driver.
Yes, privcmd can reserver dom0 physcal address space
>
> Do you have any idea about the environment detection(native, xen,
> kvm...)?
We can use CPUID 2,
>From Spec, SDM 1 3.1.11 Processor Identification register.
It says, CPUID register 2 is an ignored register(reads from this
register return zero).
We can use CPUID 2 to detect environment,
For example,
0 --> native
1 --> xen
2 --> kvm.
...
Anthony
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|