Skip to content

virtualbox: VBoxVMI pause, resume and vCPU count - #305

Merged
Wenzel merged 2 commits into
devfrom
vbox/vboxvmi-pause
Oct 12, 2026
Merged

Wenzel merged 2 commits into
devfrom
vbox/vboxvmi-pause

Conversation

@Wenzel

@Wenzel Wenzel commented Oct 12, 2026

Copy link
Copy Markdown
Owner

Closes #283.

  • VBoxVMI driver implements pause/resume (synchronous, idempotent; VBoxManage shows Paused) and get_vcpu_count (read once at connect) via rs-vboxvmi 2b71bb8.
  • mem-dump.py no longer requires --no-pause for VBoxVMI; driver docs list the states the server refuses.
  • Test docs: VBoxVMI filters now cover init/pause/vCPU/read tests; register and write tests stay MachineDebugger-only until VBox 7b: VBoxVMI: registers #284/VBox 7c: VBoxVMI: physical write #285.

Server: Wenzel/virtualbox#6 (merged into vmi/vboxvmi).

Verified live (VBOX_TEST_METHOD=vboxvmi, 1 and 2 vCPUs): virtualbox_vcpu_count_matches_vmm, virtualbox_pause_stops_vcpus, virtualbox_pause_idempotent_and_visible, init, get_vcpu_count, double_pause, pause_resume, multiple_pause_resume, double_resume, virtualbox_read_*. fmt, clippy -D warnings (virtualbox-api, virtualbox-vmi, both with --tests), virtualbox_errors pass.

Wenzel and others added 2 commits October 12, 2026 07:22
pause and resume go through the VBoxVMI PAUSE and RESUME commands:
VirtualBox's standard pause, so the VM shows as Paused in VBoxManage and
the GUI, synchronous (every vCPU stopped when pause returns) and
idempotent (one resume undoes any number of pauses, by anyone). The vCPU
count comes from VCPU_COUNT at connect, like the max physical address.
rs-vboxvmi is bumped to 622c077 for the new commands.

mem-dump.py no longer requires --no-pause for VBoxVMI. The driver and
test docs list pause/resume and vCPU count as supported, and the VBoxVMI
test filters cover the pause, resume and vCPU tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…sume

The server also refuses during a configuration change and, for resume,
on a teleport source or target. rs-vboxvmi is bumped to 2b71bb8 for the
matching error message.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Wenzel
Wenzel merged commit 255b428 into dev Oct 12, 2026
22 checks passed
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

Successfully merging this pull request may close these issues.

1 participant