diff options
-rw-r--r-- | Authors | 1 | ||||
-rw-r--r-- | nova/tests/test_libvirt.py | 2 | ||||
-rw-r--r-- | nova/virt/libvirt/utils.py | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -87,6 +87,7 @@ Jason Koelker <jason@koelker.net> Jay Pipes <jaypipes@gmail.com> JC Martin <jcmartin@ebaysf.com> Jesse Andrews <anotherjesse@gmail.com> +Jim Fehlig <jfehlig@suse.com> Jimmy Bergman <jimmy@sigint.se> Joe Gordon <jogo@cloudscaling.com> Joe Heck <heckj@mac.com> diff --git a/nova/tests/test_libvirt.py b/nova/tests/test_libvirt.py index 2391ea1ea..11e51b8a6 100644 --- a/nova/tests/test_libvirt.py +++ b/nova/tests/test_libvirt.py @@ -2201,7 +2201,7 @@ class LibvirtUtilsTestCase(test.TestCase): def test_create_cow_image(self): self.mox.StubOutWithMock(utils, 'execute') utils.execute('qemu-img', 'create', '-f', 'qcow2', - '-o', 'cluster_size=2M,backing_file=/some/path', + '-o', 'backing_file=/some/path', '/the/new/cow') # Start test self.mox.ReplayAll() diff --git a/nova/virt/libvirt/utils.py b/nova/virt/libvirt/utils.py index f4c6d20a5..bb2051927 100644 --- a/nova/virt/libvirt/utils.py +++ b/nova/virt/libvirt/utils.py @@ -87,7 +87,7 @@ def create_cow_image(backing_file, path): :param path: Desired location of the COW image """ execute('qemu-img', 'create', '-f', 'qcow2', '-o', - 'cluster_size=2M,backing_file=%s' % backing_file, path) + 'backing_file=%s' % backing_file, path) def get_disk_size(path): |