Bug 581021 - virsh dommemstat doesn't work under QMP
Summary: virsh dommemstat doesn't work under QMP
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-09 19:39 UTC by Luiz Capitulino
Modified: 2010-05-21 17:39 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-05-21 17:39:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Luiz Capitulino 2010-04-09 19:39:16 UTC
Description of problem:

virsh command dommemstat shows nothing when libvirt is configured to work under QMP.


Version-Release number of selected component (if applicable):
I've tested directly against the repository (HEAD cddd3ac8b0503c55fa938fc5d4ff5a3ed4599ca9)


How reproducible:


Steps to Reproduce:
1. virsh staging dommemstat

  
Actual results:
Nothing is printed


Expected results:
I believe it should be print the memory stats, but what really caught my attention is that it's sending user Monitor commands to the QMP Server (so it gets an error).

Additional info:

Comment 1 Cole Robinson 2010-05-21 17:39:40 UTC
Fixed upstream:

http://libvirt.org/git/?p=libvirt.git;a=commit;h=4f81919ad256f5c3f17ff3c93fb96a0bd8032948

Not relevant for a fedora release, rawhide will get this fix when we rebase, so just closing as UPSTREAM.


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