acrn-hypervisor/hypervisor/dm/vpci
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
..
ivshmem.c hv: ivshmem: map SHM BAR with PAT ignored 2021-08-13 11:17:15 +08:00
pci_pt.c hv:enable GVT-d for pre-launched linux guest in logical partion mode 2021-08-19 11:56:26 +08:00
vdev.c hv: inject #GP if guest tries to reprogram pass-thru dev PIO bar 2021-09-28 08:49:01 +08:00
vhostbridge.c hv: some coding style fixes 2021-05-12 16:50:34 +08:00
vmcs9900.c hv: dm: Use new virtual device management ioctls 2021-07-15 11:53:54 +08:00
vmsi.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
vmsix.c hv: dm: Use new I/O request data structures 2021-07-15 11:53:54 +08:00
vmsix_on_msi.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
vpci.c hv: deny the launch of VM if pass-thru PIO bar isn't identical mapping 2021-09-28 08:49:01 +08:00
vpci_bridge.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
vpci_priv.h hv: deny the launch of VM if pass-thru PIO bar isn't identical mapping 2021-09-28 08:49:01 +08:00
vroot_port.c hv: dm: Use new virtual device management ioctls 2021-07-15 11:53:54 +08:00
vsriov.c hv/mod_timer: separate delay functions from the timer module 2021-05-18 16:43:28 +08:00