mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
parallels: login to parallels SDK
Add files parallels_sdk.c and parallels_sdk.h for code which works with SDK, so libvirt's code will not mix with dealing with parallels SDK. To use Parallels SDK you must first call PrlApi_InitEx function, and then you will be able to connect to a server with PrlSrv_LoginLocalEx function. When you've done you must call PrlApi_Deinit. So let's call PrlApi_InitEx on first .connectOpen, count number of connections and deinitialize, when this counter becomes zero. Signed-off-by: Dmitry Guryanov <dguryanov@parallels.com>
This commit is contained in:
committed by
Michal Privoznik
parent
64018e0c83
commit
e7bb373fdf
@@ -96,6 +96,7 @@ src/openvz/openvz_driver.c
|
||||
src/openvz/openvz_util.c
|
||||
src/parallels/parallels_driver.c
|
||||
src/parallels/parallels_network.c
|
||||
src/parallels/parallels_sdk.c
|
||||
src/parallels/parallels_utils.c
|
||||
src/parallels/parallels_utils.h
|
||||
src/parallels/parallels_storage.c
|
||||
|
||||
Reference in New Issue
Block a user