VMware {code} Community
flaviupop
Contributor
Contributor

VixVM_WriteVariable() issue: confusing info displayed in VMware Player GUI

I'm using  VixVM_WriteVariable() function in order to change the "memsize" of an encrypted vm.

Based on the Vix API (version 1.11) documentation advice, I make use of the flag VIX_VM_CONFIG_RUNTIME_ONLY.

The consequence is that the VMware Player GUI displays the updated value for the memory but the Guest OS (Win 2003 Server) still reports the default amount of memory (the one configured in the .vmx file).

Is this a misleading behavior of the VMware Player?

Regards,

Flaviu

Reply
0 Kudos
1 Reply
lemke
VMware Employee
VMware Employee

Perhaps it would be better said to be a confusing part of VIX.  Many of the variables you can modify don't actually affect the VM (eg power state), and this is one of them.  Player is also probably buggy in reporting the new value.

VIX doesn't have an API for reconfiguring a powered-on VM.