Add PCI IPMI interfaces
PATCH 2/7 ipmi: Use proper struct reference for BT vmstate
In reply to [email protected]From: Corey Minyard <[email protected]>
The vmstate for isa_ipmi_bt was referencing into the bt structure, instead create a bt structure separate and use that.
The version 1 of the BT transfer was fairly broken, if a migration occured during an IPMI operation, it is likely the migration would be corrupted because I misunderstood the VMSTATE_VBUFFER_UINT32() handling, I thought it handled transferring the length field, too. So I just remove support for that. I doubt anyone is using it at this point.
This also removes the transfer of use_irq, since that should come from configuration.
--- hw/ipmi/isa_ipmi_bt.c | 43 ++++++++++++++++++++++++++++++------------- 1 file changed, 30 insertions(+), 13 deletions(-)
hw/ipmi/isa_ipmi_bt.c +30 -13
@@ -451,22 +451,39 @@ static void isa_ipmi_bt_realize(DeviceState *dev, Error **errp)isa_register_ioport (isadev, &iib->bt.io, iib->bt.io_base); } -static const VMStateDescription vmstate_ISAIPMIBTDevice = { - .name =TYPE_IPMI_INTERFACE , + +const VMStateDescription vmstate_IPMIBT = { + .name =TYPE_IPMI_INTERFACE_PREFIX "bt" , .version_id =1 , .minimum_version_id =1 , .fields = (VMStateField []) { -VMSTATE_BOOL (bt.obf_irq_set, ISAIPMIBTDevice), -VMSTATE_BOOL (bt.atn_irq_set, ISAIPMIBTDevice), -VMSTATE_BOOL (bt.use_irq, ISAIPMIBTDevice), -VMSTATE_BOOL (bt.irqs_enabled, ISAIPMIBTDevice), -VMSTATE_UINT32 (bt.outpos, ISAIPMIBTDevice), -VMSTATE_VBUFFER_UINT32 (bt.outmsg, ISAIPMIBTDevice,1 ,NULL , bt.outlen), -VMSTATE_VBUFFER_UINT32 (bt.inmsg, ISAIPMIBTDevice,1 ,NULL , bt.inlen), -VMSTATE_UINT8 (bt.control_reg, ISAIPMIBTDevice), -VMSTATE_UINT8 (bt.mask_reg, ISAIPMIBTDevice), -VMSTATE_UINT8 (bt.waiting_rsp, ISAIPMIBTDevice), -VMSTATE_UINT8 (bt.waiting_seq, ISAIPMIBTDevice), +VMSTATE_BOOL (obf_irq_set,IPMIBT ), +VMSTATE_BOOL (atn_irq_set,IPMIBT ), +VMSTATE_BOOL (irqs_enabled,IPMIBT ), +VMSTATE_UINT32 (outpos,IPMIBT ), +VMSTATE_UINT32 (outlen,IPMIBT ), +VMSTATE_UINT8_ARRAY (outmsg,IPMIBT ,MAX_IPMI_MSG_SIZE ), +VMSTATE_UINT32 (inlen,IPMIBT ), +VMSTATE_UINT8_ARRAY (inmsg,IPMIBT ,MAX_IPMI_MSG_SIZE ), +VMSTATE_UINT8 (control_reg,IPMIBT ), +VMSTATE_UINT8 (mask_reg,IPMIBT ), +VMSTATE_UINT8 (waiting_rsp,IPMIBT ), +VMSTATE_UINT8 (waiting_seq,IPMIBT ), +VMSTATE_END_OF_LIST () + } +}; + +static const VMStateDescription vmstate_ISAIPMIBTDevice = { + .name =TYPE_IPMI_INTERFACE_PREFIX "isa-bt" , + .version_id =2 , + .minimum_version_id =2 , +/* +* Version 1 had messed up the array transfer, it's not even usable +* because it used VMSTATE_VBUFFER_UINT32, but it did not transfer +* the buffer length, so random things would happen. +*/ + .fields = (VMStateField []) { +VMSTATE_STRUCT (bt, ISAIPMIBTDevice,1 , vmstate_IPMIBT,IPMIBT ),VMSTATE_END_OF_LIST () } };
Signature · 1 line
2.7.4
cover Add PCI IPMI interfaces
I had to do some testing, so I went ahead and did this. Most of the changes are re-arranging and splitting up code to separate out the KCS/BT code from the ISA-specific code.
There are also some migration fixes here.
This series requires the previous series: Small IPMI (and other) fixes
PATCH 1/7 ipmi: Use proper struct reference for KCS vmstate
From: Corey Minyard <[email protected]>
The vmstate for isa_ipmi_kcs was referencing into the kcs structure, instead create a kcs structure separate and use that.
There was also some issues in the state transfer. The inlen field was not being transferred, so if a transaction was in process during the transfer it would be messed up. And the use_irq field was transferred, but that should come from the configuration. This also fixes those issues and is tested under heavy load.
--- hw/ipmi/isa_ipmi_kcs.c | 75 ++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 60 insertions(+), 15 deletions(-)
hw/ipmi/isa_ipmi_kcs.c +60 -15
@@ -423,24 +423,69 @@ static void ipmi_isa_realize(DeviceState *dev, Error **errp)isa_register_ioport (isadev, &iik->kcs.io, iik->kcs.io_base); } -const VMStateDescription vmstate_ISAIPMIKCSDevice = { - .name =TYPE_IPMI_INTERFACE , +static const VMStateDescription vmstate_IPMIKCS = { + .name =TYPE_IPMI_INTERFACE_PREFIX "kcs" , .version_id =1 , .minimum_version_id =1 , .fields = (VMStateField []) { -VMSTATE_BOOL (kcs.obf_irq_set, ISAIPMIKCSDevice), -VMSTATE_BOOL (kcs.atn_irq_set, ISAIPMIKCSDevice), -VMSTATE_BOOL (kcs.use_irq, ISAIPMIKCSDevice), -VMSTATE_BOOL (kcs.irqs_enabled, ISAIPMIKCSDevice), -VMSTATE_UINT32 (kcs.outpos, ISAIPMIKCSDevice), -VMSTATE_UINT8_ARRAY (kcs.outmsg, ISAIPMIKCSDevice,MAX_IPMI_MSG_SIZE ), -VMSTATE_UINT8_ARRAY (kcs.inmsg, ISAIPMIKCSDevice,MAX_IPMI_MSG_SIZE ), -VMSTATE_BOOL (kcs.write_end, ISAIPMIKCSDevice), -VMSTATE_UINT8 (kcs.status_reg, ISAIPMIKCSDevice), -VMSTATE_UINT8 (kcs.data_out_reg, ISAIPMIKCSDevice), -VMSTATE_INT16 (kcs.data_in_reg, ISAIPMIKCSDevice), -VMSTATE_INT16 (kcs.cmd_reg, ISAIPMIKCSDevice), -VMSTATE_UINT8 (kcs.waiting_rsp, ISAIPMIKCSDevice), +VMSTATE_BOOL (obf_irq_set,IPMIKCS ), +VMSTATE_BOOL (atn_irq_set,IPMIKCS ), +VMSTATE_BOOL (use_irq,IPMIKCS ), +VMSTATE_BOOL (irqs_enabled,IPMIKCS ), +VMSTATE_UINT32 (outpos,IPMIKCS ), +VMSTATE_UINT8_ARRAY (outmsg,IPMIKCS ,MAX_IPMI_MSG_SIZE ), +VMSTATE_UINT32 (inlen,IPMIKCS ), +VMSTATE_UINT8_ARRAY (inmsg,IPMIKCS ,MAX_IPMI_MSG_SIZE ), +VMSTATE_BOOL (write_end,IPMIKCS ), +VMSTATE_UINT8 (status_reg,IPMIKCS ), +VMSTATE_UINT8 (data_out_reg,IPMIKCS ), +VMSTATE_INT16 (data_in_reg,IPMIKCS ), +VMSTATE_INT16 (cmd_reg,IPMIKCS ), +VMSTATE_UINT8 (waiting_rsp,IPMIKCS ), +VMSTATE_END_OF_LIST () + } +}; + +static int isa_ipmi_kcs_load_old (QEMUFile *f,void *opaque,int version_id) +{ +ISAIPMIKCSDevice *iik = opaque; +IPMIKCS *k = &iik->kcs; +unsigned int i; + +if (version_id !=1 ) { +return -EINVAL ; + } + + k->obf_irq_set =qemu_get_byte (f); + k->atn_irq_set =qemu_get_byte (f); +qemu_get_byte (f);/* Used to be use_irq, but that's not a good idea. */ + k->irqs_enabled =qemu_get_byte (f); + k->outpos =qemu_get_be32 (f); +for (i =0 ; i <MAX_IPMI_MSG_SIZE ; i++) { + k->outmsg[i] =qemu_get_byte (f); + } + k->inlen =0 ;/* This was forgotten on version 1, just reset it. */ +for (i =0 ; i <MAX_IPMI_MSG_SIZE ; i++) { + k->inmsg[i] =qemu_get_byte (f); + } + k->write_end =qemu_get_byte (f); + k->status_reg =qemu_get_byte (f); + k->data_out_reg =qemu_get_byte (f); + k->data_in_reg =qemu_get_be16 (f); + k->cmd_reg =qemu_get_be16 (f); + k->waiting_rsp =qemu_get_byte (f); + +return 0 ; +} + +static const VMStateDescription vmstate_ISAIPMIKCSDevice = { + .name =TYPE_IPMI_INTERFACE_PREFIX "isa-kcs" , + .version_id =2 , + .minimum_version_id =2 , + .minimum_version_id_old =1 , + .load_state_old = isa_ipmi_kcs_load_old, + .fields = (VMStateField []) { +VMSTATE_STRUCT (kcs, ISAIPMIKCSDevice,1 , vmstate_IPMIKCS,IPMIKCS ),VMSTATE_END_OF_LIST () } };
Signature · 1 line
2.7.4
PATCH 5/7 ipmi: Allow a size value to be passed for I/O space
In reply to [email protected]From: Corey Minyard <[email protected]>
PCI device I/O must be >= 8 bytes in length or they don't work. Allow the size to be passed in, the default size of 2 or 3 won't work.
--- hw/ipmi/ipmi_bt.c | 19 +++++++++++++++---- hw/ipmi/ipmi_kcs.c | 23 +++++++++++++++++++---- hw/ipmi/isa_ipmi_bt.c | 2 +- hw/ipmi/isa_ipmi_kcs.c | 2 +- include/hw/ipmi/ipmi.h | 7 ++++++- include/hw/ipmi/ipmi_bt.h | 1 + include/hw/ipmi/ipmi_kcs.h | 1 + 7 files changed, 44 insertions(+), 11 deletions(-)
hw/ipmi/ipmi_bt.c +15 -4
@@ -187,7 +187,7 @@ static uint64_t ipmi_bt_ioport_read(void *opaque, hwaddr addr, unsigned size)IPMIBT *ib = iic->get_backend_data (ii);uint32_t ret =0xff ; -switch (addr &3 ) { +switch (addr & ib->size_mask) {case 0 : ret = ib->control_reg;break ;
@@ -206,6 +206,9 @@ static uint64_t ipmi_bt_ioport_read(void *opaque, hwaddr addr, unsigned size)case 2 : ret = ib->mask_reg;break ; +default : + ret =0xff ; +break ; }return ret; }
@@ -228,7 +231,7 @@ static void ipmi_bt_ioport_write(void *opaque, hwaddr addr, uint64_t val,IPMIInterfaceClass *iic =IPMI_INTERFACE_GET_CLASS (ii);IPMIBT *ib = iic->get_backend_data (ii); -switch (addr &3 ) { +switch (addr & ib->size_mask) {case 0 :if (IPMI_BT_GET_CLR_WR (val)) { ib->inlen =0 ;
@@ -283,6 +286,9 @@ static void ipmi_bt_ioport_write(void *opaque, hwaddr addr, uint64_t val,ipmi_bt_lower_irq (ib); }break ; +default : +/* Ignore. */ +break ; } }
@@ -344,14 +350,19 @@ static void ipmi_bt_set_irq_enable(IPMIInterface *ii, int val) ib->irqs_enabled = val; } -static void ipmi_bt_init (IPMIInterface *ii,Error **errp) +static void ipmi_bt_init (IPMIInterface *ii,unsigned int min_size,Error **errp) {IPMIInterfaceClass *iic =IPMI_INTERFACE_GET_CLASS (ii);IPMIBT *ib = iic->get_backend_data (ii); +if (min_size ==0 ) { + min_size =4 ; + } + ib->size_mask = min_size -1 ; ib->io_length =3 ; -memory_region_init_io (&ib->io,NULL , &ipmi_bt_io_ops, ii,"ipmi-bt" ,3 ); +memory_region_init_io (&ib->io,NULL , &ipmi_bt_io_ops, ii,"ipmi-bt" , + min_size); }const VMStateDescription vmstate_IPMIBT = {
hw/ipmi/ipmi_kcs.c +19 -4
@@ -230,7 +230,7 @@ static uint64_t ipmi_kcs_ioport_read(void *opaque, hwaddr addr, unsigned size)IPMIKCS *ik = iic->get_backend_data (ii);uint32_t ret; -switch (addr &1 ) { +switch (addr & ik->size_mask) {case 0 : ret = ik->data_out_reg;IPMI_KCS_SET_OBF (ik->status_reg,0 );
@@ -241,6 +241,7 @@ static uint64_t ipmi_kcs_ioport_read(void *opaque, hwaddr addr, unsigned size) } }break ; +case 1 : ret = ik->status_reg;if (ik->atn_irq_set) {
@@ -250,6 +251,9 @@ static uint64_t ipmi_kcs_ioport_read(void *opaque, hwaddr addr, unsigned size) } }break ; + +default : + ret =0xff ; }return ret; }
@@ -265,7 +269,7 @@ static void ipmi_kcs_ioport_write(void *opaque, hwaddr addr, uint64_t val,return ; } -switch (addr &1 ) { +switch (addr & ik->size_mask) {case 0 : ik->data_in_reg = val;break ;
@@ -273,6 +277,10 @@ static void ipmi_kcs_ioport_write(void *opaque, hwaddr addr, uint64_t val,case 1 : ik->cmd_reg = val;break ; + +default : +/* Ignore. */ +break ; }IPMI_KCS_SET_IBF (ik->status_reg,1 );ipmi_kcs_signal (ik, ii);
@@ -319,13 +327,20 @@ static void ipmi_kcs_set_irq_enable(IPMIInterface *ii, int val) ik->irqs_enabled = val; } -static void ipmi_kcs_init (IPMIInterface *ii,Error **errp) +/* min_size must be a power of 2. */ +static void ipmi_kcs_init (IPMIInterface *ii,unsigned int min_size, +Error **errp) {IPMIInterfaceClass *iic =IPMI_INTERFACE_GET_CLASS (ii);IPMIKCS *ik = iic->get_backend_data (ii); +if (min_size ==0 ) { + min_size =2 ; + } + ik->size_mask = min_size -1 ; ik->io_length =2 ; -memory_region_init_io (&ik->io,NULL , &ipmi_kcs_io_ops, ii,"ipmi-kcs" ,2 ); +memory_region_init_io (&ik->io,NULL , &ipmi_kcs_io_ops, ii,"ipmi-kcs" , + min_size); }const VMStateDescription vmstate_IPMIKCS = {
hw/ipmi/isa_ipmi_bt.c +1 -1
@@ -80,7 +80,7 @@ static void isa_ipmi_bt_realize(DeviceState *dev, Error **errp) iib->bt.bmc->intf = ii; iib->bt.opaque = iib; - iic->init (ii, errp); + iic->init (ii,0 , errp);if (*errp)return ;
hw/ipmi/isa_ipmi_kcs.c +1 -1
@@ -79,7 +79,7 @@ static void ipmi_isa_realize(DeviceState *dev, Error **errp) iik->kcs.bmc->intf = ii; iik->kcs.opaque = iik; - iic->init (ii, errp); + iic->init (ii,0 , errp);if (*errp)return ;
include/hw/ipmi/ipmi.h +6 -1
@@ -121,7 +121,12 @@ typedef struct IPMIInterface { typedef struct IPMIInterfaceClass { InterfaceClass parent; - void (*init)(struct IPMIInterface *s, Error **errp); + /* + * min_size is the requested I/O size and must be a power of 2. + * This is so PCI (or other busses) can request a bigger range. + * Use 0 for the default. + */ + void (*init)(struct IPMIInterface *s, unsigned int min_size, Error **errp); /* * Perform various operations on the hardware. If checkonly is
include/hw/ipmi/ipmi_bt.h +1 -0
@@ -57,6 +57,7 @@ typedef struct IPMIBT {uint32_t io_base;unsigned long io_length;MemoryRegion io; +unsigned long size_mask;void (*raise_irq)(struct IPMIBT *ib);void (*lower_irq)(struct IPMIBT *ib);
include/hw/ipmi/ipmi_kcs.h +1 -0
@@ -60,6 +60,7 @@ typedef struct IPMIKCS {uint32_t io_base;unsigned long io_length;MemoryRegion io; +unsigned long size_mask;void (*raise_irq)(struct IPMIKCS *ik);void (*lower_irq)(struct IPMIKCS *ik);
Signature · 1 line
2.7.4
PATCH 6/7 smbios:ipmi: Ignore IPMI devices with no fwinfo function
In reply to [email protected]From: Corey Minyard <[email protected]>
Not all devices have fwinfo (like the coming PCI one), so ignore them if the their fwinfo function is NULL.
--- hw/smbios/smbios_type_38.c | 3 +++ 1 file changed, 3 insertions(+)
hw/smbios/smbios_type_38.c +3 -0
@@ -95,6 +95,9 @@ static void smbios_add_ipmi_devices(BusState *bus) ii =IPMI_INTERFACE (obj); iic =IPMI_INTERFACE_GET_CLASS (obj);memset (&info,0 ,sizeof (info)); +if (!iic->get_fwinfo) { +continue ; + } iic->get_fwinfo (ii, &info);smbios_build_one_type_38 (&info);continue ;
Signature · 1 line
2.7.4
PATCH 7/7 ipmi: Add PCI IPMI interfaces
In reply to [email protected]From: Corey Minyard <[email protected]>
--- default-configs/i386-softmmu.mak | 2 + default-configs/x86_64-softmmu.mak | 2 + hw/ipmi/Makefile.objs | 2 + hw/ipmi/pci_ipmi_bt.c | 145 +++++++++++++++++++++++++++++++++++++ hw/ipmi/pci_ipmi_kcs.c | 145 +++++++++++++++++++++++++++++++++++++ include/hw/pci/pci.h | 1 + 6 files changed, 297 insertions(+) create mode 100644 hw/ipmi/pci_ipmi_bt.c create mode 100644 hw/ipmi/pci_ipmi_kcs.c
default-configs/i386-softmmu.mak +2 -0
@@ -14,7 +14,9 @@ CONFIG_IPMI=y CONFIG_IPMI_LOCAL=y CONFIG_IPMI_EXTERN=y CONFIG_ISA_IPMI_KCS=y +CONFIG_PCI_IPMI_KCS=y CONFIG_ISA_IPMI_BT=y +CONFIG_PCI_IPMI_BT=y CONFIG_SERIAL=y CONFIG_SERIAL_ISA=y CONFIG_PARALLEL=y
default-configs/x86_64-softmmu.mak +2 -0
@@ -14,7 +14,9 @@ CONFIG_IPMI=y CONFIG_IPMI_LOCAL=y CONFIG_IPMI_EXTERN=y CONFIG_ISA_IPMI_KCS=y +CONFIG_PCI_IPMI_KCS=y CONFIG_ISA_IPMI_BT=y +CONFIG_PCI_IPMI_BT=y CONFIG_SERIAL=y CONFIG_SERIAL_ISA=y CONFIG_PARALLEL=y
hw/ipmi/Makefile.objs +2 -0
@@ -2,4 +2,6 @@ common-obj-$(CONFIG_IPMI) += ipmi.o ipmi_kcs.o ipmi_bt.o common-obj-$(CONFIG_IPMI_LOCAL) += ipmi_bmc_sim.o common-obj-$(CONFIG_IPMI_EXTERN) += ipmi_bmc_extern.o common-obj-$(CONFIG_ISA_IPMI_KCS) += isa_ipmi_kcs.o +common-obj-$(CONFIG_PCI_IPMI_KCS) += pci_ipmi_kcs.o common-obj-$(CONFIG_ISA_IPMI_BT) += isa_ipmi_bt.o +common-obj-$(CONFIG_PCI_IPMI_BT) += pci_ipmi_bt.o
hw/ipmi/pci_ipmi_bt.c new file +145 -0
145 lines not on this page · raw message
hw/ipmi/pci_ipmi_kcs.c new file +145 -0
145 lines not on this page · raw message
include/hw/pci/pci.h +1 -0
@@ -56,6 +56,7 @@ extern bool pci_available;/* QEMU/Bochs VGA (0x1234) */ #define PCI_VENDOR_ID_QEMU 0x1234#define PCI_DEVICE_ID_QEMU_VGA 0x1111 +#define PCI_DEVICE_ID_QEMU_IPMI 0x1112/* VMWare (0x15ad) */ #define PCI_VENDOR_ID_VMWARE 0x15ad
Signature · 1 line
2.7.4
PATCH 3/7 ipmi: Split out KCS-specific code from ISA KCS code
In reply to [email protected]From: Corey Minyard <[email protected]>
Get ready for PCI and other KCS interfaces.
--- hw/ipmi/Makefile.objs | 2 +- hw/ipmi/ipmi_kcs.c | 375 ++++++++++++++++++++++++++++++++++++++++++ hw/ipmi/isa_ipmi_kcs.c | 394 +++------------------------------------------ include/hw/ipmi/ipmi_kcs.h | 75 +++++++++ 4 files changed, 473 insertions(+), 373 deletions(-) create mode 100644 hw/ipmi/ipmi_kcs.c create mode 100644 include/hw/ipmi/ipmi_kcs.h
hw/ipmi/Makefile.objs +1 -1
@@ -1,4 +1,4 @@ -common-obj-$(CONFIG_IPMI) += ipmi.o +common-obj-$(CONFIG_IPMI) += ipmi.o ipmi_kcs.o common-obj-$(CONFIG_IPMI_LOCAL) += ipmi_bmc_sim.o common-obj-$(CONFIG_IPMI_EXTERN) += ipmi_bmc_extern.o common-obj-$(CONFIG_ISA_IPMI_KCS) += isa_ipmi_kcs.o
hw/ipmi/ipmi_kcs.c new file +375 -0
375 lines not on this page · raw message
hw/ipmi/isa_ipmi_kcs.c +22 -372
453 lines not on this page · raw message
include/hw/ipmi/ipmi_kcs.h new file +75 -0
75 lines not on this page · raw message
Signature · 1 line
2.7.4
PATCH 4/7 ipmi: Split out BT-specific code from ISA BT code
In reply to [email protected]From: Corey Minyard <[email protected]>
Get ready for PCI and other BT interfaces.
--- hw/ipmi/Makefile.objs | 2 +- hw/ipmi/ipmi_bt.c | 399 +++++++++++++++++++++++++++++++++++++++++++ hw/ipmi/isa_ipmi_bt.c | 418 +++------------------------------------------- include/hw/ipmi/ipmi_bt.h | 72 ++++++++ 4 files changed, 493 insertions(+), 398 deletions(-) create mode 100644 hw/ipmi/ipmi_bt.c create mode 100644 include/hw/ipmi/ipmi_bt.h
hw/ipmi/Makefile.objs +1 -1
@@ -1,4 +1,4 @@ -common-obj-$(CONFIG_IPMI) += ipmi.o ipmi_kcs.o +common-obj-$(CONFIG_IPMI) += ipmi.o ipmi_kcs.o ipmi_bt.o common-obj-$(CONFIG_IPMI_LOCAL) += ipmi_bmc_sim.o common-obj-$(CONFIG_IPMI_EXTERN) += ipmi_bmc_extern.o common-obj-$(CONFIG_ISA_IPMI_KCS) += isa_ipmi_kcs.o
hw/ipmi/ipmi_bt.c new file +399 -0
399 lines not on this page · raw message
hw/ipmi/isa_ipmi_bt.c +21 -397
471 lines not on this page · raw message
include/hw/ipmi/ipmi_bt.h new file +72 -0
72 lines not on this page · raw message
Signature · 1 line
2.7.4
Quoted 8 lines · On 12/07/2017 03:34 PM, [email protected] wrote:
I had to do some testing, so I went ahead and did this. Most of the changes are re-arranging and splitting up code to separate out the KCS/BT code from the ISA-specific code.
There are also some migration fixes here.
This series requires the previous series: Small IPMI (and other) fixes
Let patchew know about the dependency:
Based-on: <[email protected]>
Signature · 3 lines
Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org