/qemu/include/qom/ |
H A D | object.h | 35 * @obj: the object that owns the property 36 * @v: the visitor that contains the property data 37 * @name: the name of the property 38 * @opaque: the object property opaque 41 * Called when trying to get/set a property. 51 * @obj: the object that owns the property 52 * @opaque: the opaque registered with the property 53 * @part: the name of the property 55 * Resolves the #Object corresponding to property @part. 70 * @obj: the object that owns the property [all …]
|
H A D | qom-qobject.h | 19 * @name: the name of the property 22 * Returns: the value of the property, converted to QObject, or NULL if 31 * @name: the name of the property 32 * @value: The value that will be written to the property. 35 * Writes a property to a object.
|
/qemu/include/system/ |
H A D | device_tree.h | 66 const char *property, const void *val, int size); 68 const char *property, uint32_t val); 70 const char *property, uint64_t val); 72 const char *property, const char *string); 75 * qemu_fdt_setprop_string_array: set a string array property 79 * @prop: property array 83 * assigns a string array to a property. This function converts and 85 * setting the property. 91 const char *property, 94 * qemu_fdt_getprop: retrieve the value of a given property [all …]
|
/qemu/hw/core/ |
H A D | qdev-properties.c | 18 error_setg(errp, "Attempt to set property '%s' on device '%s' " in qdev_prop_set_after_realize() 22 error_setg(errp, "Attempt to set property '%s' on anonymous device " in qdev_prop_set_after_realize() 28 /* returns: true if property is allowed to be set, false otherwise */ 48 error_setg(errp, "Attempt to set link property '%s' on device '%s' " in qdev_prop_allow_set_link_before_realize() 54 void *object_field_prop_ptr(Object *obj, const Property *prop) in object_field_prop_ptr() 64 const Property *prop = opaque; in field_prop_get() 69 * field_prop_getter: Return getter function to be used for property 81 const Property *prop = opaque; in field_prop_set() 91 * field_prop_setter: Return setter function to be used for property 103 const Property *prop = opaque; in qdev_propinfo_get_enum() [all …]
|
H A D | qdev-prop-internal.h | 2 * qdev property parsing 17 const Property *prop); 19 const Property *prop); 21 const Property *prop);
|
H A D | qdev-properties-system.c | 2 * qdev property parsing 52 prop->driver, prop->property, name, new_val); in check_prop_still_unset() 93 const Property *prop = opaque; in get_drive() 119 const Property *prop = opaque; in set_drive_helper() 184 error_setg(errp, "Property '%s.%s' can't find value '%s'", in set_drive_helper() 229 const Property *prop = opaque; in release_drive() 273 const Property *prop = opaque; in set_chr() 298 error_setg(errp, "Property '%s.%s' can't find value '%s'", in set_chr() 301 error_prepend(errp, "Property '%s.%s' can't take value '%s': ", in set_chr() 309 const Property *prop = opaque; in release_chr() [all …]
|
/qemu/python/qemu/utils/ |
H A D | qom.py | 13 set Set a QOM property value 14 get Get a QOM property value 51 QOM Command - Set a property to a given value. 53 usage: qom-set [-h] [--socket SOCKET] <path>.<property> <value> 55 Set a QOM property value 58 <path>.<property> QOM path and property, separated by a period '.' 59 <value> new QOM property value 68 help = 'Set a QOM property value' 78 help='new QOM property value' 90 property=self.prop, [all …]
|
H A D | qom_common.py | 57 @property 59 """Is this property a child property?""" 62 @property 64 """Is this property a link property?""" 126 metavar='<path>.<property>', 128 help="QOM path and property, separated by a period '.'"
|
/qemu/include/hw/arm/ |
H A D | armv7m.h | 44 * + Property "cpu-type": CPU type to instantiate 45 * + Property "num-irq": number of external IRQ lines 46 * + Property "num-prio-bits": number of priority bits in the NVIC 47 * + Property "memory": MemoryRegion defining the physical address space 50 * + Property "idau": IDAU interface (forwarded to CPU object) 51 * + Property "init-svtor": secure VTOR reset value (forwarded to CPU object) 52 * + Property "init-nsvtor": non-secure VTOR reset value (forwarded to CPU object) 53 * + Property "vfp": enable VFP (forwarded to CPU object) 54 * + Property "dsp": enable DSP (forwarded to CPU object) 55 * + Property "enable-bitband": expose bitbanded IO [all …]
|
/qemu/include/hw/ |
H A D | qdev-properties.h | 7 * Property: 10 * (if false then no default value is set by the property system 12 * @defval: default value for the property. This is used only if @set_default 15 struct Property { struct 36 bool realized_set_allowed; /* allow setting property on realized device */ 37 int (*print)(Object *obj, const Property *prop, char *dest, size_t len); argument 38 void (*set_default_value)(ObjectProperty *op, const Property *prop); 40 const Property *prop); 125 * @_arrayprop: PropertyInfo defining what property the array elements have 133 * When the array property is set, the @_field member of the device [all …]
|
/qemu/ui/ |
H A D | dbus-display1.xml | 14 <property name="Name" type="s" access="read"/> 21 <property name="UUID" type="s" access="read"/> 28 <property name="ConsoleIDs" type="au" access="read"/> 33 This property lists extra interfaces provided by the 38 property does not require parsing XML. 40 (earlier version of the display interface do not provide this property) 42 <property name="Interfaces" type="as" access="read"/> 50 :dbus:prop:`org.qemu.Display1.VM.ConsoleIDs` property. 108 <property name="Label" type="s" access="read"/> 115 <property name="Head" type="u" access="read"/> [all …]
|
/qemu/docs/system/arm/ |
H A D | cpu-features.rst | 17 not a CPU property exists depends on the CPU type. For example, CPUs 20 ``aarch64`` CPU property. A CPU type such as the Cortex-A15, which does 21 not implement ARMv8-A, will not have the ``aarch64`` CPU property. 167 properties have special semantics (see "SVE CPU Property Parsing 236 CPU property completely enables or disables the PMU. The second type 239 dependencies and constraints, see "SVE CPU Property Dependencies and 243 provide the parsing semantics listed in "SVE CPU Property Parsing 246 SVE CPU Property Dependencies and Constraints 264 SVE CPU Property Parsing Semantics 284 CPU Property Dependencies and Constraints"). [all …]
|
/qemu/docs/ |
H A D | bypass-iommu.txt | 1 BYPASS IOMMU PROPERTY 8 is not flexible. We introduce this bypass iommu property to support 13 PCI host bridges have a bypass_iommu property. This property is used to 15 virtual iommu. The bypass_iommu property is valid only when there is a 17 bypass vIOMMU. When bypass_iommu property is not set for a host bridge, 23 bridge, we add a bypass_iommu property for PXB and default_bus_bypass_iommu 75 Add bypass iommu property check of PCI Host and do not get iommu address
|
/qemu/system/ |
H A D | device_tree.c | 140 * leaves (property files). 355 const char *property, const void *val, int size) in qemu_fdt_setprop() argument 359 r = fdt_setprop(fdt, findnode_nofail(fdt, node_path), property, val, size); in qemu_fdt_setprop() 362 property, fdt_strerror(r)); in qemu_fdt_setprop() 370 const char *property, uint32_t val) in qemu_fdt_setprop_cell() argument 374 r = fdt_setprop_cell(fdt, findnode_nofail(fdt, node_path), property, val); in qemu_fdt_setprop_cell() 377 node_path, property, val, fdt_strerror(r)); in qemu_fdt_setprop_cell() 385 const char *property, uint64_t val) in qemu_fdt_setprop_u64() argument 388 return qemu_fdt_setprop(fdt, node_path, property, &val, sizeof(val)); in qemu_fdt_setprop_u64() 392 const char *property, const char *string) in qemu_fdt_setprop_string() argument [all …]
|
/qemu/docs/specs/ |
H A D | ppc-spapr-hotplug.rst | 278 ``3``: instruct guest to prepare for next device tree property. 300 For next-property response: 302 ``wa`` offset of null-terminated string denoting new property's name. 304 ``wa[3]``: for next-property response (unused otherwise): 306 Byte-length of new property's value. 308 ``wa[4]``: for next-property response (unused otherwise): 310 New property's value, encoded as an OFDT-compatible byte array. 425 ``ibm,lrdr-capacity`` is a property in the /rtas device tree node that 438 ``pseries`` guests use this property to note the maximum allowed CPUs for the 460 This property defines a lookup array in which the NUMA associativity [all …]
|
/qemu/include/hw/misc/ |
H A D | mps2-scc.h | 18 * + QOM property "scc-cfg4": value of the read-only CFG4 register 19 * + QOM property "scc-aid": value of the read-only SCC_AID register 20 * + QOM property "scc-id": value of the read-only SCC_ID register 21 * + QOM property "scc-cfg0": reset value of the CFG0 register 22 * + QOM property array "oscclk": reset values of the OSCCLK registers
|
/qemu/scripts/ |
H A D | device-crash-test | 84 …rue}, # icp_realize: required link 'xics' not found: Property '.xics' not found 85 … # ics_base_realize: required link 'xics' not found: Property '.xics' not found 98 {'device':'nvdimm', 'expected':True}, # 'memdev' property is not set 100 {'device':'pc-dimm', 'expected':True}, # 'memdev' property is not set 105 {'device':'scsi-block', 'expected':True}, # drive property not set 106 {'device':'scsi-generic', 'expected':True}, # drive property not set 107 {'device':'scsi-hd', 'expected':True}, # drive property not set 110 {'device':'spapr-vty', 'expected':True}, # chardev property not set 112 {'device':'unimplemented-device', 'expected':True}, # property 'size' not specified or zero 113 {'device':'usb-braille', 'expected':True}, # Property chardev is required [all …]
|
H A D | compare-machine-types.py | 8 # during the comparison, some machine type doesn't have a property (it is in 11 # property via qmp command (e.g. query-cpu-model-expansion for x86_64-cpu). 95 # each implementation of the abstract driver has to use property getter 97 # 'device' and 'x86_64-cpu', property getter of 'x86_64-cpu' will be 118 return 'Unknown property' 136 return str(self.cached[name].get(prop_name, 'Unknown property')) 154 return 'Unknown property' 189 # only implementations inherit property getter 230 self.compat_props[impl][prop['property']] = prop['value'] 235 self.compat_props[driver][prop['property']] = prop['value'] [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 184 | 89 echo "== property changes in ThrottleGroup ==" 105 "property" : "limits" 111 "property" : "limits", 120 "property" : "limits" 143 "property" : "x-iops-total", 150 "property" : "limits",
|
/qemu/docs/interop/ |
H A D | virtio-balloon-stats.rst | 10 guest-stats-polling-interval property. This value can be: 24 To retrieve those stats, clients have to query the guest-stats property, 74 "property": "guest-stats-polling-interval", "value": 2 } } 82 "property": "guest-stats-polling-interval", "value": 10 } } 90 "property": "guest-stats" } } 109 "property": "stats-polling-interval", "value": 0 } }
|
/qemu/backends/ |
H A D | hostmem-file.c | 56 error_setg(errp, "mem-path property not set"); in file_backend_memory_alloc() 67 error_setg(errp, "property 'rom' = 'on' is not supported with" in file_backend_memory_alloc() 74 error_setg(errp, "property 'rom' = 'off' is incompatible with" in file_backend_memory_alloc() 111 error_setg(errp, "cannot change property 'mem-path' of %s", in set_mem_path() 149 error_setg(errp, "cannot change property '%s' of %s", name, in file_memory_backend_set_align() 179 error_setg(errp, "cannot change property '%s' of %s", name, in file_memory_backend_set_offset() 202 error_setg(errp, "cannot change property 'pmem' of %s.", in file_memory_backend_set_pmem() 225 error_setg(errp, "cannot change property 'readonly' of %s.", in file_memory_backend_set_readonly() 251 error_setg(errp, "cannot change property '%s' of %s.", name, in file_memory_backend_set_rom()
|
/qemu/qom/ |
H A D | qom-hmp-cmds.c | 50 const char *property = qdict_get_str(qdict, "property"); in hmp_qom_set() local 61 object_property_parse(obj, property, value, &err); in hmp_qom_set() 67 qmp_qom_set(path, property, obj, &err); in hmp_qom_set() 77 const char *property = qdict_get_str(qdict, "property"); in hmp_qom_get() local 79 QObject *obj = qmp_qom_get(path, property, &err); in hmp_qom_get()
|
/qemu/include/hw/intc/ |
H A D | arm_gic.h | 23 * + QOM property "num-cpu": number of CPUs to support 24 * + QOM property "num-irq": number of IRQs (including both SPIs and PPIs) 25 * + QOM property "revision": GIC version (1 or 2), or 0 for the 11MPCore GIC 26 * + QOM property "has-security-extensions": set true if the GIC should 28 * + QOM property "has-virtualization-extensions": set true if the GIC should
|
/qemu/trace/ |
H A D | control.h | 105 * If the event has the disabled property, the check will have no performance 118 * If the event has the disabled property, the check will have no performance 122 * does not have the disabled property. 134 * be set to 1 or 0 according to the presence of the disabled property). 143 * If the event has the 'vcpu' property, gets the OR'ed state of all vCPUs. 152 * If the event has the 'vcpu' property, sets the state on all vCPUs.
|
/qemu/docs/system/s390x/ |
H A D | bootdevices.rst | 12 device where you want to boot from with the ``bootindex`` property, for 31 Note that you really have to use the ``bootindex`` property to select the 41 not specify a boot device with the ``bootindex`` property, there is still a 46 ``bootindex`` property instead. 59 Selecting kernels with the ``loadparm`` property 111 for virtio-net-ccw devices. The ``bootindex`` property is especially 113 property here, the network bootloader won't be taken into consideration and
|