mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:10 +00:00
Confidential guests needs to generate a new KVM file descriptor upon virtual machine reset. Existing VCPUs needs to be reattached to this new KVM VM file descriptor. As a part of this, new VCPU file descriptors against this new KVM VM file descriptor needs to be created and re-initialized. Resources allocated against the old VCPU fds needs to be released. This change makes this happen. Signed-off-by: Ani Sinha <anisinha@redhat.com> Link: https://lore.kernel.org/r/20260225035000.385950-16-anisinha@redhat.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>