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

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

Nakajima, Jun wrote:

Then it's just a version ID.  You pretty much have to treat it as a 
version id because if it returns 0x4000 0003 and you only know what 0002 
is, then you can't actually use it.

I much prefer the current use of CPUID in KVM.  If 1000 returns the KVM 
signature, then 1001 *must* be valid and contain a set of feature bits.  
If we wish to use additional CPUID leaves in the future, then we can 
just use a feature bit.  The real benefit to us is that we can use a 
discontiguous set of leaves whereas the Xen approach is forced to use a 
linear set (at least for the result to be meaningful).


Why do 0000-1000 have to be valid?  Xen is not going to change what they 
have today--they can't.  However, if down the road, they decided that 
since so many guests use KVM's paravirtualization interface other than 
Linux, there's value in supporting it, by using 1000, they can.


I'm starting to lean toward just using 0000.  If for no other reason 
than the hypercall space is unsharable.

Regards,

Anthony Liguori


-
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)