Failed to find a suitable xenctrl.so! --found KVM LibVMI Version 0.11.0 LibVMI Driver Mode 1 --completed driver init. --got id from name (ubuntu32 --> 5) **set image_type = ubuntu32 --libvirt version 1002016 --qmp: virsh -c qemu:///system qemu-monitor-command ubuntu32 '{"execute": "query-version"}' --Checking QEMU version string... --SUCCESS --qmp: virsh -c qemu:///system qemu-monitor-command ubuntu32 '{"execute": "pmemaccess", "arguments": {"path": "/tmp/vmiPngWDw"}}' --kvm: didn't find patch, falling back to slower native access **set allocated_ram_size = 40000000, max_physical_address = 0x40000000 --qmp: virsh -c qemu:///system qemu-monitor-command ubuntu32 '{"execute": "human-monitor-command", "arguments": {"command-line": "info registers"}}' --qmp: virsh -c qemu:///system qemu-monitor-command ubuntu32 '{"execute": "human-monitor-command", "arguments": {"command-line": "info registers"}}' **set pae = 1 **set pse = 1 --qmp: virsh -c qemu:///system qemu-monitor-command ubuntu32 '{"execute": "human-monitor-command", "arguments": {"command-line": "info registers"}}' **set lme = 0 --qmp: virsh -c qemu:///system qemu-monitor-command ubuntu32 '{"execute": "human-monitor-command", "arguments": {"command-line": "info registers"}}' **PAE paging **sanity checking cr3 = 0x0000000033ba1280 --looking for config file at /home/cyber/libvmi/libvmi-kvm_cache_flush/examples/libvmi.conf --looking for config file at /home/cyber/etc/libvmi.conf --looking for config file at /home/cyber/etc/libvmi.conf --looking for config file at /etc/libvmi.conf **Using config file at /etc/libvmi.conf **set os_type to Linux. --qmp: virsh -c qemu:///system qemu-monitor-command ubuntu32 '{"execute": "human-monitor-command", "arguments": {"command-line": "info registers"}}' --PAE PTLookup: lookup vaddr = 0x00000000c1a7ca80 dtb = 0x0000000033ba1280 --MEMORY cache set 0x33ba1000 --qmp: virsh -c qemu:///system qemu-monitor-command ubuntu32 '{"execute": "human-monitor-command", "arguments": {"command-line": "xp /1024wx 0x33ba1000"}}' --PAE PTLookup: pdpi_entry = 0x0000000033ba1298, pdpi_value = 0x0000000001c35001 --PAE PTLookup: pdpe = 0x1c35001 --MEMORY cache set 0x1c35000 --qmp: virsh -c qemu:///system qemu-monitor-command ubuntu32 '{"execute": "human-monitor-command", "arguments": {"command-line": "xp /1024wx 0x1c35000"}}' --PAE PTLookup: pgd_entry = 0x01c35068, pgd_value = 0x36592063 --PAE PTLookup: pte_entry = 0x365923e0 --MEMORY cache set 0x36592000 --qmp: virsh -c qemu:///system qemu-monitor-command ubuntu32 '{"execute": "human-monitor-command", "arguments": {"command-line": "xp /1024wx 0x36592000"}}' --PAE PTLookup: pte_entry = 0x365923e0, pte_value = 0x8000000001a7c163 --PAE PTLookup: paddr = 0x0000000001a7ca80 --V2P cache set 0x00000000c1a7ca80 -- 0x0000000001a7ca80 --MEMORY cache set 0x1a7c000 --qmp: virsh -c qemu:///system qemu-monitor-command ubuntu32 '{"execute": "human-monitor-command", "arguments": {"command-line": "xp /1024wx 0x1a7c000"}}' **set vmi->kpgd (0x0000000033ba1280). Process listing for VM ubuntu32 (id=5) --SYM cache set init_task -- 0x00000000c1a7ca80 --qmp: virsh -c qemu:///system qemu-monitor-command ubuntu32 '{"execute": "human-monitor-command", "arguments": {"command-line": "info registers"}}' After esp c1a75f70 0 --qmp: virsh -c qemu:///system qemu-monitor-command ubuntu32 '{"execute": "human-monitor-command", "arguments": {"command-line": "info registers"}}' After eip c10588f5 0 --qmp: virsh -c qemu:///system qemu-monitor-command ubuntu32 '{"execute": "human-monitor-command", "arguments": {"command-line": "info registers"}}' After cr3 33ba1280 0 --PAE PTLookup: lookup vaddr = 0x00000000c1a7cd18 dtb = 0x0000000033ba1280 --MEMORY cache hit 0x33ba1000 --PAE PTLookup: pdpi_entry = 0x0000000033ba1298, pdpi_value = 0x0000000001c35001 --PAE PTLookup: pdpe = 0x1c35001 --MEMORY cache hit 0x1c35000 --PAE PTLookup: pgd_entry = 0x01c35068, pgd_value = 0x36592063 --PAE PTLookup: pte_entry = 0x365923e0 --MEMORY cache hit 0x36592000 --PAE PTLookup: pte_entry = 0x365923e0, pte_value = 0x8000000001a7c163 --PAE PTLookup: paddr = 0x0000000001a7cd18 --V2P cache set 0x00000000c1a7cd18 -- 0x0000000001a7cd18 --MEMORY cache hit 0x1a7c000 --PAE PTLookup: lookup vaddr = 0x00000000c1a7cd1c dtb = 0x0000000033ba1280 --MEMORY cache hit 0x33ba1000 --PAE PTLookup: pdpi_entry = 0x0000000033ba1298, pdpi_value = 0x0000000001c35001 --PAE PTLookup: pdpe = 0x1c35001 --MEMORY cache hit 0x1c35000 --PAE PTLookup: pgd_entry = 0x01c35068, pgd_value = 0x36592063 --PAE PTLookup: pte_entry = 0x365923e0 --MEMORY cache hit 0x36592000 --PAE PTLookup: pte_entry = 0x365923e0, pte_value = 0x8000000001a7c163 --PAE PTLookup: paddr = 0x0000000001a7cd1c --V2P cache set 0x00000000c1a7cd1c -- 0x0000000001a7cd1c --MEMORY cache hit 0x1a7c000 --PAE PTLookup: lookup vaddr = 0x00000000f2b63620 dtb = 0x0000000033ba1280 --MEMORY cache hit 0x33ba1000 --PAE PTLookup: pdpi_entry = 0x0000000033ba1298, pdpi_value = 0x0000000001c35001 --PAE PTLookup: pdpe = 0x1c35001 --MEMORY cache hit 0x1c35000 --PAE PTLookup: pgd_entry = 0x01c35ca8, pgd_value = 0x367b0063 --PAE PTLookup: pte_entry = 0x367b0b18 --MEMORY cache set 0x367b0000 --qmp: virsh -c qemu:///system qemu-monitor-command ubuntu32 '{"execute": "human-monitor-command", "arguments": {"command-line": "xp /1024wx 0x367b0000"}}' --PAE PTLookup: pte_entry = 0x367b0b18, pte_value = 0x8000000032b63163 --PAE PTLookup: paddr = 0x0000000032b63620 --V2P cache set 0x00000000f2b63620 -- 0x0000000032b63620 --MEMORY cache set 0x32b63000 --qmp: virsh -c qemu:///system qemu-monitor-command ubuntu32 '{"execute": "human-monitor-command", "arguments": {"command-line": "xp /1024wx 0x32b63000"}}' --PAE PTLookup: lookup vaddr = 0x00000000f3ba1280 dtb = 0x0000000033ba1280 --MEMORY cache hit 0x33ba1000 --PAE PTLookup: pdpi_entry = 0x0000000033ba1298, pdpi_value = 0x0000000001c35001 --PAE PTLookup: pdpe = 0x1c35001 --MEMORY cache hit 0x1c35000 --PAE PTLookup: pgd_entry = 0x01c35ce8, pgd_value = 0x33bdc063 --PAE PTLookup: pte_entry = 0x33bdcd08 --MEMORY cache set 0x33bdc000 --qmp: virsh -c qemu:///system qemu-monitor-command ubuntu32 '{"execute": "human-monitor-command", "arguments": {"command-line": "xp /1024wx 0x33bdc000"}}' --PAE PTLookup: pte_entry = 0x33bdcd08, pte_value = 0x8000000033ba1163 --PAE PTLookup: paddr = 0x0000000033ba1280 --V2P cache set 0x00000000f3ba1280 -- 0x0000000033ba1280 --PAE PTLookup: lookup vaddr = 0x00000000c1a7cd88 dtb = 0x0000000033ba1280 --MEMORY cache hit 0x33ba1000 --PAE PTLookup: pdpi_entry = 0x0000000033ba1298, pdpi_value = 0x0000000001c35001 --PAE PTLookup: pdpe = 0x1c35001 --MEMORY cache hit 0x1c35000 --PAE PTLookup: pgd_entry = 0x01c35068, pgd_value = 0x36592063 --PAE PTLookup: pte_entry = 0x365923e0 --MEMORY cache hit 0x36592000 --PAE PTLookup: pte_entry = 0x365923e0, pte_value = 0x8000000001a7c163 --PAE PTLookup: paddr = 0x0000000001a7cd88 --V2P cache set 0x00000000c1a7cd88 -- 0x0000000001a7cd88 --MEMORY cache hit 0x1a7c000 --PAE PTLookup: lookup vaddr = 0x00000000c1a75f68 dtb = 0x0000000033ba1280 --MEMORY cache hit 0x33ba1000 --PAE PTLookup: pdpi_entry = 0x0000000033ba1298, pdpi_value = 0x0000000001c35001 --PAE PTLookup: pdpe = 0x1c35001 --MEMORY cache hit 0x1c35000 --PAE PTLookup: pgd_entry = 0x01c35068, pgd_value = 0x36592063 --PAE PTLookup: pte_entry = 0x365923a8 --MEMORY cache hit 0x36592000 --PAE PTLookup: pte_entry = 0x365923a8, pte_value = 0x8000000001a75163 --PAE PTLookup: paddr = 0x0000000001a75f68 --V2P cache set 0x00000000c1a75f68 -- 0x0000000001a75f68 --MEMORY cache set 0x1a75000 --qmp: virsh -c qemu:///system qemu-monitor-command ubuntu32 '{"execute": "human-monitor-command", "arguments": {"command-line": "xp /1024wx 0x1a75000"}}' Reading the value: 18853 with result 0 --V2P cache hit 0x00000000c1a75f68 -- 0x0000000001a75f68 --MEMORY cache hit 0x1a75000 --CACHE page alignment 0x1a75000 Value that was written 18854 with result 0 --V2P cache hit 0x00000000c1a75f68 -- 0x0000000001a75f68 --MEMORY cache set 0x1a75000 --qmp: virsh -c qemu:///system qemu-monitor-command ubuntu32 '{"execute": "human-monitor-command", "arguments": {"command-line": "xp /1024wx 0x1a75000"}}' --MEMORY cache hit 0x1a75000 Read the value again: 18853 with result 0