[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130419103519.GB21981@pd.tnic>
Date: Fri, 19 Apr 2013 12:35:20 +0200
From: Borislav Petkov <bp@...en8.de>
To: Marcelo Tosatti <mtosatti@...hat.com>
Cc: Pekka Enberg <penberg@...nel.org>, Ingo Molnar <mingo@...nel.org>,
"H. Peter Anvin" <hpa@...or.com>,
Sasha Levin <levinsasha928@...il.com>,
Fengguang Wu <fengguang.wu@...el.com>,
lkml <linux-kernel@...r.kernel.org>, x86-ml <x86@...nel.org>,
kvm@...r.kernel.org
Subject: Re: [PATCH] x86: Add a Kconfig shortcut for a kvm-bootable kernel
On Thu, Apr 18, 2013 at 10:36:31AM -0300, Marcelo Tosatti wrote:
> > IOW, something which says "Enable KVM guest support" should enable all
> > the stuff needed for that.
>
> I get your point, but thats up to the person selecting the options.
Ok.
> > Or do you want to keep the current CONFIG_KVM_GUEST separate for special
> > stuff?
>
> Yes.
Ok.
> > Basically, I'm looking from the perspective of a kernel dev who would
> > like to make an optimal use of kvm for testing kernels.
> >
> > Does that make more sense?
>
> Understood (just don't mix it with the current CONFIG_KVM_GUEST option).
Ok, got it - we want those additional options in another Kconfig option,
probably depending on KVM_GUEST.
> Even though can't see why those options can live in defconfig files as
> suggested.
Well, for one, some of the options are already in the defconfig files.
However, you want to have a single shortcut option which selects those
when building randconfigs and trying to boot them in kvm. I.e., you want
some basic functionality to be always present, even with randconfigs.
And you won't have that functionality enabled if you put them in a
defconfig, AFAICT.
Now, I do that already in my tests by having those and other options in
an all.config file in the kernel repo which gets parsed by Kconfig.
The reason for adding this to the kernel though was to save other people
the time of looking for all those options everytime but have one single
shortcut. Which can also be updated by kvm people whenever they feel
like new guest kernel functionality should be enabled.
If people still feel like this is not a good idea, I can drop it. But it
makes a bunch of sense to me, currently at least :).
Thanks.
--
Regards/Gruss,
Boris.
Sent from a fat crate under my desk. Formatting is fine.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists