[libvirt] [PATCH 09/21] Pull signal setup code out into separate method