[libvirt] [PATCH v2] tpm: adapt sysfs cancel path for new TPM driver

Stefan Berger stefanb at us.ibm.com
Tue Nov 17 21:26:52 UTC 2015


Cole Robinson <crobinso at redhat.com> wrote on 11/17/2015 03:55:13 PM:

> From: Cole Robinson <crobinso at redhat.com>
> To: Stefan Berger <stefanb at linux.vnet.ibm.com>, Stefan Berger/
> Watson/IBM at IBMUS, libvir-list at redhat.com, berrange at redhat.com
> Date: 11/17/2015 03:55 PM
> Subject: Re: [PATCH v2] tpm: adapt sysfs cancel path for new TPM driver
> 
> 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
> 

Forgot about that: SELinux labeling of that file requires it afaik.

   Stefan


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20151117/8d304a62/attachment-0001.htm>


More information about the libvir-list mailing list