scsi: esp: fix migration
commitcc96677469388bad3d66479379735cf75db069e3
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 20 Jun 2016 14:32:39 +0000 (20 16:32 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 29 Jun 2016 12:03:47 +0000 (29 14:03 +0200)
tree6dee2e5f053e6cfb69d547d4810db84e4d9dc674
parent3638439d541835f20fb76346f14549800046af76
scsi: esp: fix migration

Commit 926cde5 ("scsi: esp: make cmdbuf big enough for maximum CDB size",
2016-06-16) changed the size of a migrated field.  Split it in two
parts, and only migrate the second part in a new vmstate version.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/esp.c
include/migration/vmstate.h