All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Webb <chris@arachsys.com>
To: Kevin Wolf <kwolf@redhat.com>
Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org
Subject: Re: [Qemu-devel] qemu-kvm guest which won't 'cont' (emulation failure?)
Date: Mon, 24 Oct 2011 13:05:23 +0100	[thread overview]
Message-ID: <20111024120523.GY9917@arachsys.com> (raw)
In-Reply-To: <4EA54DD6.2090603@redhat.com>

Kevin Wolf <kwolf@redhat.com> writes:

> Good point... The only other thing that I can think of would be
> attaching gdb and setting a breakpoint in vm_stop() or something.

Perfect, that seems to identified what's going on very nicely:

(gdb) break vm_stop
Breakpoint 1 at 0x407d10: file /home/root/packages/qemu-kvm/src-UMBurO/cpus.c, line 318.
(gdb) fg
Continuing.

Breakpoint 1, vm_stop (reason=0)
    at /home/root/packages/qemu-kvm/src-UMBurO/cpus.c:318
318     /home/root/packages/qemu-kvm/src-UMBurO/cpus.c: No such file or directory.
        in /home/root/packages/qemu-kvm/src-UMBurO/cpus.c
(gdb) bt
#0  vm_stop (reason=0) at /home/root/packages/qemu-kvm/src-UMBurO/cpus.c:318
#1  0x000000000058585f in ide_handle_rw_error (s=0x20330d8, error=28, op=8)
    at /home/root/packages/qemu-kvm/src-UMBurO/hw/ide/core.c:468
#2  0x0000000000588376 in ide_dma_cb (opaque=0x20330d8, 
    ret=<value optimized out>)
    at /home/root/packages/qemu-kvm/src-UMBurO/hw/ide/core.c:494
#3  0x0000000000590092 in dma_bdrv_cb (opaque=0x2043a10, ret=-28)
    at /home/root/packages/qemu-kvm/src-UMBurO/dma-helpers.c:94
#4  0x000000000044d64a in qcow2_aio_write_cb (opaque=0x2034900, ret=-28)
    at block/qcow2.c:714
#5  0x000000000043df6d in posix_aio_process_queue (
    opaque=<value optimized out>) at posix-aio-compat.c:462
#6  0x000000000043e07d in posix_aio_read (opaque=0x17c8110)
    at posix-aio-compat.c:503
#7  0x0000000000415fca in main_loop_wait (nonblocking=<value optimized out>)
    at /home/root/packages/qemu-kvm/src-UMBurO/vl.c:1383
#8  0x000000000042ca37 in kvm_main_loop ()
    at /home/root/packages/qemu-kvm/src-UMBurO/qemu-kvm.c:1589
#9  0x00000000004170a3 in main (argc=32, argv=<value optimized out>, 
    envp=<value optimized out>)
    at /home/root/packages/qemu-kvm/src-UMBurO/vl.c:1429

I see what's happened here: we're not explicitly setting format=raw when we
start that guest and someone's uploaded a qcow2 image directly to a block
device. Ouch. Sorry for the noise!

Best wishes,

Chris.

      reply	other threads:[~2011-10-24 12:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-24 10:00 qemu-kvm guest which won't 'cont' (emulation failure?) Chris Webb
2011-10-24 10:00 ` [Qemu-devel] " Chris Webb
2011-10-24 10:42 ` Kevin Wolf
2011-10-24 10:58   ` Chris Webb
2011-10-24 10:58     ` [Qemu-devel] " Chris Webb
2011-10-24 11:18     ` Kevin Wolf
2011-10-24 11:29       ` Chris Webb
2011-10-24 11:36         ` Kevin Wolf
2011-10-24 12:05           ` Chris Webb [this message]

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=20111024120523.GY9917@arachsys.com \
    --to=chris@arachsys.com \
    --cc=kvm@vger.kernel.org \
    --cc=kwolf@redhat.com \
    --cc=qemu-devel@nongnu.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.