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 complete

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 fork(), so

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

2013-09-20 Thread Mark Trumpold
...@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 with the commands: echo platform /sys/power/disk echo disk /sys/power

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

2013-09-19 Thread Mark Trumpold
] 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 /sys/power/state The following appears in dmesg when I attempt to hibernate

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

2013-09-19 Thread Stefan Hajnoczi
...@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 with the commands: echo platform /sys/power/disk echo disk /sys/power/state

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:

[Qemu-devel] Hibernate and qemu-nbd

2013-09-17 Thread Mark Trumpold
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: