mptsas: Fix a migration compatible issue
commitf077f889121c89612eaf0f21e94b97aa110a6910
authorCao jin <caoj.fnst@cn.fujitsu.com>
Tue, 26 Jul 2016 09:03:23 +0000 (26 17:03 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 29 Jul 2016 03:09:55 +0000 (29 06:09 +0300)
tree6e2fba8acb579f97ed75e4645f20bfad12fb9180
parent499c557975275dba23fbf8f23880815d019ce663
mptsas: Fix a migration compatible issue

My previous commit 2e2aa316 removed internal flag msi_in_use, which
exists in vmstate, use VMSTATE_UNUSED for migration compatibility.

Reported-by: Amit Shah <amit.shah@redhat.com>
Suggested-by: Amit Shah <amit.shah@redhat.com>
Cc: Markus Armbruster <armbru@redhat.com>
Cc: Marcel Apfelbaum <marcel@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
hw/scsi/mptsas.c