[Libguestfs] Fwd: [Qemu-devel] debugging qemu-nbd.c

Richard W.M. Jones rjones at redhat.com
Tue Apr 9 16:36:24 UTC 2013


On Tue, Apr 09, 2013 at 11:41:15AM -0400, Skippy VonDrake wrote:
> libguestfs: qemu version 1.4
> libguestfs: command: run:
> /home/skippy/Downloads/qemu/latest-build/install_dir/bin/qemu-system-x86_64
> libguestfs: command: run: \ -nographic
> libguestfs: command: run: \ -machine accel=kvm:tcg
> libguestfs: command: run: \ -device ?
> libguestfs: [00025ms] finished testing qemu features
> libguestfs: [00025ms] r from fork: 13658 \n
>  \ libguestfs: error: appliance closed the connection unexpectedly,
> see earlier error messages

Either some output is missing, or something very strange is happening
in the appliance back end.  Would advise adding lots more debugging to
the code that starts at this comment:

  if (r == 0) {                 /* Child (qemu). */

I don't think the error has anything to do with qemu-nbd.  It doesn't
even get to the point where libguestfs prints the qemu command line.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list