Replaced virsh() by python-libvirt functions

Signed-off-by: Rene Diepstraten <rene@renediepstraten.nl>
Updating build_asf from the 4.1 branch, where I fixed a couple of things