On Thursday, 13 September 2018 13:29:49 CEST Richard W.M. Jones wrote:
When using the direct backend, you should see the result of testing
the qemu binary for the availability of KVM:
libguestfs: qemu KVM: enabled
Thanks: Andrea Bologna.
typo: "Andrea Bolognani"
+ enabled_node = json_object_get (return_node,
"enabled");
+ if (!enabled_node || !json_is_boolean (enabled_node)) {
No need to check !enabled_node, all the various json_is_* functions
handle NULL values already.
With the above fixes, LGTM.
--
Pino Toscano