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

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

 



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@xxxxxxxx>
> ---
>  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 :|

--
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]