API for building application sandboxes using libvirt