RE: [kvm-devel] [PATCH] Refactor hypercall infrastructure

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Anthony Liguori <aliguori@...>
Cc: Jeremy Fitzhardinge <jeremy@...>, <kvm-devel@...>, Avi Kivity <avi@...>, <linux-kernel@...>
Date: Monday, September 17, 2007 - 2:14 pm

Anthony Liguori wrote:
<snip>
Linux
features
the
are
Xen

Well, this is the key info to the user of CPUID. It tells which leaves
are valid to use. Otherwise, the user cannot tell whether the results of
CPUID.0x4000000N are valid or not (i.e. junk). BTW, this is what we are
doing on the native (for the leaf 0, 0x80000000, for example). The fact
that Xen returns 0x40000002 means it only uses 3 leaves today. 

has

Using CPUID.0x4000000N (N > 2) does not prevent Xen from doing that,
either. If you use 0x40001000, 1) you need to say the leaves from
0x40000000 through 0x40001000 are all valid, OR 2) you create/fork a
new/odd leaf (with 0x1000 offset) repeating the detection redundantly. 


Again, 0x40000000 is not Xen specific. If the leaf 0x40000000 is used
for any guest to detect any hypervisor, that would be compelling
benefit. For future Xen-specific features, it's safe for Xen to use
other bigger leaves (like 0x40001000) because the guest starts looking
at them after detection of Xen. 

Likewise if KVM paravirtualization interface (as kind of "open source
paravirtualization interface") is detected in the generic areas (not in
vender-specific), any guest can check the features available without
knowing which hypervisor uses which CPUID for that. 

reserved, i.e.

Jun
---
Intel Open Source Technology Center
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Refactor hypercall infrastructure, Anthony Liguori, (Fri Sep 14, 3:45 pm)
Re: [PATCH] Refactor hypercall infrastructure, Jeremy Fitzhardinge, (Fri Sep 14, 4:53 pm)
Re: [PATCH] Refactor hypercall infrastructure, Rusty Russell, (Fri Sep 14, 10:35 pm)
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure, Anthony Liguori, (Fri Sep 14, 5:02 pm)
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure, Jeremy Fitzhardinge, (Fri Sep 14, 5:22 pm)
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure, Anthony Liguori, (Fri Sep 14, 5:46 pm)
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure, Jeremy Fitzhardinge, (Fri Sep 14, 5:52 pm)
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure, Anthony Liguori, (Fri Sep 14, 6:08 pm)
RE: [kvm-devel] [PATCH] Refactor hypercall infrastructure, Nakajima, Jun, (Fri Sep 14, 6:40 pm)
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure, Jeremy Fitzhardinge, (Fri Sep 14, 7:00 pm)
RE: [kvm-devel] [PATCH] Refactor hypercall infrastructure, Nakajima, Jun, (Fri Sep 14, 8:10 pm)
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure, Jeremy Fitzhardinge, (Fri Sep 14, 8:28 pm)
RE: [kvm-devel] [PATCH] Refactor hypercall infrastructure, Nakajima, Jun, (Fri Sep 14, 9:04 pm)
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure, Jeremy Fitzhardinge, (Sat Sep 15, 12:53 am)
RE: [kvm-devel] [PATCH] Refactor hypercall infrastructure, Nakajima, Jun, (Sat Sep 15, 2:11 am)
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure, Anthony Liguori, (Sat Sep 15, 2:23 pm)
RE: [kvm-devel] [PATCH] Refactor hypercall infrastructure, Nakajima, Jun, (Mon Sep 17, 2:14 pm)
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure, Jeremy Fitzhardinge, (Mon Sep 17, 3:15 pm)
RE: [kvm-devel] [PATCH] Refactor hypercall infrastructure, Nakajima, Jun, (Mon Sep 17, 4:52 pm)
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure, Anthony Liguori, (Mon Sep 17, 2:27 pm)
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure, Jeremy Fitzhardinge, (Mon Sep 17, 3:15 pm)
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure, Anthony Liguori, (Mon Sep 17, 3:33 pm)
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure, Zachary Amsden, (Fri Sep 14, 5:20 pm)
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure, Anthony Liguori, (Fri Sep 14, 5:44 pm)
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure, Zachary Amsden, (Fri Sep 14, 11:37 pm)
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure, Anthony Liguori, (Sat Sep 15, 1:33 pm)