changing cpu/memory allocation in virt-manager does not work
Bug #201877 reported by
Jamie Strandboge
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
virt-manager (Fedora) |
Fix Released
|
Low
|
|||
virt-manager (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If I attempt to change the cpu or memory allocation on an existing virtual machine, and press 'Apply', nothing happens. I checked the .xml file in /etc/libvirt/qemu and it is not updated. Using virsh dumpxml/define process works fine however.
This is on an amd64 dual-core up to date hardy host.
description: | updated |
description: | updated |
Changed in virt-manager: | |
status: | Unknown → Confirmed |
Changed in virt-manager: | |
status: | Confirmed → Fix Released |
Changed in virt-manager (Fedora): | |
importance: | Unknown → Low |
To post a comment you must log in.
for some reason, neither virt-manager nor virsh will allow you to change the
number of cpus or memory allocated to kvm guests.
virt-manager:
You can pull up the details page, make changes and hit 'apply'. Nothing happens.
If you close the details window and re-open it all values are back to their old
settings.
virsh:
virsh # setvcpus fedora8-x86_64 4 Vcpus
libvir: error : this function is not supported by the hypervisor:
virDomainGetMax
virsh # setmaxmem fedora8-x86_64 1024000 Memory
libvir: error : this function is not supported by the hypervisor:
virDomainSetMax
error: Unable to change MaxMemorySize
While kvm doesn't support changing these on a running guest, it should allow you
to do so on a inactive guest. (At least I think thats the case, it would be
lovely to change them on the fly too if possible).
Manually editing the guests xml file and restarting libvirt gets the new values
working fine.