mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-03 01:16:10 +00:00
feat(migration): encrypt migrations over TLS between hosts that have it
QEMU sends a migrating VM's memory and copied disks in the clear. A compute gets "Encrypt migrations (TLS)" (edit page, Advanced; API field migration_tls); a migration between two hosts that both have it passes VIR_MIGRATE_TLS whenever data moves (not for a shut-off VM's definition alone), and the log says TLS. The hosts need QEMU's certificates in /etc/pki/qemu; a host without them refuses before anything moves. Tried on two AlmaLinux 10 hosts: the TLS stream starts with a TLS record, the plain one with QEMU's QEVM header.
This commit is contained in:
parent
2e3ffba851
commit
eeae606d08
15 changed files with 409 additions and 309 deletions
|
|
@ -154,4 +154,4 @@ class SocketComputeForm(ComputeTagsMixin, KeepSecretsMixin, forms.ModelForm):
|
|||
widgets = SECRET_WIDGETS
|
||||
labels = DETAILS
|
||||
help_texts = DETAILS_HELP
|
||||
fields = ["name", "details", "hostname", "migration_address", "gstfsd_key"]
|
||||
fields = ["name", "details", "hostname", "migration_address", "migration_tls", "gstfsd_key"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue