qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* about QEMU TLS
@ 2023-08-06 22:07 Yu Zhang
  2023-08-17 10:49 ` Daniel P. Berrangé
  0 siblings, 1 reply; 5+ messages in thread
From: Yu Zhang @ 2023-08-06 22:07 UTC (permalink / raw)
  To: qemu-devel, Jinpu Wang, Elmar Gerdes

[-- Attachment #1: Type: text/plain, Size: 1073 bytes --]

Hi all,

According to qemu docs [1], TLS parameters are specified as an object in
the QEMU command line:

   -object tls-creds-x509,id=id,endpoint=endpoint,dir=/path/to/cred/dir ...

of which "endpoint" is a type of "QCryptoTLSCredsEndpoint" and can be
either a "server" or a "client".

I'd like to know:

- When a VM is started with this config, is there a way (e.g. QMP) to
change the value of "endpoint"?
  If possible, how to do this? or else after the first migration of a VM,
the VM has "endpoint=server",
  which can't be migrated without stop / start.

- In which case does the QEMU reload its TLS certificate, e.g. when a QEMU
VM has been run longer
  than the valid period of its TLS certificate?

- The migration is done by using HMP monitor on both source and target
side. Is it possible to do it
  by using QMP commands?

[1] https://www.qemu.org/docs/master/system/tls.html
[2]
https://www.berrange.com/posts/2016/08/16/improving-qemu-security-part-7-tls-support-for-migration/

Thank you so much for your reply!

Yu Zhang @ Compute Platform IONOS
06.08.2023

[-- Attachment #2: Type: text/html, Size: 1478 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-06-12  7:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-06 22:07 about QEMU TLS Yu Zhang
2023-08-17 10:49 ` Daniel P. Berrangé
2023-08-21 14:29   ` Yu Zhang
2024-06-11 15:57     ` Yu Zhang
2024-06-12  7:44       ` Yu Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).