search for: nbd_trip

Displaying 4 results from an estimated 4 matches for "nbd_trip".

Did you mean: nbd_trim
2013 Apr 04
2
launch failure of appliance with nbd drive
...eanup: 0xbc4ba0: child process died libguestfs: sending SIGTERM to process 23981 libguestfs: closing guestfs handle 0xbc4ba0 (state 0) libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfsLFMzZI skippy at DaneelOlivaw:~/tmp/bin$ /build/buildd/qemu-kvm-1.2.0+noroms/nbd.c:nbd_trip():L835: From: 18446744073709551104, Len: 0, Size: 20003880960, Offset: 77824 /build/buildd/qemu-kvm-1.2.0+noroms/nbd.c:nbd_trip():L836: requested operation past EOF--bad client? /build/buildd/qemu-kvm-1.2.0+noroms/nbd.c:nbd_receive_request():L516: read failed So I peppered some fprintfs in laun...
2023 Mar 24
1
[PATCH 1/1] nbd/server: push pending frames after sending reply
...phal <fw at strlen.de> > --- > nbd/server.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/nbd/server.c b/nbd/server.c > index a4750e41880a..848836d41405 100644 > --- a/nbd/server.c > +++ b/nbd/server.c > @@ -2667,6 +2667,8 @@ static coroutine_fn void nbd_trip(void *opaque) > goto disconnect; > } > > + qio_channel_set_cork(client->ioc, true); > + > if (ret < 0) { > /* It wasn't -EIO, so, according to nbd_co_receive_request() > * semantics, we should return the error to the clien...
2013 Apr 09
2
[Qemu-devel] debugging qemu-nbd.c
On Tue, Apr 09, 2013 at 10:18:50AM -0400, Skippy VonDrake wrote: > Hello, > > Apologies upfront if posting to this list is inappropriate. > > I have an app that forks a process with calls qemu-nbd with an offset > into an image. > The app then uses libguestfs to attach the nbd device. > But it appears that qemu is failing. When you say "qemu is failing", do you
2019 Mar 23
4
nbdkit & qemu 2.12: qemu-img: Protocol error: simple reply when structured reply chunk was expected
nbdkit (upstream 5a7a394c699) currently fails with qemu 2.12.0: $ ./nbdkit memory size=64M --run 'qemu-img convert $nbd /var/tmp/out' nbdkit: memory.2: error: invalid request: unknown command (7) ignored qemu-img: Protocol error: simple reply when structured reply chunk was expected This was a bug in qemu which was fixed upstream quite a long time ago by the commit I've