On Tue, 10 Nov 2026 at 13:48, Peter Maydell <[email protected]> wrote:
>
> Add a functional test for ccid-card-emulated. This roughly follows
> the usage procedure we document in system/devices/ccid.rst of
> creating some fake certificates, pointing the device at them, and
> then inside the guest querying the smartcard for the certificates and
> checking they validate. It deviates slightly from the suggested
> commands in the docs because the buildroot based rootfs doesn't have
> glibc and so "NSS-based smartcard integration with coolkey plus
> certutil" doesn't work. Instead we use opensc's pkcs15-tool to read
> the certs off the card and check them with openssl.
>
> Signed-off-by: Peter Maydell <[email protected]>
> ---
> Here's the functional test I mentioned when I sent my other
> patch for ccid-card-emulated.
> ---
> tests/functional/x86_64/meson.build | 1 +
> tests/functional/x86_64/test_ccid_emulated.py | 169 ++++++++++++++++++
> 2 files changed, 170 insertions(+)
> + DEFAULT_KERNEL_PARAMS = ('console=ttyS0')
This is a leftover from a previous iteration of this test, and isn't
used; it should be deleted.
-- PMM