diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-12-18 17:05:05 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-12-19 10:27:33 -0600 |
commit | 0d41d9aabbed72750ca41e94ce1fda94dd1919d1 (patch) | |
tree | a53ad9d57fb01f943ae870b576f37e1df7929b1e /hw/qdev.c | |
parent | 47c6d3ecdfc3fc354cf996f873a9f854c2325160 (diff) | |
download | qemu-0d41d9aabbed72750ca41e94ce1fda94dd1919d1.tar.gz qemu-0d41d9aabbed72750ca41e94ce1fda94dd1919d1.tar.bz2 qemu-0d41d9aabbed72750ca41e94ce1fda94dd1919d1.zip |
qom: fix swapped parameters
Reviewed-by: Anthony Liguori <anthony@codemonkey.ws>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/qdev.c')
-rw-r--r-- | hw/qdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1110,7 +1110,7 @@ void qdev_property_set(DeviceState *dev, Visitor *v, const char *name, if (!prop->set) { error_set(errp, QERR_PERMISSION_DENIED); } else { - prop->set(dev, prop->opaque, v, name, errp); + prop->set(dev, v, prop->opaque, name, errp); } } |