diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-06-25 20:55:54 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-06-25 20:55:54 +0000 |
| commit | 169d0ca4df833766c878ef3ca62868ce38610db1 (patch) | |
| tree | c9b44576ce31c3d943791726150004acc561871d /nova | |
| parent | ad6b11c17c8afd6522d9e9dce269e3f51b5b0851 (diff) | |
| parent | 1825abc8da4db5e5a85e30386c7598a61c59aa9d (diff) | |
Merge "Set libvirt_nonblocking to true by default for Folsom."
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/tests/fakelibvirt.py | 6 | ||||
| -rw-r--r-- | nova/virt/libvirt/connection.py | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/nova/tests/fakelibvirt.py b/nova/tests/fakelibvirt.py index 3e4c63719..4350a8878 100644 --- a/nova/tests/fakelibvirt.py +++ b/nova/tests/fakelibvirt.py @@ -797,3 +797,9 @@ def openAuth(uri, auth, flags): "this auth method")) return Connection(uri, readonly=False) + + +virDomain = Domain + + +virConnect = Connection diff --git a/nova/virt/libvirt/connection.py b/nova/virt/libvirt/connection.py index 5db4204d5..ea0e60573 100644 --- a/nova/virt/libvirt/connection.py +++ b/nova/virt/libvirt/connection.py @@ -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 |
