On Thu, 2009-01-15 at 11:39 -0700, Alex Williamson wrote:
> > version_id)
> > >  {
> > >      VirtIONet *n = opaque;
> > >  
> > > -    if (version_id != 2)
> > > +    if (version_id < 3 || version_id > VIRTIO_NET_VM_VERSION)
> > 
> > This bit isn't right - how can this code load e.g. version 4?
> 
> It can't.  There's no way to load a save image for a version_id
> greater
> than VIRTIO_NET_VM_VERSION, because we don't know how much data to pop
> off or what state we'd be missing.  We can only load older save images
> on equal or newer versions of qemu.  As far as know...  Thanks,

Yes, I read the code wrong :)

Cheers,
Mark.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to