Hello, all,


I want to update vm os type by ovirt rest api.

The following is my request:
Method: put
Content-Type: application/xml
Body: <vm><os type="windows_7"></os></vm>

The response from ovirt engine is:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<fault>
    <reason>Operation Failed</reason>
    <detail>[Cannot edit VM. Invalid time zone for given OS type.]</detail>
</fault>

Can anybody give a correct body for updating vm os type from "other" to "windows_7"?

Thank you very much.



--
Best regards,
Ao Qingyun