On Mon, Nov 23, 2009 at 10:29:12AM +0100, Paolo Bonzini wrote: > On 11/23/2009 09:26 AM, Gleb Natapov wrote: > >>>> >I'd go with chunk instead of feature bits, specifying them like in > >>>> >the PNG specification: > >>> > >>> You mean, each device would have multiple sections? We already use > >>> chunks for each device state. > >>> > >Each device can send device info in multiple formats (each format with > >its own ID) and destination will choose the one it supports. > > First of all, we'd need a mechanism to send _lengths_ of chunks. And we need the mechanism to match incoming chunks to a consumer. Not relay on order of incoming data.
> This is especially important since there could be other consumers > than QEMU for vm state data, and these may be interested only in few > pieces of data. > > Paolo -- Gleb.