Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VMIInitData not exported #63

Closed
logankonopatzke opened this issue Aug 5, 2020 · 5 comments
Closed

VMIInitData not exported #63

logankonopatzke opened this issue Aug 5, 2020 · 5 comments

Comments

@logankonopatzke
Copy link

Attempting to run the kvmi_demos branch, I get the following error:
Traceback (most recent call last): File "/usr/local/bin/vmidbg", line 5, in <module> from vmidbg.__main__ import main File "/usr/local/lib/python3.6/dist-packages/vmidbg/__main__.py", line 22, in <module> from vmidbg.libvmistub import LibVMIStub File "/usr/local/lib/python3.6/dist-packages/vmidbg/libvmistub.py", line 8, in <module> from libvmi import Libvmi, INIT_DOMAINNAME, INIT_EVENTS, VMIOS, LibvmiError, X86Reg, VMIInitData ImportError: cannot import name 'VMIInitData'

I'm using KVM with the KVM-VMI support and the latest version of LibVMI.

@Wenzel
Copy link
Member

Wenzel commented Aug 5, 2020

Hi,

the kvmi_demos is still opened in this PR: #59
it only contains the demos of my presentation at hack.lu 2019, and not the rest of the glue to use the new KVM driver of Libvmi.

In the last slide, I indicated that it was still a WIP, and that you needed to switch on specific branches to get KVM support in libvmi/python:
image

However this init_data branch is bit old too.

I have been focused on getting the maximum of this work upstream,
and now that libvmi/libvmi#844 has been merged in Libvmi (last week),
I will update the bindings soon, and check that vmidbg loads properly.

Thank you very much for reporting this issue.

@Wenzel
Copy link
Member

Wenzel commented Aug 6, 2020

@logankonopatzke you should be able to use this branch: #44

@Wenzel
Copy link
Member

Wenzel commented Aug 7, 2020

solved by #44

@logankonopatzke
Copy link
Author

Working as expected on my end, thank you for all your hard work!

@Wenzel
Copy link
Member

Wenzel commented Aug 7, 2020

@logankonopatzke thanks for your feedback, I'm really happy to hear this 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants