提交 41700d21 编写于 作者: M Michal Privoznik

qemu.conf: Mention virtlockd in @lock_manager description

When I played with virtlockd I was stunned by lacking
documentation. My frustration got bigger when I had to
read the patches to get the correct value to set in
qemu.conf.

Moreover, from pure libvirt-pride  I'm changing commented
value from sanlock to lockd. We want to favor our own
implementation after all.
Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
上级 f613e894
...@@ -402,11 +402,13 @@ ...@@ -402,11 +402,13 @@
#allow_disk_format_probing = 1 #allow_disk_format_probing = 1
# To enable 'Sanlock' project based locking of the file # In order to prevent accidentally starting two domains that
# content (to prevent two VMs writing to the same # share one writable disk, libvirt offers two approaches for
# disk), uncomment this # locking files. The first one is sanlock, the other one,
# virtlockd, is then our own implementation. Accepted values
# are "sanlock" and "lockd".
# #
#lock_manager = "sanlock" #lock_manager = "lockd"
......
...@@ -64,7 +64,7 @@ module Test_libvirtd_qemu = ...@@ -64,7 +64,7 @@ module Test_libvirtd_qemu =
{ "mac_filter" = "1" } { "mac_filter" = "1" }
{ "relaxed_acs_check" = "1" } { "relaxed_acs_check" = "1" }
{ "allow_disk_format_probing" = "1" } { "allow_disk_format_probing" = "1" }
{ "lock_manager" = "sanlock" } { "lock_manager" = "lockd" }
{ "max_queued" = "0" } { "max_queued" = "0" }
{ "keepalive_interval" = "5" } { "keepalive_interval" = "5" }
{ "keepalive_count" = "5" } { "keepalive_count" = "5" }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册