commit 2a8c0c800ba2107a94597761677007ed660a40a1
Author: Matt Riedemann <email address hidden>
Date: Fri Dec 1 17:41:11 2017 -0500
Fix guestfs.set_backend_settings call
This method takes a list of strings. It was never failing
because python-libguestfs takes the input and casts it to
a list, which turns "force_tcg" into:
This fixes that issue and leaves a TODO about investigating
the usage of set_backend_setting for just setting the
single force_tcg value instead of overrwriting all backend
settings.
Reviewed: https:/ /review. opendev. org/524748 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=2a8c0c800ba 2107a9459776167 7007ed660a40a1
Committed: https:/
Submitter: Zuul
Branch: master
commit 2a8c0c800ba2107 a94597761677007 ed660a40a1
Author: Matt Riedemann <email address hidden>
Date: Fri Dec 1 17:41:11 2017 -0500
Fix guestfs. set_backend_ settings call
This method takes a list of strings. It was never failing
because python-libguestfs takes the input and casts it to
a list, which turns "force_tcg" into:
['f', 'o', 'r', 'c', 'e', '_', 't', 'c', 'g']
Which is obviously not correct.
http:// libguestfs. org/guestfs. 3.html# guestfs_ set_backend_ settings
This fixes that issue and leaves a TODO about investigating
the usage of set_backend_setting for just setting the
single force_tcg value instead of overrwriting all backend
settings.
Credit to Clark Boylan for identifying the issue.
Change-Id: I36edfaf30fd0cc 234f929fd6937d0 7b6a1b646ae
Partial-Bug: #1735823