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

Re: [libvirt] [PATCH 04/12] libxl: Add libxl_version_info to libxlDriverPrivate



On Fri, Aug 30, 2013 at 03:46:50PM -0600, Jim Fehlig wrote:
> libxl version info is static data as far as the libxl driver
> is concerned, so retrieve this info when the driver is initialized
> and stash it in the libxlDriverPrivate object.  Subsequently use
> the stashed info instead of repeatedly calling libxl_get_version_info().
> 
> Signed-off-by: Jim Fehlig <jfehlig suse com>
> ---
>  src/libxl/libxl_conf.c   |  7 +------
>  src/libxl/libxl_conf.h   |  1 +
>  src/libxl/libxl_driver.c | 39 ++++++++-------------------------------
>  3 files changed, 10 insertions(+), 37 deletions(-)

ACK


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


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