Files
qemu/stubs/kvm.c
Ani Sinha 98884e0cc1 accel/kvm: add changes required to support KVM VM file descriptor change
This change adds common kvm specific support to handle KVM VM file descriptor
change. KVM VM file descriptor can change as a part of confidential guest reset
mechanism. A new function api kvm_arch_on_vmfd_change() per
architecture platform is added in order to implement architecture specific
changes required to support it. A subsequent patch will add x86 specific
implementation for kvm_arch_on_vmfd_change() as currently only x86 supports
confidential guest reset.

Signed-off-by: Ani Sinha <anisinha@redhat.com>
Link: https://lore.kernel.org/r/20260225035000.385950-6-anisinha@redhat.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2026-02-27 14:22:08 +01:00

23 lines
368 B
C

/*
* kvm target arch specific stubs
*
* Copyright (c) 2026 Red Hat, Inc.
*
* Author:
* Ani Sinha <anisinha@redhat.com>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "qemu/osdep.h"
#include "system/kvm.h"
int kvm_arch_on_vmfd_change(MachineState *ms, KVMState *s)
{
abort();
}
bool kvm_arch_supports_vmfd_change(void)
{
return false;
}