LibVirt

  • A toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes)

Debug ?

Installation des debugging symbols :

$> sudo apt-get install libvirt0-dbg

Arrêt du daemon :

$> sudo /etc/init.d/libvirt-bin stop

Lancement du daemon en mode “debug” :

$> LIBVIRT_DEBUG=1
$> export LIBVIRT_DEBUG
$> /usr/sbin/libvirtd -v > libvirt.log 2>&1 &
$> tail -f libvirt.log

Attachement du programme GDB :

$> ps -o etime,pid `pgrep libvirt`
    ELAPSED   PID
   01:05:34  8078
$> gdb /usr/sbin/libvirtd
(gdb) attach 8078
(gdb) set logging on
(gdb) thread apply all bt full

Références

USB

Objectif : permettre la détection à chaud de nouveaux périphériques USB au sein de la VM.

Références

 
docs/admin/libvirt.txt · Dernière modification: 2011/04/24 13:59 par drazzib
Recent changes RSS feed Creative Commons License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki DNS by XNAME LaFraise.com :: éditeur de bien jolis Tee-shirts