From: Kevin Wolf <kwolf@redhat.com>
To: Avi Kivity <avi@redhat.com>
Cc: Kenni Lund <kenni@kelu.dk>, kvm@vger.kernel.org
Subject: Re: SIGTERM to qemu-kvm process destroys qcow2 image?
Date: Thu, 17 Dec 2009 11:52:41 +0100 [thread overview]
Message-ID: <4B2A0D79.9010900@redhat.com> (raw)
In-Reply-To: <4B2A06AD.4020605@redhat.com>
Am 17.12.2009 11:23, schrieb Avi Kivity:
> On 12/17/2009 11:38 AM, Kenni Lund wrote:
>> 2009/12/17 Avi Kivity<avi@redhat.com>:
>>
>>> On 12/17/2009 02:52 AM, Kenni Lund wrote:
>>>
>>>> Yesterday I entered an invalid boot device as an argument to my
>>>> qemu-kvm command for my Windows XP machine, causing an error about a
>>>> missing boot device in the qemu BIOS/POST. As I didn't have any
>>>> filesystems mounted inside the virtual machine (since it was stuck at
>>>> the BIOS asking for a device to boot), I did a kill $pid, fixed the
>>>> boot device in the qemu-kvm command and tried booting again...but with
>>>> no luck, whatever I try now with qemu-kvm gives me the error:
>>>> qemu: could not open disk image /data/virtualization/WindowsXP.img
>>>>
>>>> And qemu-img (check, convert, etc) gives me:
>>>> qemu-img: Could not open 'WindowsXP.img'
>>>>
>>>>
>>> Can you post the first 4K of the image? It shouldn't contain private data,
>>> but go over it (or don't post) if you sensitive information there.
>>>
>> 4K dump attached.
>>
>>
>
> Seems fine. Kevin can you take a look?
Agreed, the dump looks fine. Even qcow2_open succeeds if I just use this
header as a qcow2 file.
> You have a backing file. Do qemu-img info and qemu-img check like it?
So I'd definitely have a look at the backing file. It's almost the only
thing that can go wrong after qcow2_open. qemu-img doesn't have known
problems with backing files in general, but it does have problems with
missing (or broken) backing files.
Kenni, could you check if your backing file is still alive? /tmp doesn't
sound like a safe place for images. If it still exists in the right
location (/tmp/WindowsXP.img.backup) and it is qcow2, can you please
attach the first 4k of the backing file?
Kevin
next prev parent reply other threads:[~2009-12-17 10:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-17 0:52 SIGTERM to qemu-kvm process destroys qcow2 image? Kenni Lund
2009-12-17 5:34 ` Avi Kivity
2009-12-17 9:38 ` Kenni Lund
2009-12-17 10:23 ` Avi Kivity
2009-12-17 10:52 ` Kevin Wolf [this message]
2009-12-18 14:13 ` Kenni Lund
2009-12-18 14:22 ` Avi Kivity
2009-12-18 14:30 ` Kevin Wolf
2009-12-18 14:35 ` Kenni Lund
2009-12-20 6:21 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B2A0D79.9010900@redhat.com \
--to=kwolf@redhat.com \
--cc=avi@redhat.com \
--cc=kenni@kelu.dk \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.