qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Bug 893956] Re: qemu-img bug with dynamic vhd


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [Bug 893956] Re: qemu-img bug with dynamic vhd
Date: Wed, 5 Sep 2012 07:59:11 +0100

On Mon, Sep 3, 2012 at 10:41 AM, franxico <address@hidden> wrote:
> Hi,
>
> I'm having the same problem. I'm using qemu-img 1.0, running from a
> Ubuntu Server 12.04 x64 on a SW RAID, ext4.
>
> The .VHD has 29GB and was made using disk2vhd.
>
> Here is the command and the results:
> sudo kvm-img convert -f vpc -O raw image.VHD image.img
> [sudo] password for sysop:
> kvm-img: Could not open 'image.VHD': File too large
> kvm-img: Could not open 'image.VHD'
>
> Same error doing a simple qemu-img info image.vhd

Please post the output of the following commands:

$ hexdump -C -n 512 image.VHD
$ hexdump -C -n 512 -s $(($(ls -l image.VHD | awk '{ print $5 }') -
512)) image.VHD

This will show the file header/footer, which contains fields that are
validated when opening the file.

Thanks,
Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]