acrn-hypervisor/hypervisor/dm
Shuo A Liu 8e74c2cfd5 hv: vcpu: wait and signal vcpu event support
Introduce two kinds of events for each vcpu,
  VCPU_EVENT_IOREQ: for vcpu waiting for IO request completion
  VCPU_EVENT_VIRTUAL_INTERRUPT: for vcpu waiting for virtual interrupts events
vcpu can wait for such events, and resume to run when the
event get signalled.

This patch also change IO request waiting/notifying to this way.

Tracked-On: #4329
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2020-01-23 13:37:53 +08:00
..
vpci hv: vpci: restore PCI BARs when doing AF FLR 2019-12-20 13:09:42 +08:00
io_req.c hv: vcpu: wait and signal vcpu event support 2020-01-23 13:37:53 +08:00
vioapic.c hv: mmio: move EPT operation out of register_mmio_emulation_handler 2019-10-31 11:46:10 +08:00
vpic.c hv: remove 'flags' field in struct vm_io_range 2019-08-19 10:19:54 +08:00
vrtc.c hv: remove 'flags' field in struct vm_io_range 2019-08-19 10:19:54 +08:00
vuart.c hv: modify printf "not support the vuart index parameter" in vuart_register_io_handler 2019-11-20 09:45:00 +08:00