9 Star 11 Fork 17

openEuler / vmtop

 / 详情

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

已完成
缺陷
创建于  
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 监控虚拟机的运行状态

评论 (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 创建了缺陷
openeuler-ci-bot 添加了
 
sig/Virt
标签
展开全部操作日志

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

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

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

yezengruan 任务状态待办的 修改为已确认
yezengruan 任务状态已确认 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936
C
1
https://gitee.com/openeuler/vmtop.git
git@gitee.com:openeuler/vmtop.git
openeuler
vmtop
vmtop

搜索帮助