From: Glauber de Oliveira Costa <gcosta-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
jeremy-TSDbQ3PG+2Y@public.gmane.org
Subject: Re: [PATCH 1/2] include kvm_para.h
Date: Mon, 14 Jan 2008 19:17:04 -0200 [thread overview]
Message-ID: <478BD150.1010006@redhat.com> (raw)
In-Reply-To: <47892A4A.4000607-atKUWr5tajBWk0Htik3J/w@public.gmane.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 <gcosta-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
>> ---
>> 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 <libkvm.h>
>> #include <pthread.h>
>> #include <sys/utsname.h>
>> +#include <linux/kvm_para.h>
>>
>
> 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
next prev parent reply other threads:[~2008-01-14 21:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-11 13:11 [PATCH 0/2] KVM clock - userspace part Glauber de Oliveira Costa
[not found] ` <12000571143111-git-send-email-gcosta-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2008-01-11 13:11 ` [PATCH 1/2] include kvm_para.h Glauber de Oliveira Costa
[not found] ` <12000571224066-git-send-email-gcosta-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2008-01-11 13:11 ` [PATCH 2/2] fill cpuid with clocksource information Glauber de Oliveira Costa
2008-01-12 20:59 ` [PATCH 1/2] include kvm_para.h Avi Kivity
[not found] ` <47892A4A.4000607-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2008-01-14 21:17 ` Glauber de Oliveira Costa [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-01-15 15:10 [PATCH 0/2] kvm clock - userspace with patches Glauber de Oliveira Costa
[not found] ` <12004098521016-git-send-email-gcosta-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2008-01-15 15:10 ` [PATCH 1/2] include kvm_para.h Glauber de Oliveira Costa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=478BD150.1010006@redhat.com \
--to=gcosta-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
--cc=jeremy-TSDbQ3PG+2Y@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox