qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/3] Fix confused output for alias properties
@ 2014-09-16  5:51 arei.gonglei
  2014-09-16  5:51 ` [Qemu-devel] [PATCH v2 1/3] qom: add error handler for object alias property arei.gonglei
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: arei.gonglei @ 2014-09-16  5:51 UTC (permalink / raw)
  To: qemu-devel
  Cc: weidong.huang, aliguori, mst, luonengjun, peter.huangpeng,
	lcapitulino, Gonglei, stefanha, pbonzini, afaerber

From: Gonglei <arei.gonglei@huawei.com>

At present, people have no way to know they should
have a specific format for alias properties.

 Example:

before output:

virtio-blk-pci.physical_block_size=uint16
virtio-blk-pci.logical_block_size=uint16
virtio-blk-pci.drive=str

after output applied this patch series:

virtio-blk-pci.physical_block_size=blocksize
virtio-blk-pci.logical_block_size=blocksize
virtio-blk-pci.drive=drive

v2 -> v1:
 - free prop when error is happened PATCH 1/3.
 - move AliasProperty strut to Object.h, object_property_add_alias()
  API allows objects to alias a property on the same object or
  another object. The source and target names can be different,
  we should address this scenario.
 - add 'Reviewed-by' (PATCH 1/3) and 'Acked-by' (PATCH 3/3) tags,
  hope Paolo and Michael don't mind about those changes. Thanks. :)

Gonglei (3):
  qom: add error handler for object alias property
  qom: add AliasProperty struct poniter for alias property in
    ObjectProperty
  qmp: print real legacy_name for alias property

 include/qom/object.h |  8 ++++++
 qmp.c                | 79 +++++++++++++++++++++++++++++++++++++---------------
 qom/object.c         | 16 +++++++----
 3 files changed, 74 insertions(+), 29 deletions(-)

-- 
1.7.12.4

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

end of thread, other threads:[~2014-09-16 13:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-16  5:51 [Qemu-devel] [PATCH v2 0/3] Fix confused output for alias properties arei.gonglei
2014-09-16  5:51 ` [Qemu-devel] [PATCH v2 1/3] qom: add error handler for object alias property arei.gonglei
2014-09-16  5:51 ` [Qemu-devel] [PATCH v2 2/3] qom: add AliasProperty struct poniter for alias property in ObjectProperty arei.gonglei
2014-09-16 12:22   ` Eric Blake
2014-09-16 13:32     ` Gonglei (Arei)
2014-09-16  5:51 ` [Qemu-devel] [PATCH v2 3/3] qmp: print real legacy_name for alias property arei.gonglei

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).