@@ -31,7 +31,7 @@
static Property hda_props[] = {
DEFINE_PROP_UINT32("cad", HDACodecDevice, cad, -1),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
static const TypeInfo hda_codec_bus_info = {
@@ -776,7 +776,7 @@ static void virtser_bus_dev_print(Monitor *mon, DeviceState *qdev, int indent);
static Property virtser_props[] = {
DEFINE_PROP_UINT32("nr", VirtIOSerialPort, id, VIRTIO_CONSOLE_BAD_ID),
DEFINE_PROP_STRING("name", VirtIOSerialPort, name),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
#define TYPE_VIRTIO_SERIAL_BUS "virtio-serial-bus"
@@ -227,7 +227,7 @@ static void platform_bus_realize(DeviceState *dev, Error **errp)
static Property platform_bus_properties[] = {
DEFINE_PROP_UINT32("num_irqs", PlatformBusDevice, num_irqs, 0),
DEFINE_PROP_UINT32("mmio_size", PlatformBusDevice, mmio_size, 0),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
static void platform_bus_class_init(ObjectClass *klass, void *data)
@@ -151,7 +151,7 @@ static void i82374_isa_realize(DeviceState *dev, Error **errp)
static Property i82374_properties[] = {
DEFINE_PROP_UINT32("iobase", ISAi82374State, iobase, 0x400),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
static void i82374_class_init(ObjectClass *klass, void *data)
@@ -138,7 +138,7 @@ static void kvm_ioapic_realize(DeviceState *dev, Error **errp)
static Property kvm_ioapic_properties[] = {
DEFINE_PROP_UINT32("gsi_base", KVMIOAPICState, kvm_gsi_base, 0),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
static void kvm_ioapic_class_init(ObjectClass *klass, void *data)
@@ -106,7 +106,7 @@ static Property xen_pv_props[] = {
DEFINE_PROP_UINT16("device-id", XenPVDevice, device_id, 0xffff),
DEFINE_PROP_UINT8("revision", XenPVDevice, revision, 0x01),
DEFINE_PROP_UINT32("size", XenPVDevice, size, 0x400000),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
static void xen_pv_class_init(ObjectClass *klass, void *data)
@@ -142,7 +142,7 @@ static void mmio_ide_initfn(Object *obj)
static Property mmio_ide_properties[] = {
DEFINE_PROP_UINT32("shift", MMIOState, shift, 0),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
static void mmio_ide_class_init(ObjectClass *oc, void *data)
@@ -71,7 +71,7 @@ static void ipack_device_unrealize(DeviceState *dev, Error **errp)
static Property ipack_device_props[] = {
DEFINE_PROP_INT32("slot", IPackDevice, slot, -1),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
static void ipack_device_class_init(ObjectClass *klass, void *data)
@@ -373,7 +373,7 @@ static const VMStateDescription vmstate_pc87312 = {
static Property pc87312_properties[] = {
DEFINE_PROP_UINT32("iobase", PC87312State, iobase, 0x398),
DEFINE_PROP_UINT8("config", PC87312State, config, 1),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
static void pc87312_class_init(ObjectClass *klass, void *data)
@@ -73,7 +73,7 @@ static void arm11_scu_init(Object *obj)
static Property arm11_scu_properties[] = {
DEFINE_PROP_UINT32("num-cpu", ARM11SCUState, num_cpu, 1),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
static void arm11_scu_class_init(ObjectClass *oc, void *data)
@@ -727,7 +727,7 @@ static void cuda_initfn(Object *obj)
static Property cuda_properties[] = {
DEFINE_PROP_UINT64("frequency", CUDAState, frequency, 0),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
static void cuda_class_init(ObjectClass *oc, void *data)
@@ -379,7 +379,7 @@ static void macio_newworld_class_init(ObjectClass *oc, void *data)
static Property macio_properties[] = {
DEFINE_PROP_UINT64("frequency", MacIOState, frequency, 0),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
static void macio_class_init(ObjectClass *klass, void *data)
@@ -111,7 +111,7 @@ static void macio_nvram_unrealizefn(DeviceState *dev, Error **errp)
static Property macio_nvram_properties[] = {
DEFINE_PROP_UINT32("size", MacIONVRAMState, size, 0),
DEFINE_PROP_UINT32("it_shift", MacIONVRAMState, it_shift, 0),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
static void macio_nvram_class_init(ObjectClass *oc, void *data)
@@ -162,7 +162,7 @@ static void ioh3420_exitfn(PCIDevice *d)
static Property ioh3420_props[] = {
DEFINE_PROP_BIT(COMPAT_PROP_PCP, PCIDevice, cap_present,
QEMU_PCIE_SLTCAP_PCP_BITNR, true),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
static const VMStateDescription vmstate_ioh3420 = {
@@ -150,7 +150,7 @@ PCIESlot *xio3130_downstream_init(PCIBus *bus, int devfn, bool multifunction,
static Property xio3130_downstream_props[] = {
DEFINE_PROP_BIT(COMPAT_PROP_PCP, PCIDevice, cap_present,
QEMU_PCIE_SLTCAP_PCP_BITNR, true),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
static const VMStateDescription vmstate_xio3130_downstream = {
@@ -374,7 +374,7 @@ static Property raven_pcihost_properties[] = {
DEFINE_PROP_UINT32("elf-machine", PREPPCIState, pci_dev.elf_machine,
EM_NONE),
DEFINE_PROP_STRING("bios-name", PREPPCIState, pci_dev.bios_name),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
static void raven_pcihost_class_init(ObjectClass *klass, void *data)
@@ -489,7 +489,7 @@ static const TypeInfo versatile_pci_host_info = {
static Property pci_vpb_properties[] = {
DEFINE_PROP_UINT8("broken-irq-mapping", PCIVPBState, irq_mapping_prop,
PCI_VPB_IRQMAP_ASSUME_OK),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
static void pci_vpb_class_init(ObjectClass *klass, void *data)
@@ -58,7 +58,7 @@ static Property pci_props[] = {
QEMU_PCI_CAP_MULTIFUNCTION_BITNR, false),
DEFINE_PROP_BIT("command_serr_enable", PCIDevice, cap_present,
QEMU_PCI_CAP_SERR_BITNR, true),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
static const VMStateDescription vmstate_pcibus = {
@@ -123,7 +123,7 @@ static Property pcie_port_props[] = {
DEFINE_PROP_UINT16("aer_log_max", PCIEPort,
parent_obj.parent_obj.exp.aer_log.log_max,
PCIE_AER_LOG_MAX_DEFAULT),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
static void pcie_port_class_init(ObjectClass *oc, void *data)
@@ -144,7 +144,7 @@ static const TypeInfo pcie_port_type_info = {
static Property pcie_slot_props[] = {
DEFINE_PROP_UINT8("chassis", PCIESlot, chassis, 0),
DEFINE_PROP_UINT16("slot", PCIESlot, slot, 0),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
static void pcie_slot_class_init(ObjectClass *oc, void *data)
@@ -341,7 +341,7 @@ static const VMStateDescription vmstate_a9_gtimer = {
static Property a9_gtimer_properties[] = {
DEFINE_PROP_UINT32("num-cpu", A9GTimerState, num_cpu, 0),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
static void a9_gtimer_class_init(ObjectClass *klass, void *data)
@@ -264,7 +264,7 @@ static const VMStateDescription vmstate_arm_mptimer = {
static Property arm_mptimer_properties[] = {
DEFINE_PROP_UINT32("num-cpu", ARMMPTimerState, num_cpu, 0),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
static void arm_mptimer_class_init(ObjectClass *klass, void *data)
@@ -18,7 +18,7 @@ static Property usb_props[] = {
USB_DEV_FLAG_FULL_PATH, true),
DEFINE_PROP_BIT("msos-desc", USBDevice, flags,
USB_DEV_FLAG_MSOS_DESC_ENABLE, true),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
static void usb_bus_class_init(ObjectClass *klass, void *data)
@@ -1194,7 +1194,7 @@ static Property arm_cpu_properties[] = {
DEFINE_PROP_BOOL("start-powered-off", ARMCPU, start_powered_off, false),
DEFINE_PROP_UINT32("psci-conduit", ARMCPU, psci_conduit, 0),
DEFINE_PROP_UINT32("midr", ARMCPU, midr, 0),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
static void arm_cpu_class_init(ObjectClass *oc, void *data)
@@ -1410,7 +1410,7 @@ static X86CPUDefinition host_cpudef;
static Property host_x86_cpu_properties[] = {
DEFINE_PROP_BOOL("migratable", X86CPU, migratable, true),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
/* class_init for the "host" CPU model
@@ -2956,7 +2956,7 @@ static Property x86_cpu_properties[] = {
DEFINE_PROP_UINT32("level", X86CPU, env.cpuid_level, 0),
DEFINE_PROP_UINT32("xlevel", X86CPU, env.cpuid_xlevel, 0),
DEFINE_PROP_UINT32("xlevel2", X86CPU, env.cpuid_xlevel2, 0),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
static void x86_cpu_common_class_init(ObjectClass *oc, void *data)
@@ -46,7 +46,7 @@ typedef struct MyType {
static Property static_props[] = {
DEFINE_PROP_UINT32("prop1", MyType, prop1, PROP_DEFAULT),
DEFINE_PROP_UINT32("prop2", MyType, prop2, PROP_DEFAULT),
- DEFINE_PROP_END_OF_LIST()
+ DEFINE_PROP_END_OF_LIST(),
};
static void static_prop_class_init(ObjectClass *oc, void *data)