]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Separate internal node suspend APIs from public API
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 29 Apr 2013 09:16:56 +0000 (10:16 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 8 May 2013 09:47:47 +0000 (10:47 +0100)
commit4a044d0256da97462852bb8018b4db1ec697cb19
treeca1b9831adffc7562caaae45a0b57e6d7bd961eb
parent1c6d4ca557083e7994ad9906f1eb7d37dacf78e4
Separate internal node suspend APIs from public API

The individual hypervisor drivers were directly referencing
APIs in virnodesuspend.c in their virDriverPtr struct. Separate
these methods, so there is always a wrapper in the hypervisor
driver. This allows the unused virConnectPtr args to be removed
from the virnodesuspend.c file. Again this will ensure that
ACL checks will only be performed on invocations that are
directly associated with public API usage.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/lxc/lxc_driver.c
src/qemu/qemu_driver.c
src/uml/uml_driver.c
src/util/virnodesuspend.c
src/util/virnodesuspend.h
src/xen/xen_driver.c