On Thu, Sep 26, 2013 at 10:48 PM, Mark Trumpold <ma...@netqa.com> wrote: > >>-----Original Message----- >>From: Wouter Verhelst [mailto:w...@uter.be] >>Sent: Thursday, September 26, 2013 12:46 PM >>To: 'Mark Trumpold' >>Cc: nbd-gene...@lists.sourceforge.net, 'Stefan Hajnoczi', >>bonz...@stefanha-thinkpad.redhat.com, 'Paul Clements', qemu-devel@nongnu.org >>Subject: Re: [Nbd] [Qemu-devel] Hibernate and qemu-nbd >> >>On 25-09-13 16:42, Mark Trumpold wrote: >>> 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 >> >>No. >> >>nbd-client -persist localhost 2000 /dev/nbd0 >> >>-- >>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/ >> > > Sorry guys, I did the email by memory (bad idea). > > Actually, what I did: > 849 qemu-nbd -p 2000 /root/qemu/q1.img &
Try the qemu-nbd --persistent option. That should prevent it from shutting down when nbd-client is disconnected. Stefan