]> git.proxmox.com Git - mirror_qemu.git/commit - include/migration/vmstate.h
scsi: Fix migration of scsi sense data
authorFam Zheng <famz@redhat.com>
Thu, 6 Mar 2014 08:26:02 +0000 (16:26 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Mar 2014 09:06:55 +0000 (10:06 +0100)
commit2e323f03bfa323636552b386c982412944ff86ae
tree15b053442320d9bdab701b8616f238b891c49f25
parent22956a3755749b9cf6375ad024d58c1d277100bf
scsi: Fix migration of scsi sense data

c5f52875 changed the size of sense array in vmstate_scsi_device by
mistake. This patch restores the old size, and add a subsection for the
remaining part of the buffer size. So that migration is not broken.

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