2012-09-12 17:08:18 +02:00
|
|
|
Index: libvirt-0.10.1/src/qemu/qemu.conf
|
2011-10-18 23:25:37 +02:00
|
|
|
===================================================================
|
2012-09-12 17:08:18 +02:00
|
|
|
--- libvirt-0.10.1.orig/src/qemu/qemu.conf
|
|
|
|
+++ libvirt-0.10.1/src/qemu/qemu.conf
|
|
|
|
@@ -166,7 +166,16 @@
|
|
|
|
#
|
|
|
|
# Note: The DAC security driver is always enabled.
|
2011-10-18 23:25:37 +02:00
|
|
|
#
|
|
|
|
+# 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.
|
|
|
|
+#
|
2012-06-20 02:00:14 +02:00
|
|
|
#security_driver = "selinux"
|
2011-10-18 23:25:37 +02:00
|
|
|
+# security_driver = "apparmor"
|
|
|
|
+security_driver = "none"
|
|
|
|
|
2012-02-15 20:01:07 +01:00
|
|
|
# If set to non-zero, then the default security labeling
|
|
|
|
# will make guests confined. If set to zero, then guests
|
2012-09-12 17:08:18 +02:00
|
|
|
@@ -339,6 +348,15 @@
|
2012-06-20 02:00:14 +02:00
|
|
|
#allow_disk_format_probing = 1
|
|
|
|
|
2012-02-16 18:05:01 +01:00
|
|
|
|
|
|
|
+# 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
|