Zentific / vmidbg

PoC LibVMI-based GDB server for virtual machines
Other
53 stars 16 forks source link

libvirt: QEMU Driver error #7

Closed tawan58 closed 6 years ago

tawan58 commented 6 years ago

I meet this error when I install your vmidbg and libvmi (https://github.com/libvmi/libvmi) I'm not understand this error. Can you tell me?

root@ubuntu:/home/ubuntu/Downloads/libvmi-master/examples# ./process-list dom2 libvirt: QEMU Driver error : Domain not found: no domain with matching name 'dom2' Process listing for VM dom2 (id=2) [ 0] swapper/0 (struct addr:ffffffff81e13500) [ 1] systemd (struct addr:ffff88003b240000) [ 2] kthreadd (struct addr:ffff88003b240d00) [ 3] ksoftirqd/0 (struct addr:ffff88003b241a00) [ 4] kworker/0:0 (struct addr:ffff88003b242700) [ 5] kworker/0:0H (struct addr:ffff88003b243400) [ 6] kworker/u256:0 (struct addr:ffff88003b244100) [ 7] rcu_sched (struct addr:ffff88003b244e00) [ 8] rcu_bh (struct addr:ffff88003b245b00) [ 9] migration/0 (struct addr:ffff88003b246800) [ 10] watchdog/0 (struct addr:ffff88003b298000) [ 11] kdevtmpfs (struct addr:ffff88003ad71a00) [ 12] netns (struct addr:ffff88003ad72700) [ 13] perf (struct addr:ffff88003ad73400) [ 14] xenwatch (struct addr:ffff88003ad74100) [ 15] xenbus (struct addr:ffff88003ad74e00) [ 16] kworker/0:1 (struct addr:ffff88003ad75b00) [ 17] khungtaskd (struct addr:ffff88003ad76800) [ 18] writeback (struct addr:ffff88003a828000) [ 19] ksmd (struct addr:ffff88003a828d00) [ 20] khugepaged (struct addr:ffff88003a829a00) [ 21] crypto (struct addr:ffff88003a82a700) [ 22] kintegrityd (struct addr:ffff88003a82b400) [ 23] bioset (struct addr:ffff88003a82c100) [ 24] kblockd (struct addr:ffff88003a82ce00) [ 25] ata_sff (struct addr:ffff88003a82db00) [ 26] md (struct addr:ffff88003a82e800) [ 27] devfreq_wq (struct addr:ffff88003a9d0000) [ 28] kworker/u256:1 (struct addr:ffff88003a9d0d00) [ 29] kswapd0 (struct addr:ffff88003a9d1a00) [ 30] vmstat (struct addr:ffff88003a9d2700) [ 31] fsnotify_mark (struct addr:ffff88003a9d3400) [ 32] ecryptfs-kthrea (struct addr:ffff88003a9d4100) [ 48] kthrotld (struct addr:ffff8800312da700) [ 49] acpi_thermal_pm (struct addr:ffff8800312db400) [ 50] khvcd (struct addr:ffff8800312d9a00) [ 51] bioset (struct addr:ffff8800312d8d00) [ 52] bioset (struct addr:ffff8800312d8000) [ 53] bioset (struct addr:ffff8800312dc100) [ 54] bioset (struct addr:ffff8800312dce00) [ 55] bioset (struct addr:ffff8800312ddb00) [ 56] bioset (struct addr:ffff8800312de800) [ 57] bioset (struct addr:ffff8800312ae800) [ 58] bioset (struct addr:ffff8800312adb00) [ 59] bioset (struct addr:ffff8800312ace00) [ 60] scsi_eh_0 (struct addr:ffff8800312ac100) [ 61] scsi_tmf_0 (struct addr:ffff8800312ab400) [ 62] scsi_eh_1 (struct addr:ffff8800312aa700) [ 63] scsi_tmf_1 (struct addr:ffff8800312a9a00) [ 64] kworker/u256:2 (struct addr:ffff8800312a8d00) [ 65] kworker/u256:3 (struct addr:ffff8800312a8000) [ 69] ipv6_addrconf (struct addr:ffff880034c10000) [ 82] deferwq (struct addr:ffff880034c14100) [ 83] charger_manager (struct addr:ffff880034c10d00) [ 84] bioset (struct addr:ffff880034c13400) [ 123] bioset (struct addr:ffff880034dfa700) [ 124] bioset (struct addr:ffff880034dfb400) [ 125] bioset (struct addr:ffff880034dfc100) [ 126] bioset (struct addr:ffff880034dfce00) [ 127] bioset (struct addr:ffff880034dfdb00) [ 128] bioset (struct addr:ffff880034dfe800) [ 129] bioset (struct addr:ffff88003a9d4e00) [ 130] bioset (struct addr:ffff880034c15b00) [ 132] kpsmoused (struct addr:ffff880034c12700) [ 133] kworker/0:2 (struct addr:ffff880034ff0000) [ 134] kworker/0:1H (struct addr:ffff880034ff0d00) [ 135] ttm_swap (struct addr:ffff880034ff1a00) [ 219] raid5wq (struct addr:ffff880035ad1a00) [ 244] kdmflush (struct addr:ffff880035ad3400) [ 245] bioset (struct addr:ffff880035ad4100) [ 253] kdmflush (struct addr:ffff880035ad2700) [ 254] bioset (struct addr:ffff880035ad6800) [ 266] bioset (struct addr:ffff88003a9d5b00) [ 291] jbd2/dm-0-8 (struct addr:ffff880035ad0d00) [ 292] ext4-rsv-conver (struct addr:ffff880034c14e00) [ 338] kworker/0:3 (struct addr:ffff880034ff4100) [ 339] systemd-journal (struct addr:ffff880034ff2700) [ 360] kworker/0:4 (struct addr:ffff880031139a00) [ 372] kauditd (struct addr:ffff880034ff5b00) [ 376] iscsi_eh (struct addr:ffff880034df8d00) [ 386] ib_addr (struct addr:ffff88003a254100) [ 387] ib_mcast (struct addr:ffff88003a251a00) [ 388] ib_nl_sa_wq (struct addr:ffff88003a253400) [ 390] ib_cm (struct addr:ffff88003a250d00) [ 391] iw_cm_wq (struct addr:ffff880034ff4e00) [ 393] lvmetad (struct addr:ffff880034c11a00) [ 394] rdma_cm (struct addr:ffff88003a9d6800) [ 411] systemd-udevd (struct addr:ffff88003113c100) [ 616] kdmflush (struct addr:ffff880037fe5b00) [ 655] bioset (struct addr:ffff88003620db00) [ 656] kcryptd_io (struct addr:ffff880036208000) [ 657] kcryptd (struct addr:ffff880036209a00) [ 658] dmcrypt_write (struct addr:ffff88003620a700) [ 659] bioset (struct addr:ffff88003620b400) [ 704] ext4-rsv-conver (struct addr:ffff880037f63400) [ 743] systemd-timesyn (struct addr:ffff88003620e800) [ 856] lxcfs (struct addr:ffff88003620c100) [ 859] accounts-daemon (struct addr:ffff880037f60d00) [ 862] atd (struct addr:ffff88003a256800) [ 868] cron (struct addr:ffff88003113ce00) [ 870] dbus-daemon (struct addr:ffff880031138d00) [ 917] acpid (struct addr:ffff880037fe0d00) [ 919] systemd-logind (struct addr:ffff880034df9a00) [ 923] rsyslogd (struct addr:ffff880036072700) [ 933] snapd (struct addr:ffff880034a22700) [ 940] polkitd (struct addr:ffff880034a24e00) [ 967] mdadm (struct addr:ffff880036074100) [ 997] dhclient (struct addr:ffff880034a21a00) [ 1083] sshd (struct addr:ffff880035ad5b00) [ 1107] iscsid (struct addr:ffff880034a20d00) [ 1109] iscsid (struct addr:ffff880034df8000) [ 1164] agetty (struct addr:ffff880034c16800) [ 1165] agetty (struct addr:ffff880034a23400) root@ubuntu:/home/ubuntu/Downloads/libvmi-master/examples#


root@ubuntu:/home/ubuntu/Downloads/libvmi-master/examples# ./vmidbg dom2 libvirt: QEMU Driver error : Domain not found: no domain with matching name 'dom2' LibVMI init succeeded! LibVMI register succeeded! GDB connection succeeded!

smaresca commented 6 years ago

Please open as an LibVMI issue, and I will explain in that location for the benefit of others. This is a LibVMI consideration only, not vmidbg.