mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
qemu: fix augeas support for vnc_auto_unix_socket
Fixes test failure that was overlooked after commit 1e1f7a8950. * daemon/Makefile.am (check-local): Let 'make check' fail on error. * daemon/test_libvirtd.aug: Move qemu-specific option... * src/qemu/test_libvirtd_qemu.aug: ...into correct test. * src/qemu/libvirtd_qemu.aug: Parse new option.
This commit is contained in:
parent
30e21374ea
commit
6fc1159d94
@ -301,8 +301,9 @@ libvirtd.init: libvirtd.init.in $(top_builddir)/config.status
|
||||
mv $@-t $@
|
||||
|
||||
check-local:
|
||||
test -x '$(AUGPARSE)' \
|
||||
&& '$(AUGPARSE)' -I $(srcdir) $(srcdir)/test_libvirtd.aug || :
|
||||
$(AM_V_GEN)if test -x '$(AUGPARSE)'; then \
|
||||
'$(AUGPARSE)' -I $(srcdir) $(srcdir)/test_libvirtd.aug; \
|
||||
fi
|
||||
|
||||
else
|
||||
|
||||
|
@ -271,9 +271,6 @@ log_filters=\"a\"
|
||||
|
||||
# Auditing:
|
||||
audit_level = 2
|
||||
|
||||
# VNC socket
|
||||
vnc_auto_unix_socket = 1
|
||||
"
|
||||
|
||||
test Libvirtd.lns get conf =
|
||||
@ -552,6 +549,3 @@ vnc_auto_unix_socket = 1
|
||||
{ "#empty" }
|
||||
{ "#comment" = "Auditing:" }
|
||||
{ "audit_level" = "2" }
|
||||
{ "#empty" }
|
||||
{ "#comment" = "VNC socket:" }
|
||||
{ "vnc_auto_unix_socket" = "1" }
|
||||
|
@ -23,6 +23,7 @@ module Libvirtd_qemu =
|
||||
|
||||
(* Config entry grouped by function - same order as example config *)
|
||||
let vnc_entry = str_entry "vnc_listen"
|
||||
| bool_entry "vnc_auto_unix_socket"
|
||||
| bool_entry "vnc_tls"
|
||||
| str_entry "vnc_tls_x509_cert_dir"
|
||||
| bool_entry "vnc_tls_x509_verify"
|
||||
|
@ -109,6 +109,8 @@ vnc_allow_host_audio = 1
|
||||
clear_emulator_capabilities = 0
|
||||
|
||||
allow_disk_format_probing = 1
|
||||
|
||||
vnc_auto_unix_socket = 1
|
||||
"
|
||||
|
||||
test Libvirtd_qemu.lns get conf =
|
||||
@ -228,3 +230,5 @@ allow_disk_format_probing = 1
|
||||
{ "clear_emulator_capabilities" = "0" }
|
||||
{ "#empty" }
|
||||
{ "allow_disk_format_probing" = "1" }
|
||||
{ "#empty" }
|
||||
{ "vnc_auto_unix_socket" = "1" }
|
||||
|
Loading…
x
Reference in New Issue
Block a user