Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup fails if VM has a USB pass through #4573

Open
ghost opened this issue Nov 12, 2021 · 2 comments
Open

Backup fails if VM has a USB pass through #4573

ghost opened this issue Nov 12, 2021 · 2 comments

Comments

@ghost
Copy link

ghost commented Nov 12, 2021

Snapshot
Start: Nov 12, 2021, 11:48:39 AM
End: Nov 12, 2021, 11:48:39 AM
Error: VM_HAS_VUSBS(OpaqueRef:ecfe2189-5c1b-4b4b-807b-a856ef9ab6db)
Start: Nov 12, 2021, 11:48:39 AM
End: Nov 12, 2021, 11:48:39 AM
Duration: a few seconds
Error: VM_HAS_VUSBS(OpaqueRef:ecfe2189-5c1b-4b4b-807b-a856ef9ab6db)

Passed on as advised by xcp-ng.

@olivierlambert
Copy link

Well, the question is: what is the reason to prevent snapshot of a VM with USB passthrough? Note that we can export a halted VM anyway, despite having an USB passed. So I'm not sure to understand why we can't make a snapshot (even if the VM is halted).

@numo68
Copy link

numo68 commented Dec 22, 2022

+1 here. I have a VM running a home automation setup where the USB device is basically a serial port controlling some device - no state that would be missed from the backup there. I'd be fine with the passthrough configuration not being backed up, I can understand that this is something reaching out of the VM itself that is not easy to reconstruct on eventual restore, but making the backup impossible because of it is a major drawback.

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

No branches or pull requests

2 participants