[Libvirt-cim] [PATCH V2 42/48] Fix xml generation algorithm in os_xml()