On Mon, Dec 14, 2009 at 10:41:26AM +0100, Gerd Hoffmann wrote: > On 12/13/09 21:43, Michael S. Tsirkin wrote: >> Add features property to virtio. This makes it >> possible to e.g. define machine without indirect >> buffer support, which is required for 0.10 >> compatibility. or without hardware checksum >> support, which is required for 0.11 compatibility. > > I'd suggest to add flags for the individual features to the drivers > which actually use it instead, so you'll have > > -device virtio-net-pci,hw-checksum=0 > > and > > -device virtio-blk-pci,indirect-buffers=0 > > cheers, > Gerd
Hmm. I hoped to avoid it, there are lots of features so it's a lot of work and in practice, this will most likely be set by machine description ... -- MST