mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() Add property "quote-generation-socket" to tdx-guest, which is a property of type SocketAddress to specify Quote Generation Service(QGS). On request of GetQuote, it connects to the QGS socket, read request data from shared guest memory, send the request data to the QGS, and store the response into shared guest memory, at last notify TD guest by interrupt. command line example: qemu-system-x86_64 \ -object '{"qom-type":"tdx-guest","id":"tdx0","quote-generation-socket":{"type":"unix", "path":"/var/run/tdx-qgs/qgs.socket"}}' \ -machine confidential-guest-support=tdx0 Note, above example uses the unix socket. It can be other types, like vsock, which depends on the implementation of QGS. To avoid no response from QGS server, setup a timer for the transaction. If timeout, make it an error and interrupt guest. Define the threshold of time to 30s at present, maybe change to other value if not appropriate. Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com> Co-developed-by: Chenyi Qiang <chenyi.qiang@intel.com> Signed-off-by: Chenyi Qiang <chenyi.qiang@intel.com> Co-developed-by: Xiaoyao Li <xiaoyao.li@intel.com> Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com> Tested-by: Xiaoyao Li <xiaoyao.li@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> |
1 week ago | |
---|---|---|
.. | ||
hyperv-proto.h | 4 months ago | |
hyperv-stub.c | 7 months ago | |
hyperv.c | 2 months ago | |
hyperv.h | 6 months ago | |
kvm-cpu.c | 2 months ago | |
kvm.c | 1 week ago | |
kvm_i386.h | 1 month ago | |
meson.build | 1 week ago | |
tdx-quote-generator.c | 1 week ago | |
tdx-quote-generator.h | 1 week ago | |
tdx-stub.c | 1 week ago | |
tdx.c | 1 week ago | |
tdx.h | 1 week ago | |
trace-events | 1 year ago | |
trace.h | ||
vmsr_energy.c | 2 months ago | |
vmsr_energy.h | 11 months ago | |
xen-compat.h | 2 years ago | |
xen-emu.c | 2 months ago | |
xen-emu.h | 2 years ago |