[libvirt] [PATCH 2/4] Fix mistakes in augeas lens

Daniel P. Berrange berrange at redhat.com
Fri May 25 12:36:39 UTC 2012


From: "Daniel P. Berrange" <berrange at redhat.com>

Add nmissing 'host_uuid' entry to libvirtd.conf lens and
rename spice_passwd to spice_password in qemu.conf lens

Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
---
 daemon/libvirtd.aug        |    4 ++++
 src/qemu/libvirtd_qemu.aug |    2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/daemon/libvirtd.aug b/daemon/libvirtd.aug
index 9d78bd7..f32b3a1 100644
--- a/daemon/libvirtd.aug
+++ b/daemon/libvirtd.aug
@@ -62,6 +62,7 @@ module Libvirtd =
    let logging_entry = int_entry "log_level"
                      | str_entry "log_filters"
                      | str_entry "log_outputs"
+                     | int_entry "log_buffer_size"
 
    let auditing_entry = int_entry "audit_level"
                       | bool_entry "audit_logging"
@@ -70,6 +71,8 @@ module Libvirtd =
                        | int_entry "keepalive_count"
                        | bool_entry "keepalive_required"
 
+   let misc_entry = str_entry "host_uuid"
+
    (* Each enty in the config is one of the following three ... *)
    let entry = network_entry
              | sock_acl_entry
@@ -80,6 +83,7 @@ module Libvirtd =
              | logging_entry
              | auditing_entry
              | keepalive_entry
+             | misc_entry
    let comment = [ label "#comment" . del /#[ \t]*/ "# " .  store /([^ \t\n][^\n]*)?/ . del /\n/ "\n" ]
    let empty = [ label "#empty" . eol ]
 
diff --git a/src/qemu/libvirtd_qemu.aug b/src/qemu/libvirtd_qemu.aug
index 9120d4e..359f8f1 100644
--- a/src/qemu/libvirtd_qemu.aug
+++ b/src/qemu/libvirtd_qemu.aug
@@ -35,7 +35,7 @@ module Libvirtd_qemu =
                  | str_entry "spice_listen"
                  | bool_entry "spice_tls"
                  | str_entry  "spice_tls_x509_cert_dir"
-                 | str_entry "spice_passwd"
+                 | str_entry "spice_password"
                  | str_entry "security_driver"
                  | bool_entry "security_default_confined"
                  | bool_entry "security_require_confined"
-- 
1.7.10.1




More information about the libvir-list mailing list