On Fri, 2014-11-14 at 08:23 +0100, Vratislav Podzimek wrote:
On Wed, 2014-11-12 at 13:32 -0500, Chris Lumens wrote:
> This is needed for parted to be able to make a partition that covers the
> entire device. It gets confused by the qcow2 format.
> ---
> tests/gui/outside/__init__.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/gui/outside/__init__.py b/tests/gui/outside/__init__.py
> index 5c0f6db..07b8658 100644
> --- a/tests/gui/outside/__init__.py
> +++ b/tests/gui/outside/__init__.py
> @@ -112,7 +112,7 @@ class Creator(object):
> (fd, diskimage) = tempfile.mkstemp(dir=self.tempdir)
> eintr_retry_call(os.close, fd)
>
> - subprocess.call(["/usr/bin/qemu-img", "create",
"-f", "qcow2", diskimage, "%sG" % size],
> + subprocess.call(["/usr/bin/qemu-img", "create",
"-f", "raw", diskimage, "%sG" % size],
> stdout=open("/dev/null", "w"))
> self._drivePaths[drive] = diskimage
Do we have a bug report for this parted's or qemu's issue?
Oh I now see it
is an issue only when formatting the image from the
outside (not from a VM). Please ignore.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic