Bug 1140960
Summary: | present memballoon statistic period in live xml | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Jincheng Miao <jmiao> |
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | CC: | dyuan, eskultet, honzhang, lcheng, mzhan, rbalakri |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-1.2.13-1.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-11-19 05:46:49 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: |
Description
Jincheng Miao
2014-09-12 06:34:02 UTC
Fixed upstream: commit e3a7b8740fb4be15d9ba4f49f65bb9ee743730a0 Author: Erik Skultety <eskultet> Date: Thu Oct 2 14:48:02 2014 +0200 qemu: Fix updating balloon period in live XML Up until now, we set memballoon period in monitor successfully, however we did not update domain definition structure, thus dumpxml was omitting period attribute in memballoon element v1.2.9-12-ge3a7b87 Verify the issue as follows. The result is expected. Move to VERIFIED. [root@localhost ~]# rpm -q libvirt libvirt-1.2.14-1.el7.x86_64 [root@localhost ~]# virsh start 7 Domain 7 started [root@localhost ~]# virsh dumpxml 7 | grep -1 memballoon </video> <memballoon model='virtio'> <alias name='balloon0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </memballoon> </devices> [root@localhost ~]# virsh dommemstat 7 actual 1048576 rss 319908 [root@localhost ~]# virsh dommemstat 7 --period 2 [root@localhost ~]# virsh dommemstat 7 actual 1048576 swap_in 0 swap_out 0 major_fault 567 minor_fault 2881200 unused 805660 available 1017212 rss 319908 [root@localhost ~]# virsh dumpxml 7 | grep memballoon -A10 <memballoon model='virtio'> <stats period='2'/> <alias name='balloon0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </memballoon> </devices> ... [root@localhost ~]# virsh dommemstat 7 --period 0 [root@localhost ~]# virsh dumpxml 7 | grep memballoon -A10 <memballoon model='virtio'> <alias name='balloon0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </memballoon> </devices> ... [root@localhost ~]# virsh dommemstat 7 actual 1048576 swap_in 0 swap_out 0 major_fault 567 minor_fault 2888956 unused 805660 available 1017212 rss 319908 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2202.html |