From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 1/2] include kvm_para.h Date: Sat, 12 Jan 2008 22:59:54 +0200 Message-ID: <47892A4A.4000607@qumranet.com> References: <12000571143111-git-send-email-gcosta@redhat.com> <12000571224066-git-send-email-gcosta@redhat.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: Glauber de Oliveira Costa Return-path: In-Reply-To: <12000571224066-git-send-email-gcosta-H+wXaHxf7aLQT0dZR+AlfA@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 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. -- Any sufficiently difficult bug is indistinguishable from a feature. ------------------------------------------------------------------------- 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