]> Git Repo - qemu.git/commit - hw/qdev-addr.c
hw/qdev-properties.c: Improve diagnostic for setting property after realize
authorPeter Maydell <[email protected]>
Mon, 25 Mar 2013 13:40:44 +0000 (13:40 +0000)
committerAnthony Liguori <[email protected]>
Tue, 26 Mar 2013 14:26:49 +0000 (09:26 -0500)
commitb000dfbd42e8aac9af66ae0ed787ef1021bea29f
tree83208f9f96b6b7b09274173a9b94732112955bc4
parentc19f806e01ba5c4a4d4fac80b76841512ed4a11e
hw/qdev-properties.c: Improve diagnostic for setting property after realize

Now we have error_setg() we can improve the error message emitted if
you attempt to set a property of a device after the device is realized
(the previous message was "permission denied" which was not very
informative).

Signed-off-by: Peter Maydell <[email protected]>
Message-id: 1364218844[email protected]
Signed-off-by: Anthony Liguori <[email protected]>
hw/qdev-addr.c
hw/qdev-properties-system.c
hw/qdev-properties.c
hw/qdev-properties.h
hw/qdev.c
This page took 0.038974 seconds and 4 git commands to generate.