[Let's keep this on the mailing list]
On Thu, Jul 31, 2014 at 02:48:25PM -0700, Zetan Drableg wrote:
 Hi Richard,
 I created qemu-wrapper:
 #!/bin/bash -x
 
 exec gdbserver :1234 /usr/libexec/qemu-kvm "$@" 
gdbserver will end up debugging the qemu process, not the guest
inside.  This is not useful.
You need to do something like:
  exec /usr/libexec/qemu-kvm -s -S "$@"
Rich.
-- 
Richard Jones, Virtualization Group, Red Hat 
http://people.redhat.com/~rjones
Read my programming and virtualization blog: 
http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v