Skip to content

libvmi: vCPU count and vCPU-info example #319

Open

Description

@Wenzel

Parent

#312

What to build

vmi_get_num_vcpus returns the real vCPU count from libmicrovmi. A new small example prints the vCPU count, the max physical address and CR3/RIP for each vCPU.

Acceptance criteria

  • On microvmi-ubuntu the example reports 2 vCPUs, non-zero CR3/RIP differing across vCPUs, and the max physical address
  • Works over explicit MachineDebugger and explicit VBoxVMI
  • Built in CI

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentFully specified, ready for an AFK agent

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions