|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 9/9] vtpmmgr: Support GetRandom passthrough on TPM 2.0
Jason Andryuk, le mar. 04 mai 2021 13:23:57 -0400, a ecrit:
> > > @@ -842,6 +889,7 @@ TPM_RESULT vtpmmgr_handle_cmd(
> > > switch(ord) {
> > > case TPM_ORD_GetRandom:
> > > vtpmloginfo(VTPM_LOG_VTPM, "Passthrough:
> > > TPM_GetRandom\n");
> > > + return vtpmmgr_handle_getrandom(opaque, tpmcmd);
> > > break;
> >
> > Drop the break, then. I would say also move (or drop) the log, like the
> > other cases.
>
> Will drop the break. I would just leave the log since it matches the
> other cases in this case statement.
Mmm, right these are all pass-through cases so better log them the same.
Samuel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |