Skip to content

Cache devices xml - #855

Draft
ben-grande wants to merge 4 commits into
QubesOS:mainfrom
ben-grande:cache-devices-xml
Draft

Cache devices xml#855
ben-grande wants to merge 4 commits into
QubesOS:mainfrom
ben-grande:cache-devices-xml

Conversation

@ben-grande

@ben-grande ben-grande commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Moved problematic commits from #852 to this PR, to not block the other from being merged.

TODO:

  • support device manipulation outside of qubesd, such as using virsh or xl directly
VIR_DOMAIN_EVENT_ID_DEVICE_REMOVED	= 	15 (0xf) virConnectDomainEventDeviceRemovedCallback
VIR_DOMAIN_EVENT_ID_DEVICE_ADDED	= 	19 (0x13) virConnectDomainEventDeviceAddedCallback
VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED	= 	22 (0x16) virConnectDomainEventDeviceRemovalFailedCallback
  • add unit tests
  • add integ tests

Assuming that hotplug is unsupported.
Skip PVH when listing attached PCI devices, as they can't possibly be
there.
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