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 <[email protected]>
> ---
>  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

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to