[PATCH 3/6] gendispatch: Add proper XML header to ACL permissions XML file

Peter Krempa pkrempa at redhat.com
Mon Feb 20 10:47:06 UTC 2023


Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 src/rpc/gendispatch.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/rpc/gendispatch.pl b/src/rpc/gendispatch.pl
index c5f5c85811..4a50ac27e0 100755
--- a/src/rpc/gendispatch.pl
+++ b/src/rpc/gendispatch.pl
@@ -454,6 +454,7 @@ if ($mode eq "aclsym") {
 __EOF__
 } elsif ($mode eq "aclapi") {
     print <<__EOF__;
+<?xml version="1.0" encoding="UTF-8"?>
 <!--
   -  Automatically generated from $protocol by gendispatch.pl.
   -  Do not edit this file.  Any changes you make will be lost.
-- 
2.39.2



More information about the libvir-list mailing list