[libvirt] [PATCH 2/3] tests: Use WHEN_BOTH in qemuxml2xml whenever possible