acrn-hypervisor/hypervisor/debug
Jason Chen CJ f8f49d410f dump vcpu registers on correct vcpu
after updated cpu context get/set method, the vcpu_dumreg cmd is not
correct anymore as the registers may read from VMCS but meantime hv
shell may not be running on target vcpu.

this patch take use of smp_call_function for vcpu dumpreg and make the
dump always come from correct vcpu.

v2:
- use str pointer to get vcpu_dumpreg context instead of print out directly
  in notify handler.

Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-08-15 12:05:18 +08:00
..
console.c hv:cleanup console/uart code 2018-08-02 11:25:40 +08:00
dump.c HV: Logical conjunction needs brackets 2018-08-14 09:53:32 +08:00
logmsg.c HV: Logical conjunction needs brackets 2018-08-14 09:53:32 +08:00
printf.c hv: treewide: fix 'Potential side effect problem in expression' 2018-08-08 10:50:06 +08:00
sbuf.c HV: Logical conjunction needs brackets 2018-08-14 09:53:32 +08:00
shell_priv.h HV: refine shell.c & shell_priv.h 2018-08-14 09:54:48 +08:00
shell.c dump vcpu registers on correct vcpu 2018-08-15 12:05:18 +08:00
uart16550.c hv:Rename port/mmio read and write APIs 2018-08-02 14:03:38 +08:00
uart16550.h hv:cleanup console/uart code 2018-08-02 11:25:40 +08:00
vuart.c HV: Logical conjunction needs brackets 2018-08-14 09:53:32 +08:00