mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
qdev: Improve a few more PropertyInfo @description members
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-ID: <20250227085601.4140852-7-armbru@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
0b9d12b03c
commit
45e5b49360
5 changed files with 6 additions and 4 deletions
|
@ -662,7 +662,7 @@ invalid:
|
|||
*/
|
||||
static const PropertyInfo xen_block_prop_vdev = {
|
||||
.type = "str",
|
||||
.description = "Virtual Disk specifier: d*p*/xvd*/hd*/sd*",
|
||||
.description = "Virtual Disk specifier (d*p*/xvd*/hd*/sd*)",
|
||||
.get = xen_block_get_vdev,
|
||||
.set = xen_block_set_vdev,
|
||||
};
|
||||
|
|
|
@ -985,7 +985,7 @@ inval:
|
|||
|
||||
const PropertyInfo qdev_prop_pci_host_devaddr = {
|
||||
.type = "str",
|
||||
.description = "Address (bus/device/function) of "
|
||||
.description = "Address (bus:device.function) of "
|
||||
"the host device, example: 04:10.0",
|
||||
.get = get_pci_host_devaddr,
|
||||
.set = set_pci_host_devaddr,
|
||||
|
|
|
@ -247,6 +247,7 @@ static void set_bool(Object *obj, Visitor *v, const char *name, void *opaque,
|
|||
|
||||
const PropertyInfo qdev_prop_bool = {
|
||||
.type = "bool",
|
||||
.description = "on/off",
|
||||
.get = get_bool,
|
||||
.set = set_bool,
|
||||
.set_default_value = set_default_value_bool,
|
||||
|
|
|
@ -75,8 +75,8 @@ static void ccw_device_set_loadparm(Object *obj, Visitor *v,
|
|||
|
||||
const PropertyInfo ccw_loadparm = {
|
||||
.type = "str",
|
||||
.description = "Up to 8 chars in set of [A-Za-z0-9. ] to pass"
|
||||
" to the guest loader/kernel",
|
||||
.description = "Up to 8 chars in set of [A-Za-z0-9. ] to select"
|
||||
" a guest kernel",
|
||||
.get = ccw_device_get_loadparm,
|
||||
.set = ccw_device_set_loadparm,
|
||||
};
|
||||
|
|
|
@ -939,6 +939,7 @@ static void sparc_set_nwindows(Object *obj, Visitor *v, const char *name,
|
|||
|
||||
static const PropertyInfo qdev_prop_nwindows = {
|
||||
.type = "int",
|
||||
.description = "Number of register windows",
|
||||
.get = sparc_get_nwindows,
|
||||
.set = sparc_set_nwindows,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue