Re: [PATCHv3 RFC] virtio-pci: flexible configuration layout

From: Michael S. Tsirkin
Date: Wed Nov 30 2011 - 02:16:47 EST


On Wed, Nov 30, 2011 at 09:58:45AM +1030, Rusty Russell wrote:
> > I think I see a way to do that in a relatively painless way.
> > Do you prefer seeing driver patches or spec? Or are you not interested
> > in reusing the same structure at all?
>
> I think we should look at code at this point; my gut says we're going to
> be not-quite-similar-enough-to-be-useful. At which point, a clean-slate
> approach is more appealing. But the code will show, one way or another.
>
> Thanks,
> Rusty.

Makes sense, absolutely. So I'll hack on it and post and we can
judge the result.

One small comment that I'm afraid was lost in the noise
is that we should not add any 64 bit fields in the common area,
because there's no generic iowrite64/ioread64.

--
MST
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/