Merge "Set libvirt_nonblocking to true by default for Folsom."

This commit is contained in:
Jenkins 2012-06-25 20:55:54 +00:00 committed by Gerrit Code Review
commit 169d0ca4df
3 changed files with 8 additions and 2 deletions

View File

@ -1417,7 +1417,7 @@
#### soft reboot request is made. We fall back to hard reboot if
#### instance does not shutdown within this window.
# libvirt_nonblocking=false
# libvirt_nonblocking=true
#### (BoolOpt) Use a separated OS thread pool to realize non-blocking
#### libvirt calls

View File

@ -797,3 +797,9 @@ def openAuth(uri, auth, flags):
"this auth method"))
return Connection(uri, readonly=False)
virDomain = Domain
virConnect = Connection

View File

@ -156,7 +156,7 @@ libvirt_opts = [
' soft reboot request is made. We fall back to hard reboot'
' if instance does not shutdown within this window.'),
cfg.BoolOpt('libvirt_nonblocking',
default=False,
default=True,
help='Use a separated OS thread pool to realize non-blocking'
' libvirt calls'),
# force_config_drive is a string option, to allow for future behaviors