summaryrefslogtreecommitdiff
path: root/target-alpha
diff options
context:
space:
mode:
authorGonglei <arei.gonglei@huawei.com>2014-09-30 14:10:27 +0800
committerMichael Roth <mdroth@linux.vnet.ibm.com>2015-01-06 16:00:47 -0600
commitb6bd501d6af6094ddc2d665372471afb4a2e277d (patch)
tree05074ecbcbf972659977dd9e7311118bff24a73e /target-alpha
parent0369529b3764865874b5084139373c3e34c583bd (diff)
downloadqemu-b6bd501d6af6094ddc2d665372471afb4a2e277d.tar.gz
virtio-net: use aliases instead of duplicate qdev properties
virtio-net-pci, virtio-net-s390, and virtio-net-ccw all duplicate the qdev properties of their VirtIONet 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 VirtIONet 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> (cherry picked from commit 7779edfeb1822ff5f554a4c1f3e9798789a9352c) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'target-alpha')
0 files changed, 0 insertions, 0 deletions