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

2013-10-17 Thread Mark Trumpold
>-Original Message- >From: Stefan Hajnoczi [mailto:stefa...@gmail.com] >Sent: Tuesday, October 15, 2013 08:17 AM >To: 'Mark Trumpold' >Cc: 'Wouter Verhelst', nbd-gene...@lists.sourceforge.net, 'Paul Clements', >qemu-devel@nongnu.org,

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

2013-10-04 Thread Mark Trumpold
On 9/26/13 10:18 PM, "Stefan Hajnoczi" wrote: > >Try the qemu-nbd --persistent option. That should prevent it from >shutting down when nbd-client is disconnected. > >Stefan > Hi Stefan, Sorry for the delay.. I tried the following per your suggestion: 920 qemu-nbd --persistent -p 2000 /r

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

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

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

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

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

2013-09-20 Thread Mark Trumpold
>-Original Message- >From: Stefan Hajnoczi [mailto:stefa...@gmail.com] >Sent: Thursday, September 19, 2013 10:14 PM >To: 'Mark Trumpold' >Cc: 'qemu-devel', 'Paul Clements', nbd-gene...@lists.sourceforge.net, >bonz...@stefanha-thinkpad.re

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

2013-09-19 Thread Mark Trumpold
>-Original Message- >From: Stefan Hajnoczi [mailto:stefa...@gmail.com] >Sent: Wednesday, September 18, 2013 06:12 AM >To: 'Mark Trumpold' >Cc: qemu-devel@nongnu.org, 'Paul Clements', nbd-gene...@lists.sourceforge.net, >bonz...@stefanha-thinkpad

[Qemu-devel] Hibernate and qemu-nbd

2013-09-17 Thread Mark Trumpold
: Debian: 6.0.5 Kernel: 3.3.1 Qemu userspace: 1.2.0 Thank you for any thoughts on this one. Regards, Mark Trumpold

Re: [Qemu-devel] 'qemu-nbd' explicit flush

2013-06-07 Thread Mark Trumpold
On 5/28/13 11:42 PM, "Stefan Hajnoczi" wrote: >On Tue, May 28, 2013 at 06:00:08PM +, Mark Trumpold wrote: >> >> >-Original Message- >> >From: Stefan Hajnoczi [mailto:stefa...@gmail.com] >> >Sent: Monday, May 27, 2013 05:36 AM >>

Re: [Qemu-devel] 'qemu-nbd' explicit flush

2013-05-29 Thread Mark Trumpold
On 5/28/13 11:42 PM, "Stefan Hajnoczi" wrote: >On Tue, May 28, 2013 at 06:00:08PM +, Mark Trumpold wrote: >> >> >-Original Message- >> >From: Stefan Hajnoczi [mailto:stefa...@gmail.com] >> >Sent: Monday, May 27, 2013 05:36 AM >>

Re: [Qemu-devel] 'qemu-nbd' explicit flush

2013-05-28 Thread Mark Trumpold
>-Original Message- >From: Stefan Hajnoczi [mailto:stefa...@gmail.com] >Sent: Monday, May 27, 2013 05:36 AM >To: 'Mark Trumpold' >Cc: 'Paolo Bonzini', qemu-devel@nongnu.org, ma...@tachyon.net >Subject: Re: 'qemu-nbd' explicit flush &

Re: [Qemu-devel] 'qemu-nbd' explicit flush

2013-05-25 Thread Mark Trumpold
On 5/24/13 1:05 AM, "Stefan Hajnoczi" wrote: >On Thu, May 23, 2013 at 09:58:31PM +, Mark Trumpold wrote: >> I have a working configuration using the signal approach suggested by >>Stefan. >> >> 'qemu-nbd.c' is patched as follows:

Re: [Qemu-devel] 'qemu-nbd' explicit flush

2013-05-23 Thread Mark Trumpold
I had one question I forgot to ask.. Is it possible to switch from '--cache=writeback' functionality to '--cache=writethrough' (and visa versa) while qemu-nbd is connected to the '/dev/nbd' device? Thank you, Mark T. -----Original Message- From: Mark Trumpold

Re: [Qemu-devel] 'qemu-nbd' explicit flush

2013-05-23 Thread Mark Trumpold
i [mailto:pbonz...@redhat.com] Sent: Wednesday, May 22, 2013 04:07 AM To: 'Stefan Hajnoczi' Cc: 'Mark Trumpold', qemu-devel@nongnu.org, ma...@tachyon.net Subject: Re: 'qemu-nbd' explicit flush Il 22/05/2013 11:47, Stefan Hajnoczi ha scritto: > On Tue, May 21, 2013 at

Re: [Qemu-devel] 'qemu-nbd' explicit flush

2013-05-22 Thread Mark Trumpold
with Qemu source. I'll let you know how it goes.. Thanks again Paolo and Stefan. Regards, Mark Trumpold -Original Message- From: Paolo Bonzini [mailto:pbonz...@redhat.com] Sent: Wednesday, May 22, 2013 04:07 AM To: 'Stefan Hajnoczi' Cc: 'Mark Trumpold', qemu-d

[Qemu-devel] 'qemu-nbd' explicit flush

2013-05-21 Thread Mark Trumpold
terface. Here I see 'bdrv_co_flush(exp->bs)' which looks promising; however, I don't know how to setup the 'bs' pointer for the call. Ideally, I would like to add a command line parm to 'qemu-nbd.c' to explicitely do the flush, but so far no luck. I've been struggling with this for some time. Any guidance would be greatly appreciated. Thank you, Mark Trumpold

[Qemu-devel] FW: 'qemu-nbd' explicite flush to disk

2012-10-22 Thread Mark Trumpold
e at this point. So sorry for the disruption. Best regards, Mark Trumpold On 10/22/12 8:10 AM, "Mark Trumpold" wrote: >Paolo, > >Please recall you had sent me the link below to a kernel patch to allow >'qemu-nbd' to flush to disk. The patch was applied with goo

Re: [Qemu-devel] 'qemu-nbd' explicite flush to disk

2012-10-22 Thread Mark Trumpold
information that might help. Best regards, Mark Trumpold >-Original Message- >From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo >Bonzini >Sent: Wednesday, September 12, 2012 11:30 PM >To: Mark Trumpold >Cc: qemu-devel@nongnu.org >Subject: R

Re: [Qemu-devel] 'qemu-nbd' explicite flush to disk

2012-09-13 Thread Mark Trumpold
Paolo, Awesome!!! I just tried your patch, and it works beautifully. I've been struggling with the lack of '--cache=writeback' for months now with many work-arounds/kludges. Thank you again for responding. Qemu rocks! Best regards, Mark Trumpold > -Original Message-

[Qemu-devel] 'qemu-nbd' explicite flush to disk

2012-09-12 Thread Mark Trumpold
cache=writeback -c /dev/nbd5 /images/root/snap.img Subsequently I've been trying to call 'bdrv_co_flush(bs)' directly, but I can't figure out how to dereference 'bs' for the call. I'm probably out in the weeds on this one. Any guidance would be greatly apprecia