RE: [PATCH] Account for Fedora kernels with backported vzalloc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: ext Avi Kivity [mailto:avi@xxxxxxxxxx]
> Sent: Tuesday, May 17, 2011 7:30 PM
> To: Kohl, Bernhard (NSN - DE/Munich)
> Cc: kvm@xxxxxxxxxxxxxxx; jan.kiszka@xxxxxxxxxxx
> Subject: Re: [PATCH] Account for Fedora kernels with backported
vzalloc
> 
> On 05/17/2011 05:55 PM, Bernhard Kohl wrote:
> > kvm-kmod-2.6.38.6 does not compile on Fedora kernels>= 2.6.35.11.
> 
> > index a40c39f..b91587c 100755
> > --- a/configure
> > +++ b/configure
> > @@ -153,6 +153,13 @@ if [ -n "$no_uname" -a "$want_module" ]; then
> >   	depmod_version=$kernel_version
> >   fi
> >
> > +# Check if it is a Fedora kernel, e.g. 2.6.35.13-91.fc14.x86_64
> > +if echo "$kernel_version" | grep -qE '[0-9.-]+\.fc[0-9]+\..+'; then
> > +    config_fedora_kernel="#define CONFIG_FEDORA_KERNEL 1"
> > +else
> > +    config_fedora_kernel="#undef CONFIG_FEDORA_KERNEL"
> > +fi
> > +
> 
> Curious, why are you targetting Fedora kernels at all?  They have a
> really short shelf life.  I though kvm-kmod was for people using
longer
> term kernels like enterprise distros or long lived embedded projects.

Here at NSN a couple of developers and testers are using Fedora +
kvm-kmod
to run some of our systems (with in-house developed OS) on KVM. This
works
also without kvm-kmod since kernel 2.6.35 (Fedora 14). The number of
users
(which are not Linux experts at all) is growing since over a year.
Usually
I prepare and test new versions of kvm-kmod and then it's easy for these
guys to install it on their machines. So I always keep track to be
up-to-date with the upstream kvm-kmod.

The next candidate for kvm-kmod usage here might be your patch set
"KVM in-guest performance monitoring", but I think we need a complete
kernel for this as major parts of these patches are outside KVM. Some
people here are eager for this new feature. Accidentally my colleague
Thomas started investigating the performance counter topic 2 weeks ago.

Nevertheless I hope that kvm-kmod will live for a while. It is quite
useful for our work.

> 
> For Fedora, you can use the native kvm, or install a rawhide kernel,
or
> an upstream kernel with 'make localmodconfig'.

Thanks for this hint. I did not yet try localmodconfig.

Bernhard

> 
> --
> error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux