libvirt/src/vz
Mikhail Feoktistov 6de12b026b vz: implementation of attach/detach network devices
In this patch we add VIR_DOMAIN_DEVICE_NET handlers implementation
for domainAttachDevice and domainDetachDevice callbacks.

As soon as we don't support this operation for hypervisor type domains,
we implement this functionality for containers only.

In detach procedure we find network device by MAC address.
Because PrlVmDevNet_GetMacAddress() returns MAC as a UTF-8 encoded
null-terminated string, we use memcmp() to compare it.
Also we remove corresponding virtual network by prlsdkDelNetAdapter call.
2015-06-24 18:39:01 +03:00
..
vz_driver.c vz: implementation of attach/detach network devices 2015-06-24 18:39:01 +03:00
vz_driver.h parallels: rename all parallels files and driver directory to vz 2015-06-17 15:07:55 +03:00
vz_network.c parallels: rename all parallels files and driver directory to vz 2015-06-17 15:07:55 +03:00
vz_sdk.c vz: implementation of attach/detach network devices 2015-06-24 18:39:01 +03:00
vz_sdk.h vz: implementation of attach/detach network devices 2015-06-24 18:39:01 +03:00
vz_storage.c parallels: rename all parallels files and driver directory to vz 2015-06-17 15:07:55 +03:00
vz_utils.c parallels: rename all parallels files and driver directory to vz 2015-06-17 15:07:55 +03:00
vz_utils.h parallels: rename all parallels files and driver directory to vz 2015-06-17 15:07:55 +03:00