diff options
author | Amit Shah | 2016-06-17 14:16:39 +0200 |
---|---|---|
committer | Amit Shah | 2016-06-17 14:54:33 +0200 |
commit | 0794d8895ef8d1bd6db528e5d9ca19b86297803b (patch) | |
tree | c66f57ee59521bbff2cf581bf8bb6c6c926cd5ef /hw/usb/dev-storage.c | |
parent | migration: code clean up (diff) | |
download | qemu-0794d8895ef8d1bd6db528e5d9ca19b86297803b.tar.gz qemu-0794d8895ef8d1bd6db528e5d9ca19b86297803b.tar.xz qemu-0794d8895ef8d1bd6db528e5d9ca19b86297803b.zip |
vmstate-static-checker: fix size mismatch detection in unused fields
If a field changed from something to unused, the checker wasn't flagging
if the field size mismatched. This was noticed in:
http://thread.gmane.org/gmane.comp.emulators.qemu/419802
where the 4->1 size change along with field name change to 'unused'
wasn't being flagged. Fix this.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Message-Id: <d7ec03a9b2edfa0616764887a51ba8f64fdd3f68.1466165736.git.amit.shah@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'hw/usb/dev-storage.c')
0 files changed, 0 insertions, 0 deletions