Skip to content

libmicrovmi: vCPU count in the C API #314

Open

Description

@Wenzel

Parent

#312

What to build

C callers can ask a Driver for the guest's vCPU count, as Rust callers already can. Needed by LibVMI's vmi_get_num_vcpus.

Acceptance criteria

  • New C export returns the vCPU count, with the same error convention as the other C exports
  • Generated C header exposes it
  • A C example prints the count; it shows the configured count on a VirtualBox guest over both access methods

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