]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu_capabilities: Honour caps values formatting
authorMichal Privoznik <mprivozn@redhat.com>
Sat, 22 Jul 2017 08:30:19 +0000 (10:30 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Sat, 22 Jul 2017 08:30:19 +0000 (10:30 +0200)
So the way we format this huge virQEMUCaps enum is we group the
values in groups of five. And then at the beginning of each group
we have a small comment that says what's the number of the first
item in the group. Well, the last commit of 11b2ebf3e152 does not
follow this formatting.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h

index c3f49a9754d409d4a41338a264d40b59fdee8d44..5fb6fd4ba7d4dfb66dfed436a1a8f65d3b79c70c 100644 (file)
@@ -431,6 +431,8 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
               "virtio.ats",
               "loadparm",
               "spapr-pci-host-bridge",
+
+              /* 265 */
               "spapr-pci-host-bridge.numa_node",
     );
 
index 19f59a6d41c5f308c4002c4b16527b0f1124dec4..746745e39849b4e5143f17ffe6117498fdc01d26 100644 (file)
@@ -417,6 +417,8 @@ typedef enum {
     QEMU_CAPS_VIRTIO_PCI_ATS, /* virtio-*-pci.ats */
     QEMU_CAPS_LOADPARM, /* -machine loadparm */
     QEMU_CAPS_DEVICE_SPAPR_PCI_HOST_BRIDGE, /* -device spapr-pci-host-bridge */
+
+    /* 265 */
     QEMU_CAPS_SPAPR_PCI_HOST_BRIDGE_NUMA_NODE, /* spapr-pci-host-bridge.numa_node= */
 
     QEMU_CAPS_LAST /* this must always be the last item */