mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-04-29 12:14:13 +00:00
When shutting down SOS VM, the shared sbuf is released from guest OS, but the per cpu sbuf pointers in hypervisor keep inact. This creates a problem that after SOS is re-launched, hypervisor could write to the shared buffer that no longer exists. This patch implements sbuf_reset() and call it from reset_vcpu() to reset sbuf pointers. Tracked-On: #2700 Signed-off-by: Zide Chen <zide.chen@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com> |
||
---|---|---|
.. | ||
console.c | ||
dbg_cmd.c | ||
dump.c | ||
hypercall.c | ||
logmsg.c | ||
Makefile | ||
npk_log.c | ||
printf.c | ||
profiling.c | ||
sbuf.c | ||
shell_priv.h | ||
shell.c | ||
string.c | ||
trace.c | ||
uart16550.c | ||
vuart.c |