All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Trumpold <markt@netqa.com>
To: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Hibernate and qemu-nbd
Date: Tue, 17 Sep 2013 07:10:44 -0700	[thread overview]
Message-ID: <CE5DB0F4.8F0D%markt@netqa.com> (raw)

Hello,

I have been using 'qemu-nbd' and 'qemu-img' for some time to provide
loop filesystems in my environment.

Recently I have been experimenting with hibernating (suspend to disk)
the physical host on which I have qemu running.

I am using the kernel functionality directly with the commands:
    echo platform >/sys/power/disk
    echo disk >/sys/power/state

The following appears in dmesg when I attempt to hibernate:

====================================================
[   38.881397] nbd (pid 1473: qemu-nbd) got signal 0
[   38.881401] block nbd0: shutting down socket
[   38.881404] block nbd0: Receive control failed (result -4)
[   38.881417] block nbd0: queue cleared
[   87.463133] block nbd0: Attempted send on closed socket
[   87.463137] end_request: I/O error, dev nbd0, sector 66824
====================================================

My environment:
  Debian: 6.0.5
  Kernel: 3.3.1
  Qemu userspace: 1.2.0

Thank you for any thoughts on this one.

Regards,
Mark Trumpold

             reply	other threads:[~2013-09-17 14:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-17 14:10 Mark Trumpold [this message]
2013-09-18 13:12 ` [Qemu-devel] Hibernate and qemu-nbd Stefan Hajnoczi
  -- strict thread matches above, loose matches on Subject: below --
2013-09-19 20:44 Mark Trumpold
2013-09-20  5:14 ` Stefan Hajnoczi
2013-09-20 18:00 Mark Trumpold
2013-09-21  9:59 ` Wouter Verhelst
2013-09-25 14:42   ` Mark Trumpold
2013-09-26  7:11     ` Stefan Hajnoczi

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=CE5DB0F4.8F0D%markt@netqa.com \
    --to=markt@netqa.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.