[libvirt PATCH] qemu: conf: fix stray comma

Ján Tomko posted 1 patch 1 week ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/be611aa4de66abaeec4c78e4b8658ba7e2a42a93.1589878816.git.jtomko@redhat.com
src/qemu/qemu.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

[libvirt PATCH] qemu: conf: fix stray comma

Posted by Ján Tomko 1 week ago
The qemu.conf change broke our augeas test:

qemu/test_libvirtd_qemu.aug:96.3-203.1:exception thrown in test
qemu/test_libvirtd_qemu.aug:96.8-.34:exception: Iterated lens matched less than it should
    Lens: ../../src/qemu/libvirtd_qemu.aug:170.13-.43:
      Last match: ../../src/qemu/libvirtd_qemu.aug:18.52-.113:
      Not matching: ../../src/qemu/libvirtd_qemu.aug:12.19-.31:
    Error encountered at 48:27 (1615 characters into string)
    <\n    "/dev/ptmx", "/dev/kvm"|=|,\n]\nsave_image_format = "raw>

Fixes: ab5ba57012e9e6ab4f55afdeecd1813dd3ca916b
Signed-off-by: Ján Tomko <jtomko@redhat.com>
---
Pushed as a trivial build fix

 src/qemu/qemu.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/qemu/qemu.conf b/src/qemu/qemu.conf
index d7a3f40e78..404961c53e 100644
--- a/src/qemu/qemu.conf
+++ b/src/qemu/qemu.conf
@@ -494,7 +494,7 @@
 #cgroup_device_acl = [
 #    "/dev/null", "/dev/full", "/dev/zero",
 #    "/dev/random", "/dev/urandom",
-#    "/dev/ptmx", "/dev/kvm",
+#    "/dev/ptmx", "/dev/kvm"
 #]
 #
 # RDMA migration requires the following extra files to be added to the list:
-- 
2.25.4