[libvirt] [PATCH] Correct the default value of lock_manager in qemu.conf

Daniel Veillard veillard at redhat.com
Mon Aug 1 13:16:45 UTC 2011


On Sun, Jul 31, 2011 at 04:59:11PM +0800, Guannan Ren wrote:
> * src/qemu/qemu.conf lock_manager = "sanlock"
> 
> ---
>  src/qemu/qemu.conf |    7 +++----
>  1 files changed, 3 insertions(+), 4 deletions(-)
> 
> diff --git a/src/qemu/qemu.conf b/src/qemu/qemu.conf
> index 8058352..79c6e85 100644
> --- a/src/qemu/qemu.conf
> +++ b/src/qemu/qemu.conf
> @@ -304,9 +304,8 @@
>  #
>  # max_processes = 0
>  
> -# To enable strict 'fcntl' based locking of the file
> +# To enable 'Sanlock' project based locking of the file
>  # content (to prevent two VMs writing to the same
> -# disk), start the 'virtlockd' service, and uncomment
> -# this
> +# disk), uncomment this
>  #
> -# lock_manager = "fcntl"
> +# lock_manager = "sanlock"

  Hum, the set of fcntl patches from Dan didn't got applied in time
for this release, so yes we need to document back sanlock as being the
default,

    ACK

   thanks, pushed !

Daniel


-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list