[notepad] vmbuilder command

Posted on Tue 13 August 2013 in Linux • Tagged with kvm, libvirt, notepad, xen, vms • 1 min read

vmbuilder kvm ubuntu -a amd64 --suite=precise --cpu=2 --libvirt qemu:///system \
   --mem=2048 --user=root --pass=random --hostname=testsystem --dest=/tmp/test \
   --raw=/dev/vgdata1/test_root --rootsize=16384 --swapsize=2048  --addpkg=openssh-server \
   --bridge=virbr0 --ip= --mask= --gw= …

Continue reading

Building qemu & libvirt from scratch...

Posted on Tue 04 December 2012 in Linux • Tagged with KVM, libvirt, Linux, Notepad • 2 min read


git clone git://git.qemu.org/qemu.git
git clone git://github.com/sahlberg/libiscsi.git
http://libvirt.org/sources/libvirt-1.0.0.tar.gz (4/12/12)
aptitude install libvdeplug2 libvdeplug2-dev libaio1 libaio-dev libcap-dev libattr1-dev libsdl-dev libxml2-dev



make && make install


./configure --enable-kvm …

Continue reading

libvirt - QEMU Monitor Protocol (QMP)

Posted on Fri 20 May 2011 in Linux • Tagged with KVM, Linux, libvirt, notepad • 1 min read

Because libvirt self is using the qemu monitor to mange the guests, it is not available for the user. Since version 0.8.6 [1] its possbile to send a command throught libvirt to the monitor.

virsh qemu-monitor-command  

The problem is that you must use the QMP format to send …

Continue reading