[libvirt] [PATCH v2] tpm: adapt sysfs cancel path for new TPM driver
Cole Robinson
crobinso at redhat.com
Tue Nov 17 20:55:13 UTC 2015
On 11/17/2015 03:49 PM, Stefan Berger wrote:
> On 11/17/2015 02:12 PM, Cole Robinson wrote:
>> First, thanks for following up on the fedora bugs so quickly!
>>
>> On 11/17/2015 10:46 AM, Stefan Berger wrote:
>>> Adapt the sysfs TPM command cancel path for the TPM driver that
>>> does not use a miscdevice anymore since Linux 4.0. Support old
>>> and new paths and check their availability.
>>>
>>> Add a mockup for the test cases to avoid the testing for
>>> availability of the cancel path.
>>>
>> I see you sent a qemu patch for a similar change. What's the benefit of
>> libvirt setting cancel_path if qemu can (and already attempts to) figure it
>> out?
>
> The only benefit is that libvirt is controlling the parameter.
>
Then IMO we should let qemu handle it and just drop this path handling
entirely. If there's ever a need to differentiate from qemu's logic or let the
user override this value then we can add it back without much trouble
Thanks,
Cole
More information about the libvir-list
mailing list