From: Jan Kiszka <jan.kiszka@web.de>
To: Avi Kivity <avi@redhat.com>
Cc: "Blue Swirl" <blauwirbel@gmail.com>,
=?ISO-8859-15?Q?Andreas_F=E4?=@gnu.org,
rber <andreas.faerber@web.de>, qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Re: [PATCH] kvm: Improve upgrade notes when facing unsupported kernels
Date: Sun, 07 Jun 2009 11:51:46 +0200 [thread overview]
Message-ID: <4A2B8DB2.1040001@web.de> (raw)
In-Reply-To: <4A2B8C36.6010307@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1556 bytes --]
Avi Kivity wrote:
> Jan Kiszka wrote:
>> Avi Kivity wrote:
>>
>>> Jan Kiszka wrote:
>>>
>>>> Users complained that it is not obvious what to do when kvm refuses to
>>>> build or run due to an unsupported host kernel, so let's improve the
>>>> hints.
>>>>
>>>> diff --git a/configure b/configure
>>>> index 42d46f2..8ccb58c 100755
>>>> --- a/configure
>>>> +++ b/configure
>>>> @@ -1158,7 +1158,9 @@ EOF
>>>> | grep "error: " \
>>>> | awk -F "error: " '{if (NR>1) printf(", "); printf("%s",$2);}'`
>>>> if test "$kvmerr" != "" ; then
>>>> - kvm="no - (${kvmerr})"
>>>> + kvm="no - (${kvmerr})\n\
>>>> + NOTE: To enable KVM support, update your kernel to 2.6.29+ or
>>>> install \
>>>> +recent kvm-kmod from http://sourceforge.net/projects/kvm."
>>>> fi
>>>>
>>> Installing kvm-mod is insufficient, you need the headers from somewhere.
>>>
>>>
>>
>> True. Hmm, wasn't there the plan to fix this by carrying them in-tree?
>>
>
> Anthony even posted a patch but it was a bit excessive, carrying tons of
> kernel headers. I think we'd be fine carrying just the kvm headers,
> same as qemu-kvm. In which case the compile time test can go away.
>
> Alternatively, I can make kvm-kmod install the necessary headers to
> /usr/local/include. It's probably cleaner this way.
>
Good idea. Maybe put them in a separate directory (and make qemu aware
of it) so that kvm-kmod packages will not run into conflicts with the
installed kernel headers.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
next prev parent reply other threads:[~2009-06-07 9:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-07 9:30 [Qemu-devel] [PATCH] kvm: Improve upgrade notes when facing unsupported kernels Jan Kiszka
2009-06-07 9:38 ` [Qemu-devel] " Avi Kivity
2009-06-07 9:40 ` Jan Kiszka
2009-06-07 9:45 ` Avi Kivity
2009-06-07 9:51 ` Jan Kiszka [this message]
2009-06-07 9:53 ` Avi Kivity
2009-06-07 9:57 ` Jan Kiszka
2009-06-07 10:07 ` Avi Kivity
2009-06-07 13:47 ` Blue Swirl
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=4A2B8DB2.1040001@web.de \
--to=jan.kiszka@web.de \
--cc==?ISO-8859-15?Q?Andreas_F=E4?=@gnu.org \
--cc=andreas.faerber@web.de \
--cc=avi@redhat.com \
--cc=blauwirbel@gmail.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).