Re: [Qemu-devel] [PATCH]: Fix i2c_bus_save, which fixes KVM live migration

andrzej zaborowski
2008-07-29T14:00:00Z

2008/7/29 Chris Lalancette <clalance@redhat.com>:
> Attached is a simple patch to make i2c_bus_save() put a 32-bit quantity in the
> save file, which matches what i2c_bus_load() expects to pull out of the save
> file later. Without this fix in place, KVM live migration fails since the
> sender is only sending 1 byte while the receiver is waiting to receive 4 bytes.

Thanks, I committed this modified to use byte width afterall since the
addresses are 7-bit quantities, as noted by Anthony. Means that
existing snapshots are not invalidated.

Cheers