I've been tasked with integrating libvirt into a server
running Parallel Cloud Server 6.0. However, it seems I've ran
into some trouble getting the vz/parallel driver to compile.
It appears there might be an issue with the version of
parallels-virtualization-sdk thats installed (6.10.24195)
I first tried using the latest libvirt version, 1.2.21.
After finding the magical configure arguments and ENV
variables to get it to find the SDK, the configure script
reported "Yes" next to the vz driver. I then proceeded to run
a make, and was confronted with the following error message:
vz/vz_sdk.c: In function 'prlsdkAddNet':
'PRL_USE_VNET_NAME_FOR_BRIDGE_NAME' undeclared (first use in
vz/vz_sdk.c:2964: error: (Each undeclared identifier is
reported only once
vz/vz_sdk.c:2964: error: for each function it appears
make: *** [vz/libvirt_driver_vz_la-vz_sdk.lo] Error 1
make: Leaving directory `/root/libvirt-1.2.21/src'
I then tried to use libvirt 1.2.16, thinking that if I go
back a few versions to before the driver was renamed
(parallels -> vz), it might work. This appears to have
sorted out the compiler errors, however, when it goes to link
the modules, I get the following: