[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 06/11] Separate internal node suspend APIs from public API



On 05/02/2013 02:03 PM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange redhat com>
> 
> 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      | 13 ++++++++++++-
>  src/qemu/qemu_driver.c    | 13 ++++++++++++-
>  src/uml/uml_driver.c      | 12 +++++++++++-
>  src/util/virnodesuspend.c |  3 +--
>  src/util/virnodesuspend.h |  3 +--
>  src/xen/xen_driver.c      | 13 ++++++++++++-
>  6 files changed, 49 insertions(+), 8 deletions(-)
> 

ACK

Jan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]