RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 696098 - virsh dommemstat does not give the memory statitics of a running domain.
Summary: virsh dommemstat does not give the memory statitics of a running domain.
Keywords:
Status: CLOSED DUPLICATE of bug 626958
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.1
Hardware: x86_64
OS: All
medium
medium
Target Milestone: rc
: ---
Assignee: Amit Shah
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 684953
TreeView+ depends on / blocked
 
Reported: 2011-04-13 09:10 UTC by IBM Bug Proxy
Modified: 2013-09-19 18:55 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-30 10:33:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
IBM Linux Technology Center 71496 0 None None None Never
Red Hat Bugzilla 988448 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 988448

Description IBM Bug Proxy 2011-04-13 09:10:44 UTC
---Problem Description---
virsh dommemstat does not give the memory statitics of a running domain. 
 
---uname output---
Linux mx3650a.in.ibm.com 2.6.32-128.el6.x86_64 #1 SMP Mon Mar 28 21:55:33 EDT 2011 x86_64 x86_64
x86_64 GNU/Linux
 
Machine Type = x3650 
 
---Steps to Reproduce---
 
[root@mx3650a onnm]# virsh --help | grep memory 
    memtune                        Get or set memory parameters
    setmaxmem                      change maximum memory limit
    setmem                         change memory allocation
    dommemstat                     get memory statistics for a domain
    freecell                       NUMA free memory
[root@mx3650a onnm]# virsh list 
 Id Name                 State
----------------------------------
 14 vm00-RHEL48          running
 16 vm00-RHEL48-SMP      running

[root@mx3650a onnm]# virsh dommemstat 16

[root@mx3650a onnm]# virsh dommemstat vm00-RHEL48-SMP

[root@mx3650a onnm]# virsh dommemstat 14

[root@mx3650a onnm]# virsh dommemstat vm00-RHEL48

[root@mx3650a onnm]# 
 
---KVM Component Data--- 
Userspace tool common name: libvirt 
 
The userspace tool has the following bit modes: 32 

Userspace rpm: libvirt-0.8.7-15.el6.x86_64 

Userspace tool obtained from project website:  na 
 

=Comment: #2=================================================

1.Server architecture(s) (please list all effected) (x86/POWER6/Z/etc.):  x86

2.Server type (9117-MMA/HS20/s390/etc.):   x3650

3.General component (desktop/kernel/base OS/dev tools/etc.):  libvirt

4.Other components involved (ixgbe/java/emulex/etc.):  NA

5.Does the server have the latest GA firmware?  yes

6.Has the problem been shown to occur on more than one system?  Yes

7.Is a tested patch available?   no
  If yes to the above, has it been approved upstream? 

8.What is the latest official Red Hat build on which this bug has been
seen? RHEL6.1 snap2


Note : This bug looks similar to https://bugzilla.redhat.com/show_bug.cgi?id=679668. But it does not
say when it will get fixed. We want to understand when it will get fixed.

Comment 1 IBM Bug Proxy 2011-04-13 09:10:52 UTC
------- Comment From pradeepkumars.com 2011-04-13 05:09 EDT-------
systemtap logs are attached to   ftp://testcase.software.ibm.com/

One can access via Anonymous
Dir: /toibm/linux/

File name: systemtap.log-IBM71496

--Pradeep

Comment 3 Jiri Denemark 2011-04-13 11:35:02 UTC
Memory statistics are currently disabled in qemu-kvm; hw/virtio-balloon.c contains the following two lines:

/* Disable guest-provided stats by now (bz#623903, bz#626544) */
#define ENABLE_GUEST_STATS   0

I'm not sure what the complete story behind this is since both BZs are currently marked as closed.

Comment 5 IBM Bug Proxy 2011-04-27 15:27:21 UTC
------- Comment From vahegde1.ibm.com 2011-04-27 10:27 EDT-------
Hi Jiri / Red Hat ,
(In reply to comment #7)
> Memory statistics are currently disabled in qemu-kvm; hw/virtio-balloon.c
> contains the following two lines:
>
> /* Disable guest-provided stats by now (bz#623903, bz#626544) */
> #define ENABLE_GUEST_STATS   0
>
> I'm not sure what the complete story behind this is since both BZs are
> currently marked as closed.

From qemu-kvm mainstream discussion I understand that because of regression issue they have disabled this feature. Any idea when it will be implemented ?

And can we have some meaning full information displayed till this comment implemented ?

something like below :
--> "Currently this feature is not supported."

Thanks
Vasant

Comment 6 IBM Bug Proxy 2011-05-16 08:40:25 UTC
------- Comment From pradeepkumars.com 2011-05-16 04:39 EDT-------
Hello Redhat

ANy updates?

Comment 7 Amit Shah 2011-05-30 10:33:58 UTC
Bug 626958 tracks re-adding virtio balloon stats.  Adam Litke from IBM was pursuing the fixes upstream.  It looks like this won't be ready before the new QAPI is merged upstream.  Marking as duplicate of the other bug.

*** This bug has been marked as a duplicate of bug 626958 ***


Note You need to log in before you can comment on or make changes to this bug.