search for: guestfs___get_uefi

Displaying 2 results from an estimated 2 matches for "guestfs___get_uefi".

2015 Jan 21
0
[PATCH] aarch64: appliance: Use AAVMF (UEFI) if available for running the appliance.
...f *code == *vars == NULL then no UEFI firmware is available. + * + * '*code' and '*vars' should be freed by the caller. + * + * If the function returns -1 then there was a real error which should + * cause appliance building to fail (no UEFI firmware is not an + * error). + */ +int +guestfs___get_uefi (guestfs_h *g, char **code, char **vars) +{ + if (access (AAVMF_DIR "/AAVMF_CODE.fd", R_OK) == 0 && + access (AAVMF_DIR "/AAVMF_VARS.fd", R_OK) == 0) { + CLEANUP_CMD_CLOSE struct command *copycmd = guestfs___new_command (g); + char *varst; + int r; + +...
2015 Feb 14
2
[PATCH 0/2] Change guestfs__*
libguestfs has used double and triple underscores in identifiers. These aren't valid for global names in C++. (http://stackoverflow.com/a/228797) These large but completely mechanical patches change the illegal identifiers to legal ones. Rich.