64-bit guest and swapper_pg_dir lookup failure

55 views
Skip to first unread message

Adit

unread,
Feb 22, 2012, 5:33:05 PM2/22/12
to vmitools
Hello,

Does libVMI have support now for 64-bit guests?
If not is that why I am getting the "VMI_ERROR: Failed to lookup
'swapper_pg_dir' address." errors for the examples?

I am running KVM 0.12.1 and libvirt 0.9.4 with Centos 6 HVM guests. I
think if I remember correctly I did not have to specify the offsets
for HVM guests in the config file? If I have to, is there an easy way
to get them?

Thanks,
Adit

This is the debug output from the module-list example:
LibVMI Version 0.6
--found KVM
LibVMI Mode 4
--got id from name (Centos60 --> 5)
**set image_type = Centos60
--libvirt version 9004
--qmp: virsh qemu-monitor-command Centos60 '{"execute": "pmemaccess",
"arguments": {"path": "/tmp/vmiYALXUg"}}'
--kvm: didn't find patch, falling back to slower native access
--completed driver init.
1 |Centos60 {
2 | ostype = "Linux";
3 | sysmap = "/boot/System.map-2.6.32-71.29.1.el6.x86_64";
4 |}
--got sysmap from config (/boot/System.map-2.6.32-71.29.1.el6.x86_64).
--reading in linux offsets from config file.
--got ostype from config (Linux).
**set os_type to Linux.
**set page_offset = 0xc0000000
**set size = -2147483648
--qmp: virsh qemu-monitor-command Centos60 '{"execute": "human-monitor-
command", "arguments": {"command-line": "info registers"}}'
--qmp: virsh qemu-monitor-command Centos60 '{"execute": "human-monitor-
command", "arguments": {"command-line": "info registers"}}'
--qmp: virsh qemu-monitor-command Centos60 '{"execute": "human-monitor-
command", "arguments": {"command-line": "info registers"}}'
**set pae = 1
**set pse = 1
**set cr3 = 0x37f13000
--got memory layout.
VMI_ERROR: Failed to lookup 'swapper_pg_dir' address.
Failed to init LibVMI library.

Bryan D. Payne

unread,
Feb 22, 2012, 6:26:34 PM2/22/12
to vmit...@googlegroups.com
- 64-bit support will be available in the next release. So 0.6 does
not support 64-bit guests.
- This would explain why you're having trouble with the examples.
- You *do* need to specify offsets for HVM guests. For Linux guests,
you can get the offsets easily using the offset finder tool provided
under the tools directory.

-bryan

> --
> You received this message because you are subscribed to the Google Groups "vmitools" group.
> To post to this group, send email to vmit...@googlegroups.com.
> To unsubscribe from this group, send email to vmitools+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/vmitools?hl=en.
>

Nick Bruun

unread,
Mar 6, 2012, 8:39:00 AM3/6/12
to vmit...@googlegroups.com
Is there any schedule on the release of the next version, or is it possible to get access to SVN to test it out?

- Nick

> To unsubscribe from this group, send email to vmitools+unsubscribe@googlegroups.com.

Bryan D. Payne

unread,
Mar 6, 2012, 11:17:41 AM3/6/12
to vmit...@googlegroups.com
The next release should be out sometime in March. If you'd like to be
a beta tester, please email me off list.

Thanks,
-bryan

>> > vmitools+u...@googlegroups.com.


>> > For more options, visit this group at
>> > http://groups.google.com/group/vmitools?hl=en.
>> >
>

> --
> You received this message because you are subscribed to the Google Groups
> "vmitools" group.

> To view this discussion on the web visit
> https://groups.google.com/d/msg/vmitools/-/Yt9yrjuKIeMJ.


>
> To post to this group, send email to vmit...@googlegroups.com.
> To unsubscribe from this group, send email to

> vmitools+u...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages