Bug 581021

Summary: virsh dommemstat doesn't work under QMP
Product: [Fedora] Fedora Reporter: Luiz Capitulino <lcapitulino>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: berrange, clalance, crobinso, itamar, jforbes, veillard, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-21 13:39:40 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:

Description Luiz Capitulino 2010-04-09 15:39:16 EDT
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 13:39:40 EDT
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.