Re: [Qemu-devel] Hibernate and qemu-nbd

2013-09-26 Thread Stefan Hajnoczi
On Wed, Sep 25, 2013 at 07:42:40AM -0700, Mark Trumpold wrote: > I replayed the test as follows: > > -> qemu-nbd -p 2000 -persist /root/qemu/q1.img & Did you mean --persistent? Any idea what terminated the qemu-nbd process? Stefan

Re: [Qemu-devel] Hibernate and qemu-nbd

2013-09-25 Thread Mark Trumpold
Hello Wouter, Thank you for your input. I replayed the test as follows: -> qemu-nbd -p 2000 -persist /root/qemu/q1.img & -> nbd-client localhost 2000 /dev/nbd0 -> echo reboot >/sys/power/disk -> echo disk >/sys/power/state The "reboot" is a handy way to test, as it goes through the comp

Re: [Qemu-devel] Hibernate and qemu-nbd

2013-09-21 Thread Wouter Verhelst
On 20-09-13 20:00, Mark Trumpold wrote: > Stefan, > > So, I tried the following: > > -> qemu-nbd -p 2000 /root/qemu/q1.img & > -> nbd-client localhost 2000 /dev/nbd0 & That won't work. nbd-client will only try the reconnect thing if you use the "-persist" option. Also, nbd-client will do a

Re: [Qemu-devel] Hibernate and qemu-nbd

2013-09-20 Thread Mark Trumpold
6:12 AM >>>To: 'Mark Trumpold' >>>Cc: qemu-devel@nongnu.org, 'Paul Clements', >>>nbd-gene...@lists.sourceforge.net, >>>bonz...@stefanha-thinkpad.redhat.com, w...@uter.be >>>Subject: Re: [Qemu-devel] Hibernate and qemu-nbd >>>

Re: [Qemu-devel] Hibernate and qemu-nbd

2013-09-19 Thread Stefan Hajnoczi
ents', nbd-gene...@lists.sourceforge.net, >>bonz...@stefanha-thinkpad.redhat.com, w...@uter.be >>Subject: Re: [Qemu-devel] Hibernate and qemu-nbd >> >>On Tue, Sep 17, 2013 at 07:10:44AM -0700, Mark Trumpold wrote: >>> I am using the kernel functionality directly w

Re: [Qemu-devel] Hibernate and qemu-nbd

2013-09-19 Thread Mark Trumpold
.redhat.com, w...@uter.be >Subject: Re: [Qemu-devel] Hibernate and qemu-nbd > >On Tue, Sep 17, 2013 at 07:10:44AM -0700, Mark Trumpold wrote: >> I am using the kernel functionality directly with the commands: >> echo platform >/sys/power/disk >> echo disk >/

Re: [Qemu-devel] Hibernate and qemu-nbd

2013-09-18 Thread Stefan Hajnoczi
On Tue, Sep 17, 2013 at 07:10:44AM -0700, Mark Trumpold wrote: > 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: > > =