How can i cancel operation by force

Discussion about using the VirtualBox API, Tutorials, Samples.
Post Reply
CrazyJohn
Posts: 3
Joined: 6. Jan 2017, 10:32

How can i cancel operation by force

Post by CrazyJohn »

I encounted a problem when restoring snapshot, that is I can not cancel the IProgress because it was not cancelable. How can i terminate it by force?
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: How can i cancel operation by force

Post by noteirak »

If IProgress::cancel() does not work, your only option is to kill the VBoxSVC process - doing so will also kill all your running VMs and might corrupt your snapshot/base file!

Please read the posting guideline of this section so we can help you further - your code might also be the issue.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply