mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-03 09:26:03 +00:00
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.
18 lines
586 B
Python
18 lines
586 B
Python
# Generated by Django 5.2.18 on 2026-11-19 11:56
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('computes', '0013_tag_length'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='compute',
|
|
name='migration_tls',
|
|
field=models.BooleanField(default=False, help_text="A VM migrating between two hosts that both have this sends its memory and disks over TLS; each host needs QEMU's certificates in /etc/pki/qemu", verbose_name='encrypt migrations (TLS)'),
|
|
),
|
|
]
|