From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOqIu-0006K6-8e for qemu-devel@nongnu.org; Wed, 25 Sep 2013 10:43:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VOqIo-0001Dl-Vi for qemu-devel@nongnu.org; Wed, 25 Sep 2013 10:43:00 -0400 Received: from atl4mhob12.myregisteredsite.com ([209.17.115.50]:50679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOqIo-0001DW-QU for qemu-devel@nongnu.org; Wed, 25 Sep 2013 10:42:54 -0400 Received: from mailpod.hostingplatform.com ([10.30.71.203]) by atl4mhob12.myregisteredsite.com (8.14.4/8.14.4) with ESMTP id r8PEgrjW009578 for ; Wed, 25 Sep 2013 10:42:53 -0400 Date: Wed, 25 Sep 2013 07:42:40 -0700 From: Mark Trumpold Message-ID: In-Reply-To: <523D6E15.3010004@uter.be> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: Re: [Qemu-devel] Hibernate and qemu-nbd List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wouter Verhelst Cc: nbd-general@lists.sourceforge.net, Stefan Hajnoczi , bonzini@stefanha-thinkpad.redhat.com, Paul Clements , "qemu-devel@nongnu.org" 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 hibernate cycle and returns to the prompt. In this case the client DID try to reconnect as you suggest, however the 'qemu-nbd' server side had exited, so no go. Regards, Mark T. On 9/21/13 2:59 AM, "Wouter Verhelst" wrote: >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 the & isn't necessary. > >-- >This end should point toward the ground if you want to go to space. > >If it starts pointing toward space you are having a bad problem and you >will not go to space today. > > -- http://xkcd.com/1133/ >