mirror of
https://github.com/qemu/qemu.git
synced 2024-11-26 21:33:40 +08:00
bb154e3e0c
Nitro Secure Module (NSM)[1] device is used in AWS Nitro Enclaves[2] for stripped down TPM functionality like cryptographic attestation. The requests to and responses from NSM device are CBOR[3] encoded. This commit adds support for NSM device in QEMU. Although related to AWS Nitro Enclaves, the virito-nsm device is independent and can be used in other machine types as well. The libcbor[4] library has been used for the CBOR encoding and decoding functionalities. [1] https://lists.oasis-open.org/archives/virtio-comment/202310/msg00387.html [2] https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html [3] http://cbor.io/ [4] https://libcbor.readthedocs.io/en/latest/ Signed-off-by: Dorjoy Chowdhury <dorjoychy111@gmail.com> Reviewed-by: Alexander Graf <graf@amazon.com> Link: https://lore.kernel.org/r/20241008211727.49088-3-dorjoychy111@gmail.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
61 lines
726 B
Plaintext
61 lines
726 B
Plaintext
# These are "proxy" symbols used to pass config-host.mak values
|
|
# down to Kconfig. See also kconfig_external_symbols in
|
|
# meson.build: these two need to be kept in sync.
|
|
|
|
config LINUX
|
|
bool
|
|
|
|
config LIBCBOR
|
|
bool
|
|
|
|
config OPENGL
|
|
bool
|
|
|
|
config X11
|
|
bool
|
|
|
|
config PIXMAN
|
|
bool
|
|
|
|
config SPICE
|
|
bool
|
|
|
|
config IVSHMEM
|
|
bool
|
|
|
|
config TPM
|
|
bool
|
|
|
|
config FDT
|
|
bool
|
|
|
|
config VHOST_USER
|
|
bool
|
|
|
|
config VHOST_VDPA
|
|
bool
|
|
|
|
config VHOST_KERNEL
|
|
bool
|
|
|
|
config VIRTFS
|
|
bool
|
|
|
|
config MULTIPROCESS_ALLOWED
|
|
bool
|
|
imply MULTIPROCESS
|
|
|
|
config FUZZ
|
|
bool
|
|
select SPARSE_MEM
|
|
|
|
config VFIO_USER_SERVER_ALLOWED
|
|
bool
|
|
imply VFIO_USER_SERVER
|
|
|
|
config HV_BALLOON_POSSIBLE
|
|
bool
|
|
|
|
config HAVE_RUST
|
|
bool
|