Reviewed: https://review.openstack.org/524727 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=ec5c27a8afec53f167d30d8f81e23c1b42465d54 Submitter: Zuul Branch: master
commit ec5c27a8afec53f167d30d8f81e23c1b42465d54 Author: Matt Riedemann <email address hidden> Date: Fri Dec 1 15:56:34 2017 -0500
Check the return code when forcing TCG mode with libguestfs
According to the guestfs docs:
http://libguestfs.org/guestfs.3.html#guestfs_set_backend_settings
This method returns a 0 on success and -1 on failure. We suspect we might not be calling this correctly, so log a warning if it returns a non-zero return code.
Change-Id: I14a5969667a6f6f4ae529aaf0f6b9475fdf25496 Related-Bug: #1735823
Reviewed: https:/ /review. openstack. org/524727 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=ec5c27a8afe c53f167d30d8f81 e23c1b42465d54
Committed: https:/
Submitter: Zuul
Branch: master
commit ec5c27a8afec53f 167d30d8f81e23c 1b42465d54
Author: Matt Riedemann <email address hidden>
Date: Fri Dec 1 15:56:34 2017 -0500
Check the return code when forcing TCG mode with libguestfs
According to the guestfs docs:
http:// libguestfs. org/guestfs. 3.html# guestfs_ set_backend_ settings
This method returns a 0 on success and -1 on failure. We suspect
we might not be calling this correctly, so log a warning if it
returns a non-zero return code.
Change-Id: I14a5969667a6f6 f4ae529aaf0f6b9 475fdf25496
Related-Bug: #1735823