[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87zk52hg9i.fsf@rustcorp.com.au>
Date: Fri, 07 Sep 2012 09:10:25 +0930
From: Rusty Russell <rusty@...tcorp.com.au>
To: Kent Overstreet <koverstreet@...gle.com>,
"Michael S. Tsirkin" <mst@...hat.com>
Cc: virtualization@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] virtio-blk: Fix kconfig option
Kent Overstreet <koverstreet@...gle.com> writes:
> On Thu, Sep 06, 2012 at 12:49:56PM +0300, Michael S. Tsirkin wrote:
>> On Thu, Sep 06, 2012 at 02:25:12AM -0700, Kent Overstreet wrote:
>> > Do you not understand the difference between depends an selects?
>> > Or did you not read my original mail?
Now you're getting insulting.
It's normal for options to depend on other options. Sometimes they're
directly nested (eg. E1000 depends on NETDEVICES, and it's nested under
that option), sometimes they're not (eg. E1000 depends on PCI, which is
selected elsewhere).
The fact that you are only just realizing this is not Michael's problem.
>> > Flip off everything in drivers -> virtio
>> >
>> > Now go to drivers -> block and try to turn on virtio-blk.
>> >
>> > It's not listed!
>>
>> Yes. Because you disabled all virtio backends.
>> It does not make sense to have any frontends.
>
> How's a user - or even another kernel developer who isn't familiar with
> virtio - supposed to know that?
I get annoyed that menuconfig doesn't show options whose dependencies
aren't possible, too. (I got bitten the other way: it doesn't show
dependencies which can't be disabled, and I was trying to turn KALLSYMS
off).
But as I found out just last week, the '/' key allows you to find any
option, and shows what dependencies it has, and their values.
Hope that helps,
Rusty.
--
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