qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@web.de>
To: Doug Goldstein <cardoe@gentoo.org>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
	Gleb Natapov <gleb@redhat.com>, kvm <kvm@vger.kernel.org>,
	Marcelo Tosatti <mtosatti@redhat.com>,
	qemu-devel <qemu-devel@nongnu.org>, Avi Kivity <avi@redhat.com>
Subject: [Qemu-devel] Re: [PATCH 1/2] kvm: Use kvm-kmod headers if available
Date: Tue, 12 Jan 2010 22:22:33 +0100	[thread overview]
Message-ID: <4B4CE819.4010402@web.de> (raw)
In-Reply-To: <eafa4c131001121220i17ca35efofb8162af938657be@mail.gmail.com>

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

Doug Goldstein wrote:
> On Tue, Jan 12, 2010 at 12:53 PM, Jan Kiszka <jan.kiszka@siemens.com> wrote:
>> Since kvm-kmod-2.6.32.2 we have an alternative source for recent KVM
>> kernel headers. Use it when available and not overruled by --kerneldir.
>>
> 
> Would it be possible to turn this into a configure option? Such that I
> could say ./configure --with-kvm-kmod{=optional/path/to} because
> otherwise this adds a potential automagical dependency onto kvm-kmod
> (i.e. if the user had kvm-kmod installed at the time of build but then
> removed them and went back with their kernel provided version)

I don't see the problem yet. Either the qemu version built against the
previously installed headers will detect during runtime that the loaded
kvm support is restricted or even unsuited and handle this properly. Or
the user will happen to generate a new qemu which lacks the same
features as the installed kvm.

There is only the case that the distribution ships more powerful kvm
modules than their kernel headers advertise. But that's a distribution
bug we can only solve by filing bug reports there and installing
kvm-kmod in the meantime.

Jan


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

  reply	other threads:[~2010-01-12 21:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-12 18:53 [Qemu-devel] [PATCH 1/2] kvm: Use kvm-kmod headers if available Jan Kiszka
2010-01-12 20:20 ` [Qemu-devel] " Doug Goldstein
2010-01-12 21:22   ` Jan Kiszka [this message]
2010-01-12 20:36 ` [Qemu-devel] " Anthony Liguori

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=4B4CE819.4010402@web.de \
    --to=jan.kiszka@web.de \
    --cc=aliguori@us.ibm.com \
    --cc=avi@redhat.com \
    --cc=cardoe@gentoo.org \
    --cc=gleb@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mtosatti@redhat.com \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).