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

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

 



On 05/02/2013 02:03 PM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> 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@xxxxxxxxxx>
> ---
>  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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]