Download and install a custom version of libvirt/virsh
CUSTOM_ROOT=/home/ajaisingh/n4/nested-vm/
mkdir -p $CUSTOM_ROOT/src
wget https://libvirt.org/sources/libvirt-4.0.0.tar.xz
# Compiling a new version of libvirt (v4.0.0), requires libnl-devel, libnl-route, libyajl-devel, libdevmapper-devel
sudo apt-get install libnl-route-3-dev