Skip to content

labgrid/qemudriver: add USB network device hotplug support#1843

Open
krevsbech wants to merge 1 commit intolabgrid-project:masterfrom
krevsbech:qemu-usb-hotplug
Open

labgrid/qemudriver: add USB network device hotplug support#1843
krevsbech wants to merge 1 commit intolabgrid-project:masterfrom
krevsbech:qemu-usb-hotplug

Conversation

@krevsbech
Copy link
Copy Markdown
Collaborator

Description
Use the QMPMonitor to add and remove a USB network device from a running QEMU instance.

Assumes the QEMU instance is already configured with a USB bus, e.g. -device qemu-xhci,id=xhci

Checklist

  • Documentation for the feature (pydocs)
  • The arguments and description in doc/configuration.rst have been updated
  • PR has been tested

@krevsbech krevsbech requested a review from Emantor March 26, 2026 12:45
@krevsbech krevsbech marked this pull request as draft March 26, 2026 12:46
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46.8%. Comparing base (bfb6ff2) to head (26d6d14).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #1843   +/-   ##
======================================
  Coverage    46.7%   46.8%           
======================================
  Files         179     179           
  Lines       14202   14208    +6     
======================================
+ Hits         6645    6651    +6     
  Misses       7557    7557           
Flag Coverage Δ
3.10 46.8% <100.0%> (+<0.1%) ⬆️
3.11 46.8% <100.0%> (+<0.1%) ⬆️
3.12 46.8% <100.0%> (+<0.1%) ⬆️
3.13 46.7% <100.0%> (+<0.1%) ⬆️
3.14 46.7% <100.0%> (+<0.1%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@krevsbech krevsbech marked this pull request as ready for review March 26, 2026 12:58
@krevsbech krevsbech marked this pull request as draft March 26, 2026 13:01
Use the QMPMonitor to add and remove a USB network device from
a running QEMU instance.

Assumes the QEMU instance is already configured with a USB bus,
e.g. `-device qemu-xhci,id=xhci`

Signed-off-by: Kasper Revsbech <kare@universal-robots.com>
@krevsbech krevsbech marked this pull request as ready for review March 26, 2026 13:30
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.

2 participants