[libvirt] [PATCH] qemu_capabilities: Fix the formatting with a space

Shivaprasad G Bhat posted 1 patch 6 years, 9 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20170724055510.43774.10629.stgit@lep8c.aus.stglabs.ibm.com
src/qemu/qemu_capabilities.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[libvirt] [PATCH] qemu_capabilities: Fix the formatting with a space
Posted by Shivaprasad G Bhat 6 years, 9 months ago
It was observed while adding new property that there should be a space
before closing a curly brace in intel-iommu object property definition.
Fixing it as a separate patch.

Signed-off-by: Shivaprasad G Bhat <sbhat@linux.vnet.ibm.com>
---
 src/qemu/qemu_capabilities.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
index 5fb6fd4..3f2c089 100644
--- a/src/qemu/qemu_capabilities.c
+++ b/src/qemu/qemu_capabilities.c
@@ -1908,7 +1908,7 @@ static struct virQEMUCapsObjectTypeProps virQEMUCapsObjectProps[] = {
       -1 },
     { "intel-iommu", virQEMUCapsObjectPropsIntelIOMMU,
       ARRAY_CARDINALITY(virQEMUCapsObjectPropsIntelIOMMU),
-      QEMU_CAPS_DEVICE_INTEL_IOMMU},
+      QEMU_CAPS_DEVICE_INTEL_IOMMU },
     { "spapr-pci-host-bridge", virQEMUCapsObjectPropsSpaprPCIHostBridge,
       ARRAY_CARDINALITY(virQEMUCapsObjectPropsSpaprPCIHostBridge),
       QEMU_CAPS_DEVICE_SPAPR_PCI_HOST_BRIDGE },

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH] qemu_capabilities: Fix the formatting with a space
Posted by Michal Privoznik 6 years, 9 months ago
On 07/24/2017 07:55 AM, Shivaprasad G Bhat wrote:
> It was observed while adding new property that there should be a space
> before closing a curly brace in intel-iommu object property definition.
> Fixing it as a separate patch.
> 
> Signed-off-by: Shivaprasad G Bhat <sbhat@linux.vnet.ibm.com>
> ---
>  src/qemu/qemu_capabilities.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
> index 5fb6fd4..3f2c089 100644
> --- a/src/qemu/qemu_capabilities.c
> +++ b/src/qemu/qemu_capabilities.c
> @@ -1908,7 +1908,7 @@ static struct virQEMUCapsObjectTypeProps virQEMUCapsObjectProps[] = {
>        -1 },
>      { "intel-iommu", virQEMUCapsObjectPropsIntelIOMMU,
>        ARRAY_CARDINALITY(virQEMUCapsObjectPropsIntelIOMMU),
> -      QEMU_CAPS_DEVICE_INTEL_IOMMU},
> +      QEMU_CAPS_DEVICE_INTEL_IOMMU },
>      { "spapr-pci-host-bridge", virQEMUCapsObjectPropsSpaprPCIHostBridge,
>        ARRAY_CARDINALITY(virQEMUCapsObjectPropsSpaprPCIHostBridge),
>        QEMU_CAPS_DEVICE_SPAPR_PCI_HOST_BRIDGE },
> 

ACKed and pushed.

Michal

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list