A patch for libvirt object to XML conversion support (including unit test).