Anyone fancy trying to reproduce a qemu-system-ppc64 bug?
Richard W.M. Jones
rjones at redhat.com
Mon Jun 11 22:07:23 UTC 2012
On Mon, Jun 11, 2012 at 11:02:25PM +0100, Richard W.M. Jones wrote:
> Actually what is happening is that you're attaching gdb to the guest
> (not to qemu itself), and you can find out things about the guest such
> as stack traces through the kernel. That could be useful, so I'm
> going to try it too.
I should note that gdb support only works if the host and guest are
the same, so this will only work on ppc64 host (unless you have some
sort of cross-built gdb).
> You can also edit the appliance/root init script. appliance/root is
> an ext2 image, so you can loop-back mount it (or use libguestfs) to
> edit that script so it runs whatever you want.
The script is called /init within the root image, in case that was not
clear.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/
More information about the ppc
mailing list