xen/riscv: implement sync_vcpu_execstate()

The scheduler may call this function to force synchronization of given
vCPU's state. RISC-V does not support lazy context switching, so nothing
is done in sync_vcpu_execstate() and sync_local_execstate().

Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Oleksii Kurochko authored and Jan Beulich committed 2026-03-10 09:27:47 +01:00
1 parent 18964d1bf5
commit 256479ba56
2 files changed
+10 -10

No files matched your search

+10
View File
@@ -278,6 +278,16 @@ void vcpu_kick(struct vcpu *v)
} }
} }
void sync_local_execstate(void)
{
/* Nothing to do -- no lazy switching */
}
void sync_vcpu_execstate(struct vcpu *v)
{
/* Nothing to do -- no lazy switching */
}
static void __init __maybe_unused build_assertions(void) static void __init __maybe_unused build_assertions(void)
{ {
/* /*
-10
View File
@@ -91,16 +91,6 @@ void continue_running(struct vcpu *same)
BUG_ON("unimplemented"); BUG_ON("unimplemented");
} }
void sync_local_execstate(void)
{
BUG_ON("unimplemented");
}
void sync_vcpu_execstate(struct vcpu *v)
{
BUG_ON("unimplemented");
}
void startup_cpu_idle_loop(void) void startup_cpu_idle_loop(void)
{ {
BUG_ON("unimplemented"); BUG_ON("unimplemented");
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.