qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] virtio-balloon: use alias property
@ 2015-05-11  9:34 shannon.zhao
  2015-05-11  9:34 ` [Qemu-devel] [PATCH 1/3] hw/virtio/virtio-balloon: move adding property to virtio_balloon_instance_init shannon.zhao
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: shannon.zhao @ 2015-05-11  9:34 UTC (permalink / raw)
  To: qemu-devel, peter.maydell, cornelia.huck, mst, pbonzini
  Cc: hangaohuai, peter.huangpeng, christoffer.dall, zhaoshenglong

From: Shannon Zhao <shannon.zhao@linaro.org>

The wrappers of virtio-balloon are using object_property_add to add
properties and all have their own getters/setters which are duplicate of
those in virtio-balloon device. So this patchset uses
object_property_add_alias for these properties as Paolo suggested.

Shannon Zhao (3):
  hw/virtio/virtio-balloon: move adding property to
    virtio_balloon_instance_init
  hw/virtio/virtio-pci: use alias property for virtio-balloon-pci
  hw/s390x/virtio-ccw: use alias property for virtio-balloon-ccw

 hw/s390x/virtio-ccw.c      | 39 ++++++---------------------------------
 hw/virtio/virtio-balloon.c | 22 ++++++++++++++--------
 hw/virtio/virtio-pci.c     | 40 ++++++----------------------------------
 3 files changed, 26 insertions(+), 75 deletions(-)

-- 
2.1.0

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-05-20  1:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-11  9:34 [Qemu-devel] [PATCH 0/3] virtio-balloon: use alias property shannon.zhao
2015-05-11  9:34 ` [Qemu-devel] [PATCH 1/3] hw/virtio/virtio-balloon: move adding property to virtio_balloon_instance_init shannon.zhao
2015-05-11 10:13   ` Paolo Bonzini
2015-05-11  9:34 ` [Qemu-devel] [PATCH 2/3] hw/virtio/virtio-pci: use alias property for virtio-balloon-pci shannon.zhao
2015-05-11  9:34 ` [Qemu-devel] [PATCH 3/3] hw/s390x/virtio-ccw: use alias property for virtio-balloon-ccw shannon.zhao
2015-05-11 10:14 ` [Qemu-devel] [PATCH 0/3] virtio-balloon: use alias property Paolo Bonzini
2015-05-11 12:02 ` Cornelia Huck
2015-05-20  1:09 ` Shannon Zhao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).