]> Git Repo - qemu.git/blobdiff - tests/vm/freebsd
tests/vm: Allow to set qemu-img path
[qemu.git] / tests / vm / freebsd
index 2a19461a909815fbf6b133aad631b572ab4063e5..1825cc58218bda937ca72631a709b47f118a493e 100755 (executable)
@@ -82,8 +82,7 @@ class FreeBSDVM(basevm.BaseVM):
         self.print_step("Preparing iso and disk image")
         subprocess.check_call(["cp", "-f", cimg, iso_xz])
         subprocess.check_call(["xz", "-dvf", iso_xz])
-        subprocess.check_call(["qemu-img", "create", "-f", "qcow2",
-                               img_tmp, self.size])
+        self.exec_qemu_img("create", "-f", "qcow2", img_tmp, self.size)
 
         self.print_step("Booting installer")
         self.boot(img_tmp, extra_args = [
This page took 0.023735 seconds and 4 git commands to generate.