[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120906092512.GB5902@koverstreet-glaptop>
Date: Thu, 6 Sep 2012 02:25:12 -0700
From: Kent Overstreet <koverstreet@...gle.com>
To: "Michael S. Tsirkin" <mst@...hat.com>
Cc: Rusty Russell <rusty@...tcorp.com.au>,
virtualization@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] virtio-blk: Fix kconfig option
On Thu, Sep 06, 2012 at 11:44:03AM +0300, Michael S. Tsirkin wrote:
> On Thu, Sep 06, 2012 at 12:41:13AM -0700, Kent Overstreet wrote:
> > On Tue, Sep 04, 2012 at 03:53:53PM +0930, Rusty Russell wrote:
> > > Kent Overstreet <koverstreet@...gle.com> writes:
> > >
> > > > CONFIG_VIRTIO isn't exposed, everything else is supposed to select it
> > > > instead.
> > >
> > > This is a slight mis-understanding. It's supposed to be selected by
> > > the particular driver, probably virtio_pci in your case.
> >
> > So are you saying virtio-blk depends on virtio-pci? If so, the kconfig
> > should have that.
> >
> > As is, VIRTIO_BLK just has:
> > depends on EXPERIMENTAL && VIRTIO
> >
> > which is flat out broken.
>
> I don't think anything is broken.
> Can you show an example of a broken configuration?
Do you not understand the difference between depends an selects? Or did
you not read my original mail?
Flip off everything in drivers -> virtio
Now go to drivers -> block and try to turn on virtio-blk.
It's not listed!
Now go back to drivers -> virtio and turn on (randomly) balloon.
Go back to drivers -> block, and now you can turn on virtio-blk!
Do you see what's wrong with this picture?
--
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