use libvirt to install a virtual machine