On 04/22/2015 07:35 PM, Michal Privoznik wrote:
We have such wrapper in other drivers too: qemu, lxc, network, ...
Michal Privoznik (4):
struct _parallelsConn: Mark @domains as immutable pointer
parallels: Introduce parallelsDomObjFromDomain()
parallels_driver: Utilize parallelsDomObjFromDomain()
parallels_sdk: Utilize parallelsDomObjFromDomain()
src/parallels/parallels_driver.c | 93 ++++++----------------------------------
src/parallels/parallels_sdk.c | 5 +--
src/parallels/parallels_utils.c | 32 ++++++++++++++
src/parallels/parallels_utils.h | 5 +++
4 files changed, 51 insertions(+), 84 deletions(-)
ACK, but somebody has already pushed this series :)
--
Dmitry Guryanov