mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-03 17:36:05 +00:00
A VM with the panel's emulated TPM 2.0 is backed up when it is shut off: each state file of libvirt's swtpm directory for the VM, read through a transient pool on it, becomes a small file of the backup (role tpm), written and read back like the NVRAM file. A running or paused VM with a TPM is refused, and so is a TPM with its own settings (encryption, a state path, another backend). The manifest says whether the TPM state was copied or never written.
18 lines
494 B
Python
18 lines
494 B
Python
# Generated by Django 5.2.18 on 2026-11-17 10:46
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('vmbackups', '0002_schedules'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='backupfile',
|
|
name='role',
|
|
field=models.CharField(choices=[('disk', 'disk'), ('nvram', 'nvram'), ('tpm', 'tpm'), ('domain', 'domain'), ('manifest', 'manifest')], max_length=16),
|
|
),
|
|
]
|