[PATCH] grub_diskfilter_memberlist: recurse into lv nodes.

2024-04-14 Thread GUO Yixuan
From: Yixuan Guo This applies to lvm2 LVs with redundancy, which use internal LVs, so it's necessary to go into seg->nodes[j].lv to find the underlying PV. Example of a raid1 LV and its internal LVs, created with lvm2. ├─vdb3254:19 0 9.3G 0 part │ └─vdb3_crypt

Re: [PATCH] grub_diskfilter_memberlist: recurse into lv nodes.

2024-04-14 Thread Patrick Plenefisch
This may have some interaction with my pending LVM patches from January & Febuary for a superficially similar issue on complex lv's. My original patch: https://lists.gnu.org/archive/html/grub-devel/2024-01/msg00110.html Github branch with split patches: https://github.com/byteit101/grub2/tree/grub

Re: [PATCH v10 20/20] tests: Add tpm2_test

2024-04-14 Thread Gary Lin via Grub-devel
On Fri, Apr 12, 2024 at 12:09:36PM -0400, Stefan Berger wrote: > > > On 4/9/24 04:30, Gary Lin via Grub-devel wrote: > > For the tpm2 module, the TCG2 command submission function is the only > > difference between the a QEMU instance and grub-emu. To test TPM key > > unsealing with a QEMU instanc

Re: [PATCH v11 10/20] tpm2: Add TPM Software Stack (TSS)

2024-04-14 Thread Gary Lin via Grub-devel
On Fri, Apr 12, 2024 at 11:26:48AM -0400, Stefan Berger wrote: > > > On 4/12/24 04:39, Gary Lin wrote: > > From: Hernan Gatta > > > > A Trusted Platform Module (TPM) Software Stack (TSS) provides logic to > > compose, submit, and parse TPM commands and responses. > > compose and submit TPM com