search for: libxl__xs_read_check

Displaying 4 results from an estimated 4 matches for "libxl__xs_read_check".

Did you mean: libxl__xs_read_checked
2013 Nov 25
22
[PATCH 0/4] Coverity fixes for tools/libxl
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> -- 1.7.10.4
2013 Dec 01
70
[PATCH 00/13] Coverity fixes for libxl
Matthew Daley (13): libxl: fix unsigned less-than-0 comparison in e820_sanitize libxl: check for xc_domain_setmaxmem failure in libxl__build_pre libxl: correct file open success check in libxl__device_pci_reset libxl: don''t leak p in libxl__wait_for_backend libxl: remove unsigned less-than-0 comparison libxl: actually abort if initializing a ctx''s lock fails libxl:
2013 Apr 18
9
[PATCH v5 1/2] libxl: Introduce functions to add and remove USB devices to an HVM guest
...GCSPRINTF("%d", + usbdev->u.hostdev.hostaddr)); +} + +static int read_hostdev_xenstore_entry(libxl__gc *gc, const char * path, + libxl__device_usb *usbdev) +{ + int rc; + const char * val; + + rc = libxl__xs_read_checked(gc, XBT_NULL, + GCSPRINTF("%s/hostbus", path), &val); + if (rc) goto out; + usbdev->u.hostdev.hostbus = atoi(val); + + rc = libxl__xs_read_checked(gc, XBT_NULL, + GCSPRINTF("%s/hostaddr", path),...
2012 Dec 13
0
[xen-unstable test] 14682: regressions - FAIL
...changeset: 26279:ef9242f5846f user: Ian Jackson <Ian.Jackson@eu.citrix.com> date: Thu Dec 13 11:44:01 2012 +0000 libxl: qemu trad logdirty: Tolerate ENOENT on ret path It can happen in error conditions that lds->ret_path doesn''t exist, and libxl__xs_read_checked signals this by setting got_ret=NULL. If this happens, fail without crashing. Reported-by: Alex Bligh <alex@alex.org.uk>, Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Campbell...