Debug: Improve the way the qemu command line is printed.
authorRichard Jones <rjones@trick.home.annexia.org>
Fri, 7 Aug 2009 08:51:04 +0000 (09:51 +0100)
committerRichard Jones <rjones@trick.home.annexia.org>
Fri, 7 Aug 2009 08:51:04 +0000 (09:51 +0100)
commitf0d6be10c2d7bbf49bfa1cdbcb99e356458aa60f
tree3c8f41002488e4b059f7f85243e6ddde16cf55ef
parentb5b87cdb764dc757295316878a7fd6e2ff01bec4
Debug: Improve the way the qemu command line is printed.

Change the way the qemu command is displayed to look like
this:

/usr/bin/qemu-kvm \
    -drive file=/tmp/test.img,cache=off,if=virtio \
    -m 500 \
    -no-reboot \
    -kernel /tmp/libguestfsHBJHRh/kernel \
    -initrd /tmp/libguestfsHBJHRh/initrd \
    [...]

This allows the command line to be copied and pasted directly
into the shell, and also makes it simpler to read.
src/guestfs.c