acrn-hypervisor/hypervisor/dm
Liu,Junming 545c006a33 hv: inject #GP if guest tries to reprogram pass-thru dev PIO bar
In current design, when pass-thru dev,
for the PIO bar, need to ensure the guest PIO start address
equals to host PIO start address.

But malicious guest may reprogram the PIO bar,
then hv will pass-thru the reprogramed PIO address to guest.
This isn't safe behavior.
When guest tries to reprogram pass-thru dev PIO bar,
inject #GP to guest directly.

Tracked-On: #6508

Signed-off-by: Liu,Junming <junming.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
Reviewed-by: Fei Li <fei1.li@intel.com>
2021-09-28 08:49:01 +08:00
..
vpci hv: inject #GP if guest tries to reprogram pass-thru dev PIO bar 2021-09-28 08:49:01 +08:00
io_req.c hv: dm: Use new I/O request data structures 2021-07-15 11:53:54 +08:00
mmio_dev.c HV: refine acrn_mmiodev data structure 2021-08-11 14:45:55 +08:00
vgpio.c hv: mmiodev: a minor bug fix about refine acrn_mmiodev data structure 2021-08-19 12:01:35 +08:00
vioapic.c hv: vioapic: update remote IRR for lapic-pt 2021-09-18 09:42:44 +08:00
vpic.c hv: dm: Use new I/O request data structures 2021-07-15 11:53:54 +08:00
vrtc.c hv: dm: Use new I/O request data structures 2021-07-15 11:53:54 +08:00
vuart.c hv: dm: Use new I/O request data structures 2021-07-15 11:53:54 +08:00