]> git.proxmox.com Git - mirror_qemu.git/commit
vmstate registration: check return values
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 2 Feb 2017 12:59:56 +0000 (12:59 +0000)
committerJuan Quintela <quintela@redhat.com>
Mon, 6 Feb 2017 12:36:49 +0000 (13:36 +0100)
commit67980031d234aa90524b83bb80bb5d1601d29076
treeaa941b15cdb14471da67c99eec6042c0572f5484
parent581f08bac22bdd5e081ae07f68071a0fc3c5c2c7
vmstate registration: check return values

Check qdev's call to vmstate_register_with_alias_id; that gets
most of the common uses; there's hundreds of calls via vmstate_register
which could get fixed over time.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20170202125956.21942-4-dgilbert@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
hw/core/qdev.c