public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@web.de>
To: Avi Kivity <avi@redhat.com>
Cc: Beth Kon <eak@us.ibm.com>, Glauber Costa <glommer@redhat.com>,
	kvm <kvm@vger.kernel.org>
Subject: Re: qemu-kvm broken after ./configure --disable-kvm
Date: Sun, 14 Jun 2009 15:06:59 +0200	[thread overview]
Message-ID: <4A34F5F3.3090109@web.de> (raw)
In-Reply-To: <4A34F3FF.7040605@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1621 bytes --]

Avi Kivity wrote:
> Jan Kiszka wrote:
>>>> 2. Upstream does not, and it's unclear if it ever will (if we push
>>>>    recent headers into kvm-kmod, I think there is no urgent need
>>>>    anymore). At least for code to-be-pushed upstream, we must not
>>>>    rely in this anyway.
>>>>       
>>> Yes.
>>>
>>> Adding the headers to kvm-kmod.h is the right thing technically, but
>>> something tells me we'll get a lot of failures by people compiling first
>>> and installing later, rather than the sequence needed to make things
>>> work: compile and install kvm-kmod, compile and install qemu[-kvm].  Not
>>> all of the failures will be visible at compile time.
>>>
>>>     
>>
>> That could (and probably should - independent of in-tree headers) be
>> caught by making all KVM_CAPs mandatory, ie. check for the latest and
>> greatest ones during configure and drop all the #ifdefs from the code.
>>   
> 
> Not with out-of-tree headers.  qemu-kvm-0.10.x ought to build against
> Linux 2.6.27, kvm-kmod-2.6.30, and kvm-91.
> 
> Making all KVM_CAPs mandatory only works if we carry the headers with qemu.

If we continue to carry our own headers, the #ifdefs are pointless. If
we don't, the configure checks should issue an overview on all the
features that will be missing and give a hint how to resolve this
(kvm-kmod...).

> 
>> Whatever the strategy will be, it should be one with the clear goal to
>> converge over the same approach with upstream.
>>   
> 
> Definitely.  In this case I'm still not sure what we want, though.
> 

Maybe a good topic for next Tuesday.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]

  reply	other threads:[~2009-06-14 13:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-11 12:42 qemu-kvm broken after ./configure --disable-kvm Beth Kon
2009-06-11 13:53 ` Jan Kiszka
2009-06-14 11:13   ` Avi Kivity
2009-06-14 11:25     ` Jan Kiszka
2009-06-14 11:31       ` Avi Kivity
2009-06-14 12:47         ` Jan Kiszka
2009-06-14 12:58           ` Avi Kivity
2009-06-14 13:06             ` Jan Kiszka [this message]
2009-06-14 13:14               ` Avi Kivity
2009-06-23  0:41 ` Dustin Kirkland

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=4A34F5F3.3090109@web.de \
    --to=jan.kiszka@web.de \
    --cc=avi@redhat.com \
    --cc=eak@us.ibm.com \
    --cc=glommer@redhat.com \
    --cc=kvm@vger.kernel.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