9 Star 9 Fork 13

openEuler / vmtop

 / 详情

vmtop编译完成之后无法监控到qemu/kvm虚拟机的运行状态

Done
Bug
Opened this issue  
2022-02-23 17:29

【标题描述】x86架构下 openeuler21.09系统中使用 vmtop master分支,无法监控到qemu/kvm虚拟机的运行状态
【环境信息】
硬件信息:
1) x86架构 Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
软件信息:
1) openEuler-21.09
2) kernel : 5.10.0-5.10.0.24.oe1.x86_64
3) vmtop-1.1
如果有特殊组网,请提供网络拓扑图
【问题复现步骤】

  1. 从 gitee 上面克隆 vmtop 的源码编译完成(尝试过 https://gitee.com/openeuler/vmtop.githttps://gitee.com/src-openeuler/vmtop.git 两个仓库,一个源码直接make 编译,另外一个制作成rpm包,均遇到同样的问题);
  2. 使用 qemu/kvm 运行一台虚拟机
    qemu-system-x86_64 -m 4G --enable-kvm -hda win7_x64.qcow2
  3. 运行vmtop 查看虚拟机的状态信息,但是无法监控到虚拟机相关状态

ps -ef|grep qemu
root        3678    3677  5 17:09 pts/0    00:00:59 qemu-system-x86_64 -m 4G --enable-kvm -hda win7_x64.qcow2 -net nic -net tap,ifname=tap0,script=./qemu-ifup-bridge,downscript=./qemu-ifdown-bridge
root        8455    3784  0 17:28 pts/2    00:00:00 grep --color=auto qemu


vmtop - 2022-02-23 17:28:22 - 1.1
Domains: 0 running

  DID  VM/task-name     PID    %CPU    EXTsum   EXTeptv    EXTpau    S    P     %ST    %GUE    %HYP

出现概率
必现
【预期结果】
能够使用 vmtop 监控虚拟机的运行状态

Comments (4)

Hi kylin-qiaojijun, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Virt, and any of the maintainers: @imxcc , @zhanghailiang , @Bin Wu , @frankyj915 , @alexchen , @Chuan , @朱科潜 , @ZhiGang

qiaojijun created缺陷
openeuler-ci-bot added
 
sig/Virt
label
Expand operation logs

目前vmtop 还是只支持aarch64 架构么?

vmtop aarch64和x86_64架构都支持的,vmtop只能监控通过libvirt管理的虚拟机,直接通过qemu-system-x86_64命令行起的虚拟机目前不支持

如果有其它问题,欢迎重新提交issue,此issue先关闭。

yezengruan changed issue state from 待办的 to 已确认
yezengruan changed issue state from 已确认 to 已完成

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
参与者(3)
5329419 openeuler ci bot 1632792936
C
1
https://gitee.com/openeuler/vmtop.git
git@gitee.com:openeuler/vmtop.git
openeuler
vmtop
vmtop

Search

113223 674803ea 1850385 170725 2838fb2a 1850385