On Tue, 30 Sep 2014 14:10:33 +0800 <arei.gong...@huawei.com> wrote: > From: Gonglei <arei.gong...@huawei.com> > > virtio-rng-{pci, s390, ccw} all duplicate the > qdev properties of their VirtIORNG 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 > VirtIORNG child. This way no duplication is necessary. > > Signed-off-by: Gonglei <arei.gong...@huawei.com> > --- > hw/s390x/s390-virtio-bus.c | 2 +- > hw/s390x/virtio-ccw.c | 2 +- > hw/virtio/virtio-pci.c | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-)
Reviewed-by: Cornelia Huck <cornelia.h...@de.ibm.com>