From: Gonglei <arei.gong...@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

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

 include/qom/object.h |  3 +++
 qmp.c                | 68 ++++++++++++++++++++++++++++++++++++----------------
 qom/object.c         | 10 +++++++-
 3 files changed, 59 insertions(+), 22 deletions(-)

-- 
1.7.12.4



Reply via email to