Thanks a lot Itamar.
Everything became clear.
Unfortunately,  We are still using ovirt 3.0, for which I think ovirt-shell is not available.
So, I will make a small java program.

Best RGDS



2013/1/5 Itamar Heim <iheim@redhat.com>
On 01/04/2013 07:04 PM, Hideo Goto wrote:
Thaks a lot for your suggestion.

in fact I found the <type>parameter which specifies server/desktop,
checking the output of VMs' parameters by REST (/api/vms).
Is it this very "type" paramter to change?

yes.



Best RGDS
Hideo GOTO

P.S.
I would be happy if you could recomend me any  tool, if existing,
which might make it easy to update parameters by REST.

ovirt-shell is a cli tool which should let you update such a parameter with a one liner command.
you can also use the python or java sdk's for any heavier scripting.



2013/1/4 Itamar Heim <iheim@redhat.com>:
On 01/03/2013 05:32 PM, Hideo Goto wrote:

First of all, a Happy new year to every subscriber of the list.

My first concern of the year about ovirt:

Is it possible to change the type of an existing VM from desktop to
server by any possible means?
In my case, the VM was imported from KVM to Ovirt 3.0 environment
using virt-v2v. I have just found out that the VM was recognized as
desktop while expected as server .

Thanks in advance for any advise.


I'm pretty sure the REST API/SDK/CLI would allow this as updating this field
of the VM.
michael?