summaryrefslogtreecommitdiff
path: root/hw/mips/mips_r4k.c
diff options
context:
space:
mode:
authorGonglei <arei.gonglei@huawei.com>2014-09-30 14:10:31 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2014-09-30 11:09:03 +0200
commit4f456d8025c7259c66b2b2bcec99d5c6c94d99be (patch)
tree9c6deeb0a271016d4e2d0391622b16f0ad455d2f /hw/mips/mips_r4k.c
parent1312f12bcc8911ed99b67227fb9d1607295f71ed (diff)
downloadqemu-4f456d8025c7259c66b2b2bcec99d5c6c94d99be.tar.gz
qemu-4f456d8025c7259c66b2b2bcec99d5c6c94d99be.tar.bz2
qemu-4f456d8025c7259c66b2b2bcec99d5c6c94d99be.zip
virtio-serial: use aliases instead of duplicate qdev properties
virtio-serial-{pci, s390, ccw} all duplicate the qdev properties of their VirtIOSerial child. This approach does not work well with string or pointer properties since we must be careful about leaking or double-freeing them. Use the QOM alias property to forward property accesses to the VirtIOSerial child. This way no duplication is necessary. Signed-off-by: Gonglei <arei.gonglei@huawei.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Cc: qemu-stable@nongnu.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/mips/mips_r4k.c')
0 files changed, 0 insertions, 0 deletions