[fedora-virt] qemu user emulation test package, and is GUEST_BASE broken?

Daniel P. Berrange berrange at redhat.com
Thu Apr 9 18:03:58 UTC 2009


On Thu, Apr 09, 2009 at 01:17:07PM -0400, Robert P. J. Day wrote:
> >   - We think virt-manager is a much more useful tool for most people
> >     than qemu-launcher
> 
>   i actually think you're right, i'm using my wiki as a scratchpad and
> will almost certainly rethink things and toss stuff as i realize i'm
> going in the wrong direction.
> 
>   on the other hand, while it's nice to have a graphical front-end for
> things like this to hide the underlying complexity, there have been a
> number of times where i've wanted to see what was going on "under the
> hood," as it were.  particularly when i'm debugging.

FYI, there is a lot of debugging support in libvirt & virt-manager
available to end users.

 - libvirt logs all QEMU command lines in /var/log/libvirt/qemu/$NAME.log
   where $NAME is the name of the guest.

 - virt-manager creates logs of all important things it does in
   $HOME/.virt-manager/virt-manager.log

 - virt-install creates logs in $HOME/.virtinst/virt-install.log

 - With both virt-intsall and virt-manger you can get even more
   debugging, but setting the environment variable

      LIBVIRT_DEBUG=1 

   before starting them http://libvirt.org/logging.html

 - You can debug libvirtd daemon itself, with the log settings
   in /etc/libvirt/libvirtd.conf

 - The virsh tool is quite useful for debugging too. In particular
   if you want to see what is supported on host - kvm vs qemu
   the run virsh capabilities

 - virt-df allows looking at guest disk usage
 - virt-top allows monitoring of guest performance & I/O rates

Since virsh, virt-manager, virt-install, virt-viewer, virt-df & virt-top
are all built ontop of the libvirt library, they will all co-operate
with each other and show the same state / debug information. So you get
the flexibilty of graphical tools like virt-manager, and can still easily
use low level command line tools like virsh / virt-install at the same
time. And of course they all work for Xen too, and OpenVZ, LXC and
coming soon VirtualBox....   qemu-launcher simply doesn't come close

Regards,
Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the Fedora-virt mailing list