[libvirt] save-image-edit fails to change the memory configuration of the image

Hi, I see the below error when i change the memory. virsh save-image-edit /MANAS/rhel7VM1-running-save2 --running error: unsupported configuration: Target domain max memory 4194304 does not match source 2097152 Failed. Try again? [y,n,f,?]: n error: unsupported configuration: Target domain max memory 4194304 does not match source 2097152 Any idea why is this disallowed ? Thanks, Shiva

On Mon, Dec 09, 2013 at 12:43:28 +0530, Shivaprasad bhat wrote:
Hi,
I see the below error when i change the memory.
virsh save-image-edit /MANAS/rhel7VM1-running-save2 --running error: unsupported configuration: Target domain max memory 4194304 does not match source 2097152 Failed. Try again? [y,n,f,?]: n error: unsupported configuration: Target domain max memory 4194304 does not match source 2097152
Any idea why is this disallowed ?
You can only change parameters that don't change guest ABI. Changing maximum memory changes this ABI (it changes what hardware the guest OS sees). Not to mention that you can't increase max memory for a running domain anyway as memory hotplug is not implemented yet. Jirka

Thanks Jirka. Regards, Shiva On Mon, Dec 9, 2013 at 5:23 PM, Jiri Denemark <jdenemar@redhat.com> wrote:
On Mon, Dec 09, 2013 at 12:43:28 +0530, Shivaprasad bhat wrote:
Hi,
I see the below error when i change the memory.
virsh save-image-edit /MANAS/rhel7VM1-running-save2 --running error: unsupported configuration: Target domain max memory 4194304 does not match source 2097152 Failed. Try again? [y,n,f,?]: n error: unsupported configuration: Target domain max memory 4194304 does not match source 2097152
Any idea why is this disallowed ?
You can only change parameters that don't change guest ABI. Changing maximum memory changes this ABI (it changes what hardware the guest OS sees). Not to mention that you can't increase max memory for a running domain anyway as memory hotplug is not implemented yet.
Jirka
participants (2)
-
Jiri Denemark
-
Shivaprasad bhat