Bug 911998
Summary: | memtune did not live update domain xml | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Wayne Sun <gsun> |
Component: | libvirt | Assignee: | Gunannan Ren <gren> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 7.0 | CC: | acathrow, cwei, dallan, dyuan, honzhang, lsu, mzhan |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-1.0.4-1.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 911997 | Environment: | |
Last Closed: | 2014-06-13 13:22:20 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 911997 | ||
Bug Blocks: |
Description
Wayne Sun
2013-02-17 06:44:44 UTC
commit 0047d5d6e86cf84e71b2503c3939fc97c3ffe8b9 Author: Guannan Ren <gren> Date: Wed Mar 6 00:24:57 2013 +0800 qemu: update domain live xml for virsh memtune with --live flag virsh subcommand memtune forgot updating domain live xml after setting cgroup value. Test on: libvirt-1.0.4-1.el7.x86_64 qemu-kvm-1.4.0-2.el7.x86_64 same with the comment 0's step. Before start the guest #virsh dumpxml libvirt_test_api ..... <soft_limit unit='KiB'>9007199254740991</soft_limit> <swap_hard_limit unit='KiB'>9007199254740991</swap_hard_limit> .... After start the guest #virsh start libvirt_test_api Domain libvirt_test_api started # virsh memtune libvirt_test_api --live hard_limit : 1857024 soft_limit : unlimited swap_hard_limit: unlimited # virsh memtune libvirt_test_api --swap-hard-limit 25417216000 --soft-limit 2541721600 --live # virsh memtune libvirt_test_api --live hard_limit : 1857024 soft_limit : 2541721600 swap_hard_limit: 25417216000 # virsh dumpxml libvirt_test_api ..... <soft_limit unit='KiB'>2541721600</soft_limit> <swap_hard_limit unit='KiB'>25417216000</swap_hard_limit> .... So set it to VERIFIED This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |