Autogenerate augeas test case from default config files
When adding new config file parameters, the corresponding
additions to the augeas lens' are constantly forgotten.
Also there are augeas test cases, these don't catch the
error, since they too are never updated.
To address this, the augeas test cases need to be auto-generated
from the example config files.
* build-aux/augeas-gentest.pl: Helper to generate an
augeas test file, substituting in elements from the
example config files
* src/Makefile.am, daemon/Makefile.am: Switch to
auto-generated augeas test cases
* daemon/test_libvirtd.aug, daemon/test_libvirtd.aug.in,
src/locking/test_libvirt_sanlock.aug,
src/locking/test_libvirt_sanlock.aug.in,
src/lxc/test_libvirtd_lxc.aug,
src/lxc/test_libvirtd_lxc.aug.in,
src/qemu/test_libvirtd_qemu.aug,
src/qemu/test_libvirtd_qemu.aug.in: Remove example
config file data, replacing with a ::CONFIG:: placeholder
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2012-05-25 10:14:15 +00:00
|
|
|
module Test_libvirtd_qemu =
|
|
|
|
::CONFIG::
|
|
|
|
|
|
|
|
test Libvirtd_qemu.lns get conf =
|
2016-06-14 18:14:31 +00:00
|
|
|
{ "default_tls_x509_cert_dir" = "/etc/pki/qemu" }
|
|
|
|
{ "default_tls_x509_verify" = "1" }
|
2016-09-08 14:04:59 +00:00
|
|
|
{ "default_tls_x509_secret_uuid" = "00000000-0000-0000-0000-000000000000" }
|
Autogenerate augeas test case from default config files
When adding new config file parameters, the corresponding
additions to the augeas lens' are constantly forgotten.
Also there are augeas test cases, these don't catch the
error, since they too are never updated.
To address this, the augeas test cases need to be auto-generated
from the example config files.
* build-aux/augeas-gentest.pl: Helper to generate an
augeas test file, substituting in elements from the
example config files
* src/Makefile.am, daemon/Makefile.am: Switch to
auto-generated augeas test cases
* daemon/test_libvirtd.aug, daemon/test_libvirtd.aug.in,
src/locking/test_libvirt_sanlock.aug,
src/locking/test_libvirt_sanlock.aug.in,
src/lxc/test_libvirtd_lxc.aug,
src/lxc/test_libvirtd_lxc.aug.in,
src/qemu/test_libvirtd_qemu.aug,
src/qemu/test_libvirtd_qemu.aug.in: Remove example
config file data, replacing with a ::CONFIG:: placeholder
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2012-05-25 10:14:15 +00:00
|
|
|
{ "vnc_listen" = "0.0.0.0" }
|
|
|
|
{ "vnc_auto_unix_socket" = "1" }
|
|
|
|
{ "vnc_tls" = "1" }
|
|
|
|
{ "vnc_tls_x509_cert_dir" = "/etc/pki/libvirt-vnc" }
|
2019-01-14 23:09:23 +00:00
|
|
|
{ "vnc_tls_x509_secret_uuid" = "00000000-0000-0000-0000-000000000000" }
|
Autogenerate augeas test case from default config files
When adding new config file parameters, the corresponding
additions to the augeas lens' are constantly forgotten.
Also there are augeas test cases, these don't catch the
error, since they too are never updated.
To address this, the augeas test cases need to be auto-generated
from the example config files.
* build-aux/augeas-gentest.pl: Helper to generate an
augeas test file, substituting in elements from the
example config files
* src/Makefile.am, daemon/Makefile.am: Switch to
auto-generated augeas test cases
* daemon/test_libvirtd.aug, daemon/test_libvirtd.aug.in,
src/locking/test_libvirt_sanlock.aug,
src/locking/test_libvirt_sanlock.aug.in,
src/lxc/test_libvirtd_lxc.aug,
src/lxc/test_libvirtd_lxc.aug.in,
src/qemu/test_libvirtd_qemu.aug,
src/qemu/test_libvirtd_qemu.aug.in: Remove example
config file data, replacing with a ::CONFIG:: placeholder
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2012-05-25 10:14:15 +00:00
|
|
|
{ "vnc_tls_x509_verify" = "1" }
|
|
|
|
{ "vnc_password" = "XYZ12345" }
|
|
|
|
{ "vnc_sasl" = "1" }
|
|
|
|
{ "vnc_sasl_dir" = "/some/directory/sasl2" }
|
|
|
|
{ "vnc_allow_host_audio" = "0" }
|
|
|
|
{ "spice_listen" = "0.0.0.0" }
|
|
|
|
{ "spice_tls" = "1" }
|
|
|
|
{ "spice_tls_x509_cert_dir" = "/etc/pki/libvirt-spice" }
|
2016-05-18 12:11:20 +00:00
|
|
|
{ "spice_auto_unix_socket" = "1" }
|
Autogenerate augeas test case from default config files
When adding new config file parameters, the corresponding
additions to the augeas lens' are constantly forgotten.
Also there are augeas test cases, these don't catch the
error, since they too are never updated.
To address this, the augeas test cases need to be auto-generated
from the example config files.
* build-aux/augeas-gentest.pl: Helper to generate an
augeas test file, substituting in elements from the
example config files
* src/Makefile.am, daemon/Makefile.am: Switch to
auto-generated augeas test cases
* daemon/test_libvirtd.aug, daemon/test_libvirtd.aug.in,
src/locking/test_libvirt_sanlock.aug,
src/locking/test_libvirt_sanlock.aug.in,
src/lxc/test_libvirtd_lxc.aug,
src/lxc/test_libvirtd_lxc.aug.in,
src/qemu/test_libvirtd_qemu.aug,
src/qemu/test_libvirtd_qemu.aug.in: Remove example
config file data, replacing with a ::CONFIG:: placeholder
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2012-05-25 10:14:15 +00:00
|
|
|
{ "spice_password" = "XYZ12345" }
|
2012-02-24 14:13:06 +00:00
|
|
|
{ "spice_sasl" = "1" }
|
|
|
|
{ "spice_sasl_dir" = "/some/directory/sasl2" }
|
2016-06-14 19:52:37 +00:00
|
|
|
{ "chardev_tls" = "1" }
|
|
|
|
{ "chardev_tls_x509_cert_dir" = "/etc/pki/libvirt-chardev" }
|
|
|
|
{ "chardev_tls_x509_verify" = "1" }
|
2016-09-08 14:04:59 +00:00
|
|
|
{ "chardev_tls_x509_secret_uuid" = "00000000-0000-0000-0000-000000000000" }
|
2017-08-30 15:32:33 +00:00
|
|
|
{ "vxhs_tls" = "1" }
|
|
|
|
{ "vxhs_tls_x509_cert_dir" = "/etc/pki/libvirt-vxhs" }
|
2018-05-31 18:21:48 +00:00
|
|
|
{ "nbd_tls" = "1" }
|
|
|
|
{ "nbd_tls_x509_cert_dir" = "/etc/pki/libvirt-nbd" }
|
2017-02-24 21:44:32 +00:00
|
|
|
{ "migrate_tls_x509_cert_dir" = "/etc/pki/libvirt-migrate" }
|
|
|
|
{ "migrate_tls_x509_verify" = "1" }
|
|
|
|
{ "migrate_tls_x509_secret_uuid" = "00000000-0000-0000-0000-000000000000" }
|
2013-08-17 19:30:47 +00:00
|
|
|
{ "nographics_allow_host_audio" = "1" }
|
2012-06-18 08:22:07 +00:00
|
|
|
{ "remote_display_port_min" = "5900" }
|
|
|
|
{ "remote_display_port_max" = "65535" }
|
2013-04-30 14:26:43 +00:00
|
|
|
{ "remote_websocket_port_min" = "5700" }
|
|
|
|
{ "remote_websocket_port_max" = "65535" }
|
Autogenerate augeas test case from default config files
When adding new config file parameters, the corresponding
additions to the augeas lens' are constantly forgotten.
Also there are augeas test cases, these don't catch the
error, since they too are never updated.
To address this, the augeas test cases need to be auto-generated
from the example config files.
* build-aux/augeas-gentest.pl: Helper to generate an
augeas test file, substituting in elements from the
example config files
* src/Makefile.am, daemon/Makefile.am: Switch to
auto-generated augeas test cases
* daemon/test_libvirtd.aug, daemon/test_libvirtd.aug.in,
src/locking/test_libvirt_sanlock.aug,
src/locking/test_libvirt_sanlock.aug.in,
src/lxc/test_libvirtd_lxc.aug,
src/lxc/test_libvirtd_lxc.aug.in,
src/qemu/test_libvirtd_qemu.aug,
src/qemu/test_libvirtd_qemu.aug.in: Remove example
config file data, replacing with a ::CONFIG:: placeholder
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2012-05-25 10:14:15 +00:00
|
|
|
{ "security_driver" = "selinux" }
|
|
|
|
{ "security_default_confined" = "1" }
|
|
|
|
{ "security_require_confined" = "1" }
|
|
|
|
{ "user" = "root" }
|
|
|
|
{ "group" = "root" }
|
|
|
|
{ "dynamic_ownership" = "1" }
|
|
|
|
{ "cgroup_controllers"
|
|
|
|
{ "1" = "cpu" }
|
|
|
|
{ "2" = "devices" }
|
|
|
|
{ "3" = "memory" }
|
|
|
|
{ "4" = "blkio" }
|
|
|
|
{ "5" = "cpuset" }
|
|
|
|
{ "6" = "cpuacct" }
|
|
|
|
}
|
|
|
|
{ "cgroup_device_acl"
|
|
|
|
{ "1" = "/dev/null" }
|
|
|
|
{ "2" = "/dev/full" }
|
|
|
|
{ "3" = "/dev/zero" }
|
|
|
|
{ "4" = "/dev/random" }
|
|
|
|
{ "5" = "/dev/urandom" }
|
|
|
|
{ "6" = "/dev/ptmx" }
|
|
|
|
{ "7" = "/dev/kvm" }
|
2019-02-18 15:13:30 +00:00
|
|
|
{ "8" = "/dev/rtc" }
|
|
|
|
{ "9" = "/dev/hpet" }
|
Autogenerate augeas test case from default config files
When adding new config file parameters, the corresponding
additions to the augeas lens' are constantly forgotten.
Also there are augeas test cases, these don't catch the
error, since they too are never updated.
To address this, the augeas test cases need to be auto-generated
from the example config files.
* build-aux/augeas-gentest.pl: Helper to generate an
augeas test file, substituting in elements from the
example config files
* src/Makefile.am, daemon/Makefile.am: Switch to
auto-generated augeas test cases
* daemon/test_libvirtd.aug, daemon/test_libvirtd.aug.in,
src/locking/test_libvirt_sanlock.aug,
src/locking/test_libvirt_sanlock.aug.in,
src/lxc/test_libvirtd_lxc.aug,
src/lxc/test_libvirtd_lxc.aug.in,
src/qemu/test_libvirtd_qemu.aug,
src/qemu/test_libvirtd_qemu.aug.in: Remove example
config file data, replacing with a ::CONFIG:: placeholder
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2012-05-25 10:14:15 +00:00
|
|
|
}
|
|
|
|
{ "save_image_format" = "raw" }
|
|
|
|
{ "dump_image_format" = "raw" }
|
2013-10-09 16:05:43 +00:00
|
|
|
{ "snapshot_image_format" = "raw" }
|
Autogenerate augeas test case from default config files
When adding new config file parameters, the corresponding
additions to the augeas lens' are constantly forgotten.
Also there are augeas test cases, these don't catch the
error, since they too are never updated.
To address this, the augeas test cases need to be auto-generated
from the example config files.
* build-aux/augeas-gentest.pl: Helper to generate an
augeas test file, substituting in elements from the
example config files
* src/Makefile.am, daemon/Makefile.am: Switch to
auto-generated augeas test cases
* daemon/test_libvirtd.aug, daemon/test_libvirtd.aug.in,
src/locking/test_libvirt_sanlock.aug,
src/locking/test_libvirt_sanlock.aug.in,
src/lxc/test_libvirtd_lxc.aug,
src/lxc/test_libvirtd_lxc.aug.in,
src/qemu/test_libvirtd_qemu.aug,
src/qemu/test_libvirtd_qemu.aug.in: Remove example
config file data, replacing with a ::CONFIG:: placeholder
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2012-05-25 10:14:15 +00:00
|
|
|
{ "auto_dump_path" = "/var/lib/libvirt/qemu/dump" }
|
|
|
|
{ "auto_dump_bypass_cache" = "0" }
|
|
|
|
{ "auto_start_bypass_cache" = "0" }
|
|
|
|
{ "hugetlbfs_mount" = "/dev/hugepages" }
|
2013-03-25 14:25:30 +00:00
|
|
|
{ "bridge_helper" = "/usr/libexec/qemu-bridge-helper" }
|
Autogenerate augeas test case from default config files
When adding new config file parameters, the corresponding
additions to the augeas lens' are constantly forgotten.
Also there are augeas test cases, these don't catch the
error, since they too are never updated.
To address this, the augeas test cases need to be auto-generated
from the example config files.
* build-aux/augeas-gentest.pl: Helper to generate an
augeas test file, substituting in elements from the
example config files
* src/Makefile.am, daemon/Makefile.am: Switch to
auto-generated augeas test cases
* daemon/test_libvirtd.aug, daemon/test_libvirtd.aug.in,
src/locking/test_libvirt_sanlock.aug,
src/locking/test_libvirt_sanlock.aug.in,
src/lxc/test_libvirtd_lxc.aug,
src/lxc/test_libvirtd_lxc.aug.in,
src/qemu/test_libvirtd_qemu.aug,
src/qemu/test_libvirtd_qemu.aug.in: Remove example
config file data, replacing with a ::CONFIG:: placeholder
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2012-05-25 10:14:15 +00:00
|
|
|
{ "clear_emulator_capabilities" = "1" }
|
|
|
|
{ "set_process_name" = "1" }
|
|
|
|
{ "max_processes" = "0" }
|
|
|
|
{ "max_files" = "0" }
|
2015-03-18 11:14:55 +00:00
|
|
|
{ "max_core" = "unlimited" }
|
2016-08-03 15:20:19 +00:00
|
|
|
{ "dump_guest_core" = "1" }
|
Autogenerate augeas test case from default config files
When adding new config file parameters, the corresponding
additions to the augeas lens' are constantly forgotten.
Also there are augeas test cases, these don't catch the
error, since they too are never updated.
To address this, the augeas test cases need to be auto-generated
from the example config files.
* build-aux/augeas-gentest.pl: Helper to generate an
augeas test file, substituting in elements from the
example config files
* src/Makefile.am, daemon/Makefile.am: Switch to
auto-generated augeas test cases
* daemon/test_libvirtd.aug, daemon/test_libvirtd.aug.in,
src/locking/test_libvirt_sanlock.aug,
src/locking/test_libvirt_sanlock.aug.in,
src/lxc/test_libvirtd_lxc.aug,
src/lxc/test_libvirtd_lxc.aug.in,
src/qemu/test_libvirtd_qemu.aug,
src/qemu/test_libvirtd_qemu.aug.in: Remove example
config file data, replacing with a ::CONFIG:: placeholder
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2012-05-25 10:14:15 +00:00
|
|
|
{ "mac_filter" = "1" }
|
|
|
|
{ "relaxed_acs_check" = "1" }
|
2014-03-12 07:53:37 +00:00
|
|
|
{ "lock_manager" = "lockd" }
|
Autogenerate augeas test case from default config files
When adding new config file parameters, the corresponding
additions to the augeas lens' are constantly forgotten.
Also there are augeas test cases, these don't catch the
error, since they too are never updated.
To address this, the augeas test cases need to be auto-generated
from the example config files.
* build-aux/augeas-gentest.pl: Helper to generate an
augeas test file, substituting in elements from the
example config files
* src/Makefile.am, daemon/Makefile.am: Switch to
auto-generated augeas test cases
* daemon/test_libvirtd.aug, daemon/test_libvirtd.aug.in,
src/locking/test_libvirt_sanlock.aug,
src/locking/test_libvirt_sanlock.aug.in,
src/lxc/test_libvirtd_lxc.aug,
src/lxc/test_libvirtd_lxc.aug.in,
src/qemu/test_libvirtd_qemu.aug,
src/qemu/test_libvirtd_qemu.aug.in: Remove example
config file data, replacing with a ::CONFIG:: placeholder
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2012-05-25 10:14:15 +00:00
|
|
|
{ "max_queued" = "0" }
|
|
|
|
{ "keepalive_interval" = "5" }
|
|
|
|
{ "keepalive_count" = "5" }
|
2012-09-18 08:28:43 +00:00
|
|
|
{ "seccomp_sandbox" = "1" }
|
2014-10-07 04:07:32 +00:00
|
|
|
{ "migration_address" = "0.0.0.0" }
|
2014-05-20 06:08:05 +00:00
|
|
|
{ "migration_host" = "host.example.com" }
|
2013-10-18 16:28:14 +00:00
|
|
|
{ "migration_port_min" = "49152" }
|
|
|
|
{ "migration_port_max" = "49215" }
|
2014-04-09 13:23:45 +00:00
|
|
|
{ "log_timestamp" = "0" }
|
2014-08-07 14:59:21 +00:00
|
|
|
{ "nvram"
|
|
|
|
{ "1" = "/usr/share/OVMF/OVMF_CODE.fd:/usr/share/OVMF/OVMF_VARS.fd" }
|
2016-08-04 17:02:38 +00:00
|
|
|
{ "2" = "/usr/share/OVMF/OVMF_CODE.secboot.fd:/usr/share/OVMF/OVMF_VARS.fd" }
|
|
|
|
{ "3" = "/usr/share/AAVMF/AAVMF_CODE.fd:/usr/share/AAVMF/AAVMF_VARS.fd" }
|
2017-07-20 19:56:55 +00:00
|
|
|
{ "4" = "/usr/share/AAVMF/AAVMF32_CODE.fd:/usr/share/AAVMF/AAVMF32_VARS.fd" }
|
2014-08-07 14:59:21 +00:00
|
|
|
}
|
2015-11-03 11:13:25 +00:00
|
|
|
{ "stdio_handler" = "logd" }
|
2016-11-18 15:03:08 +00:00
|
|
|
{ "gluster_debug_level" = "9" }
|
2016-11-18 15:34:45 +00:00
|
|
|
{ "namespaces"
|
|
|
|
{ "1" = "mount" }
|
|
|
|
}
|
2017-02-02 13:27:31 +00:00
|
|
|
{ "memory_backing_dir" = "/var/lib/libvirt/qemu/ram" }
|
2017-12-15 09:42:40 +00:00
|
|
|
{ "pr_helper" = "/usr/bin/qemu-pr-helper" }
|
2017-04-04 16:22:31 +00:00
|
|
|
{ "swtpm_user" = "tss" }
|
|
|
|
{ "swtpm_group" = "tss" }
|
2019-06-18 07:46:22 +00:00
|
|
|
{ "capability_filters"
|
|
|
|
{ "1" = "capname" }
|
|
|
|
}
|