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

Michal Privoznik mprivozn at redhat.com
Mon Sep 2 11:08:32 UTC 2013


On 30.08.2013 23:46, 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

Michal




More information about the libvir-list mailing list