-
Notifications
You must be signed in to change notification settings - Fork 25
KVM support #23
Comments
@Wenzel, I have analyzed "vagrant-xen-pyvmidbg" repo also, but it didnt help at all. |
Hi @SamRSA , thank you for your interest in pyvmidbg.
As you have seen, the KVM interface or "driver" in Libvmi doesn't support events yet. If you want to know more about the state of VMI in KVM, i can give you an invite to the slack i created: a new series of VMI patches are available for KVM, and the LibVMI KVM driver needs to be rewritten. I hope this helps |
what do you mean by analyzed ? |
Hi @Wenzel
That would be great, should I sent you my email ?
You mean "KVM-VMI" repository ?
I thought, that according to words "vagrant-xen-pyvmidbg provides a Vagrant environment based on KVM, with ready to use Windows and Linux VMs", that repo would help me somehow. |
For the invite, yes, shoot me your email at mathieu.tarral@protonmail.com
Yes
I think i should be more precise in the README. That's what I meant by |
Done. In case nothing comes, I created temporary email: samrsa8[at]scryptmail.com
Ok, seems there is a lot of code inside :) The project consists of four components... :)
Ok, I undestood. |
everything needed to play with VMI on KVM
The project has the master branch (stable) and the kvmi branch (experimental). The stable branches are not maintained anymore, and all of the effort is put on It would be absolutely fantastic if you could join the effort and build a new libvmi driver on KVM. So some code is already there. |
It will take me some time to dig all the code...
Thanks, will use only "kvmi" branch.
Ok. Probably scryptmail.com have some issues(cant receive any email), so I created another samrsa8@protonmail.com |
@Wenzel, I didnt succeed with exploring "KVM-VMI", the environment is too complicated. And to be honest, I was looking for solution based on VirtualBox: https://forums.virtualbox.org/viewtopic.php?f=10&t=92343 |
Hi @SamRSA ,
I am truly sorry to hear that the KVM-VMI repos were too difficult to setup. But nonetheless, your feedback is unvaluable to me, because i'm blinded by my own knowledge.
Yes, Icebox is based on VirtualBox, and you should definitely take a look at them.
I have spent the last few months working on the KVM driver for Libvmi. A Libvmi driver for VirtualBox could be built, but I'm spending my time fixing and improving WIndows 7 support these days. We could look into that in the future. Thanks. |
This is great news! |
@SamRSA closing this issue since KVM support is finally merged upsteam. |
Start vmidbg as:
"python3 -m vmidbg 5000 win10 --address 0.0.0.0 cmd -d"
then
Start radare2 as:
"r2 -d gdb://127.0.0.1:5000 -b 64"
vmidbg outputs:
"INFO:server:listening on 0.0.0.0:5000
DEBUG:server:ready for next client
INFO:server:new client ('127.0.0.1', 54186)
VMI_ERROR: The selected hypervisor has no events support!
..."
The reason is here: https://github.com/libvmi/libvmi/blob/master/libvmi/events.c#L96
So, is it possible to run vmidbg without Xen ?
My progress here: https://github.com/SamRSA/Tools/blob/master/Virtualization/kvm-qemu.sh#L278
The text was updated successfully, but these errors were encountered: