]> git.proxmox.com Git - qemu.git/commit
qom: Detect attempts to add a property that already exists
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 25 Mar 2013 13:15:13 +0000 (13:15 +0000)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 26 Mar 2013 14:27:02 +0000 (09:27 -0500)
commit54852b03711f06c5f24af72de583346922176947
tree7eaed56ff92a2a9c7000e013ee749a765d0dfabe
parentb000dfbd42e8aac9af66ae0ed787ef1021bea29f
qom: Detect attempts to add a property that already exists

Detect attempts to add a property to an object if one of
that name already exists, and report them as errors.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1364217314-7400-2-git-send-email-peter.maydell@linaro.org
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qom/object.c