diff options
| author | Gonglei | 2014-09-30 08:10:36 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2014-09-30 11:09:56 +0200 |
| commit | 48833071d955406ebeddc365a8df8b5cb12b035f (patch) | |
| tree | 6fd2b5fd75c726168d06b036fded07929890c143 /include | |
| parent | virtio-balloon: fix virtio-balloon child refcount in transports (diff) | |
| download | qemu-48833071d955406ebeddc365a8df8b5cb12b035f.tar.gz qemu-48833071d955406ebeddc365a8df8b5cb12b035f.tar.xz qemu-48833071d955406ebeddc365a8df8b5cb12b035f.zip | |
virtio-9p: use aliases instead of duplicate qdev properties
virtio-9p-pci all duplicate the qdev properties of their
V9fsState 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
V9fsState child. This way no duplication is necessary.
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
