aboutsummaryrefslogtreecommitdiff
path: root/include/qom
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2020-07-07 18:05:48 +0200
committerMarkus Armbruster <armbru@redhat.com>2020-07-10 15:18:08 +0200
commit5af3a05631daffc61a12dd2c25d15876f048fdd1 (patch)
treeb3de89b2640444b98671bf6c5017ac2659114a18 /include/qom
parent14217038bc9e36246d311fa8e026a01a5d7bbd42 (diff)
downloadqemu-5af3a05631daffc61a12dd2c25d15876f048fdd1.zip
qemu-5af3a05631daffc61a12dd2c25d15876f048fdd1.tar.gz
qemu-5af3a05631daffc61a12dd2c25d15876f048fdd1.tar.bz2
s390x/pci: Fix harmless mistake in zpci's property fid's setter
s390_pci_set_fid() sets zpci->fid_defined to true even when visit_type_uint32() failed. Reproducer: "-device zpci,fid=junk". Harmless in practice, because qdev_device_add() then fails, throwing away @zpci. Fix it anyway. Cc: Matthew Rosato <mjrosato@linux.ibm.com> Cc: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Message-Id: <20200707160613.848843-21-armbru@redhat.com>
Diffstat (limited to 'include/qom')
0 files changed, 0 insertions, 0 deletions