default libvirt injection part to -2

(cherry picked from commit 7a8b83481339c62ddfa9d387f271181e4a15cc95)