qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Mark Trumpold
Subject: Re: [Qemu-devel] Hibernate and qemu-nbd
Date: Wed, 25 Sep 2013 07:42:40 -0700
User-agent: Microsoft-MacOutlook/14.0.0.100825

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" <address@hidden> 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/
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]