acrn-hypervisor/hypervisor/include
Zide Chen aee9f3c666 hv: reset per cpu sbuf pointers during vcpu reset
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>
2019-04-19 16:20:34 +08:00
..
arch/x86 hv: vlapic: add TPR below threshold implement 2019-04-19 11:11:54 +08:00
common hv: add new hypercall to fetch platform configurations 2019-04-15 22:14:13 +08:00
debug hv: reset per cpu sbuf pointers during vcpu reset 2019-04-19 16:20:34 +08:00
dm hv:change register_mmio_emulation_handler to void 2019-04-19 09:02:15 +08:00
hw hv: move pci.h to include/hw 2019-04-12 10:09:26 +08:00
lib hv:move 'udelay' to timer.c 2019-03-22 08:38:13 +08:00
public hv: add new hypercall to fetch platform configurations 2019-04-15 22:14:13 +08:00
hv_debug.h HV: Added Initial support for SEP/SOCWATCH profiling 2018-10-26 13:39:07 +08:00
hypervisor.h hv:move 2 APIs from hypervisor.h to guest_memory.c 2019-02-21 10:38:30 +08:00