2013-07-30 22:33:47 +02:00
|
|
|
Index: libvirt-1.1.1/src/qemu/qemu.conf
|
2011-10-18 23:25:37 +02:00
|
|
|
===================================================================
|
2013-07-30 22:33:47 +02:00
|
|
|
--- libvirt-1.1.1.orig/src/qemu/qemu.conf
|
|
|
|
+++ libvirt-1.1.1/src/qemu/qemu.conf
|
2013-06-05 00:48:46 +02:00
|
|
|
@@ -175,7 +175,16 @@
|
2012-09-26 00:22:08 +02:00
|
|
|
# a special value; security_driver can be set to that value in
|
|
|
|
# isolation, but it cannot appear in a list of drivers.
|
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"
|
2012-11-02 18:55:26 +01:00
|
|
|
+# security_driver = "apparmor"
|
2011-10-18 23:25:37 +02:00
|
|
|
+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
|
2013-06-05 00:48:46 +02:00
|
|
|
@@ -371,6 +380,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
|