This is no longer needed. It was here for testing purposes, but it was actually a bug in libvirt which has been resolved.