From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glauber de Oliveira Costa Subject: Re: [PATCH 1/2] include kvm_para.h Date: Mon, 14 Jan 2008 19:17:04 -0200 Message-ID: <478BD150.1010006@redhat.com> References: <12000571143111-git-send-email-gcosta@redhat.com> <12000571224066-git-send-email-gcosta@redhat.com> <47892A4A.4000607@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, jeremy-TSDbQ3PG+2Y@public.gmane.org To: Avi Kivity Return-path: In-Reply-To: <47892A4A.4000607-atKUWr5tajBWk0Htik3J/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Avi Kivity wrote: > Glauber de Oliveira Costa wrote: >> have qemu-kvm to include kvm_para, allowing access to paravirt >> definitions >> >> Signed-off-by: Glauber de Oliveira Costa >> --- >> qemu/qemu-kvm-x86.c | 1 + >> 1 files changed, 1 insertions(+), 0 deletions(-) >> >> diff --git a/qemu/qemu-kvm-x86.c b/qemu/qemu-kvm-x86.c >> index c79ca36..21ec112 100644 >> --- a/qemu/qemu-kvm-x86.c >> +++ b/qemu/qemu-kvm-x86.c >> @@ -14,6 +14,7 @@ extern int kvm_irqchip; >> #include >> #include >> #include >> +#include >> > > IIRC, early versions of kvm_para.h were userspace unfriendly, so we need > a version code check (or better, a KVM_CAP_ check) around this. > No need. including kvm_para.h in userspace unfriendly tools won't break anything. Code that handles it userspace is already enclosed in the KVM_CAP_ check. (well, in reality, I forgot to enclose one line with it. But it's a bug, and will be fixed in the series I'm about to shoot out. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace