On 10/24/2017 05:09 PM, Dawid Zamirski wrote:
> The VBOX_SESSION_OPEN/CLOSE macros are only called in
> _vboxDomainSnapshotRestore and they are unflexible because:
>
> * assume the caller will have variable named "data"
> * can only create Write lock type
>
> As per above, it's not that hard
The VBOX_SESSION_OPEN/CLOSE macros are only called in
_vboxDomainSnapshotRestore and they are unflexible because:
* assume the caller will have variable named "data"
* can only create Write lock type
As per above, it's not that hard to simply use the VBOX API directly.
---
src/vbox/vbox_tmpl.c