c77ae44d06
- Add support for the suspend event - Add support for event tray moved of removable disks - qemu: Support numad - cpustats: API, improvements and qemu support - qemu: support type='hostdev' network devices at domain start - Introduce virDomainPMWakeup API - network: support Open vSwitch - snapshot improvements OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=204
38 lines
1.4 KiB
Diff
38 lines
1.4 KiB
Diff
Index: libvirt-0.9.11/src/qemu/qemu.conf
|
|
===================================================================
|
|
--- libvirt-0.9.11.orig/src/qemu/qemu.conf
|
|
+++ libvirt-0.9.11/src/qemu/qemu.conf
|
|
@@ -136,7 +136,16 @@
|
|
# leaving SELinux enabled for the host in general, then set this
|
|
# to 'none' instead.
|
|
#
|
|
+# SUSE Note:
|
|
+# Currently, Apparmor is the default security framework in SUSE
|
|
+# distros. If Apparmor is enabled on the host, libvirtd is
|
|
+# generously confined but users must opt-in to confine qemu
|
|
+# instances. Change this to 'apparmor' to enable Apparmor
|
|
+# confinement of qemu instances.
|
|
+#
|
|
# security_driver = "selinux"
|
|
+# security_driver = "apparmor"
|
|
+security_driver = "none"
|
|
|
|
# If set to non-zero, then the default security labeling
|
|
# will make guests confined. If set to zero, then guests
|
|
@@ -317,6 +326,15 @@
|
|
# max_processes = 0
|
|
# max_files = 0
|
|
|
|
+# SUSE note:
|
|
+# Many lock managers, sanlock included, will kill the resources
|
|
+# they protect when terminated. E.g. the sanlock daemon will kill
|
|
+# any virtual machines for which it holds disk leases when the
|
|
+# daemon is stopped or restarted. Administrators must be vigilant
|
|
+# when enabling a lock manager since simply updating the manager
|
|
+# may cause it to be restarted, potentially killing the resources
|
|
+# it protects.
|
|
+#
|
|
# To enable 'Sanlock' project based locking of the file
|
|
# content (to prevent two VMs writing to the same
|
|
# disk), uncomment this
|