[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/3] Fix confused output for alias properties
From: |
arei.gonglei |
Subject: |
[Qemu-devel] [PATCH v2 0/3] Fix confused output for alias properties |
Date: |
Tue, 16 Sep 2014 13:51:17 +0800 |
From: Gonglei <address@hidden>
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
- [Qemu-devel] [PATCH v2 0/3] Fix confused output for alias properties,
arei.gonglei <=