mirror of
https://github.com/qemu/qemu.git
synced 2026-04-24 07:02:58 +00:00
When new vcpu file descriptors are created and bound to the new kvm file descriptor as a part of the confidential guest reset mechanism, various subsystems needs to know about it. This change adds notifiers so that various subsystems can take appropriate actions when vcpu fds change by registering their handlers to this notifier. Subsequent changes will register specific handlers to this notifier. Signed-off-by: Ani Sinha <anisinha@redhat.com> Link: https://lore.kernel.org/r/20260225035000.385950-31-anisinha@redhat.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>