[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141117104430.54362e7d.cornelia.huck@de.ibm.com>
Date: Mon, 17 Nov 2014 10:44:30 +0100
From: Cornelia Huck <cornelia.huck@...ibm.com>
To: "Michael S. Tsirkin" <mst@...hat.com>
Cc: Jason Wang <jasowang@...hat.com>, rusty@...tcorp.com.au,
virtualization@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org,
Wanlong Gao <gaowanlong@...fujitsu.com>
Subject: Re: [PATCH V3 1/2] virtio: introduce methods of sanitizing device
features
On Mon, 17 Nov 2014 11:37:01 +0200
"Michael S. Tsirkin" <mst@...hat.com> wrote:
> On Mon, Nov 17, 2014 at 05:17:17PM +0800, Jason Wang wrote:
> > Buggy host may advertised buggy host features (a usual case is that host
> > advertise a feature whose dependencies were missed). In this case, driver
> > should detect and disable the buggy features by itself.
> >
> > This patch introduces driver specific sanitize_features() method which is
> > called just before features finalizing to detect and disable buggy features
> > advertised by host.
> >
> > Virtio-net will be the first user.
> >
> > Cc: Rusty Russell <rusty@...tcorp.com.au>
> > Cc: Michael S. Tsirkin <mst@...hat.com>
> > Cc: Cornelia Huck <cornelia.huck@...ibm.com>
> > Cc: Wanlong Gao <gaowanlong@...fujitsu.com>
> > Signed-off-by: Jason Wang <jasowang@...hat.com>
>
> Hmm this conflicts with virtio 1.0 work: we drop
> features as bitmap there.
But that's an implementation detail, no? We'll still need a way for the
driver to sanitize features, and I think this interface works just 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