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

Daniel P. Berrange berrange at redhat.com
Mon Sep 2 11:26:18 UTC 2013


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 at 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 :|




More information about the libvir-list mailing list