All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Kenni Lund <kenni@kelu.dk>
Cc: Kevin Wolf <kwolf@redhat.com>, kvm@vger.kernel.org
Subject: Re: SIGTERM to qemu-kvm process destroys qcow2 image?
Date: Fri, 18 Dec 2009 16:22:31 +0200	[thread overview]
Message-ID: <4B2B9027.60102@redhat.com> (raw)
In-Reply-To: <3b1f68ef0912180613u3cf9940ah790a74f67cc11d4e@mail.gmail.com>

On 12/18/2009 04:13 PM, Kenni Lund wrote:
>
> Huh? Backing file? Is that the same as a base image? Eg. a write
> protected image on which other images can be based?
>
>    

Yes.

> If so, I'm quite confused...this should be a standalone image created
> with a command like "qemu-img create -f WindowsXP.img 50G" half a year
> ago on kvm 8x. I don't use libvirt/virt-manager etc. I start qemu-kvm
> directly from a homemade bash script. I don't have any
> /tmp/WindowsXP.img.backup file, and I would never put stuff inside
> /tmp, especially not images, they belong to /data/virtualization/ on
> my server and nowhere else....
>    

The '/tmp' was prefixed by qemu-img, the actual path is 
'WindowsXP.img.backup', so on your setup qemu-img would look for it in 
/data/virtualization/.

> If the image needs another image in /tmp/WindowsXP.img.backup I can
> see why it doesn't work, but I have _no_ idea why or how this file was
> created (?!??) - even if I was doing a test with base-images, I would
> do it directly in /data/virtualization/ and never in /tmp/
>    

If it isn't there you can try to create it (qemu-img create 
/data/virtualization/WindowsXP.img.backup 31457280000).  If no data was 
actually stored there, your image will be recovered.


-- 
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.


  reply	other threads:[~2009-12-18 14:22 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
2009-12-18 14:13         ` Kenni Lund
2009-12-18 14:22           ` Avi Kivity [this message]
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=4B2B9027.60102@redhat.com \
    --to=avi@redhat.com \
    --cc=kenni@kelu.dk \
    --cc=kvm@vger.kernel.org \
    --cc=kwolf@redhat.com \
    /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.