Bug 767908 - 'info mem' doesn't show anything after linux guest booted
Summary: 'info mem' doesn't show anything after linux guest booted
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.3
Hardware: x86_64
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Paolo Bonzini
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-15 08:29 UTC by FuXiangChun
Modified: 2013-01-10 00:37 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-13 15:14:50 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description FuXiangChun 2011-12-15 08:29:52 UTC
Description of problem:
but 'info mem' can show memory info during booting. for windows guest, it work well. this is a testing senario.

host    guest       during boot      after booting
6.3     6.2         can show info    cann't show
6.3     5.7         can show info    cann't show
6.3     win2008r2   can show info    can show info
6.3     win2003-64  can show info    can show info

Version-Release number of selected component (if applicable):
rpm -qa|grep qemu
qemu-kvm-0.12.1.2-2.210.el6

How reproducible:
always

Steps to Reproduce:
1./usr/libexec/qemu-kvm -M rhel6.2.0 -m 4096 -smp 4,cores=2,threads=1,sockets=2 -cpu cpu64-rhel6,+sse2,+x2apic -name rhel6.2-64 -chardev socket,id=serial_20111215,path=/tmp/serial,server,nowait -device isa-serial,chardev=serial_20111215 -drive file=/home/rhel6.2-64.qcow2,index=0,if=none,id=drive-ide-disk1,media=disk,cache=none,format=qcow2,aio=native -device ide-drive,drive=drive-ide-disk1,id=ide-disk1 -device rtl8139,netdev=idbEmLYK,mac=9a:3c:3a:f0:b4:1a,id=ndev00idbEmLYK,bus=pci.0,addr=0x3 -netdev tap,id=idbEmLYK,vhost=on -rtc base=utc,clock=host,driftfix=slew -boot order=cdn,once=d,menu=on -no-kvm-pit-reinjection -usb -device usb-tablet -enable-kvm -chardev socket,id=qmp_monitor_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1,server,nowait -mon chardev=qmp_monitor_id_qmpmonitor1,mode=control -spice port=5911,disable-ticketing -vga qxl -monitor stdio

2.during booting
(qemu) info mem
88000000-88001000 00001000 -rw
88002000-88003000 00001000 urw
88004000-88005000 00001000 urw
88006000-88007000 00001000 urw
88008000-88009000 00001000 urw
c9400000-c9408000 00008000 -rw
          .
          .
          .
3.after booted
(qemu) info mem
  
Actual results:
cann't show anything

Expected results:
show memory info

Additional info:

Comment 1 Paolo Bonzini 2011-12-15 09:32:09 UTC
I cannot reproduce this with neither a Fedora 16 guest, nor a RHEL6.1 guest.

Comment 2 FuXiangChun 2011-12-16 02:23:40 UTC
(In reply to comment #1)
> I cannot reproduce this with neither a Fedora 16 guest, nor a RHEL6.1 guest.

I tested RHEL6.1 guest, after guest booting, if doesn't do anything in guest. 'info mem' still cann't show anything.  if try to run dd command in guest, info mem sometimes works.

Comment 3 Paolo Bonzini 2012-03-13 15:14:50 UTC
"info mem" is not exposed to libvirt, closing.


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