acrn-hypervisor/hypervisor/common
Qian Wang aee4515ff0 HV: restrict conditions to assign/deassign pcidev
hv: hypercall: restrict the condition to assign/deassign a pci device to
a post-launched VM for safety

For the safety of post-launched VMs, pci devices assignments should
occur only when VM is being created (at VM_CREATED STATUS), and pci
devices de-assignment should occur only when VM is being created or
shutdown/reset (at VM_CREATED or VM_PAUSED status)

Tracked-On: #4995
Acked-by: Eddie Done <eddie.dong@intel.com>
Reviewed-by: Li Fei <Fei1.Li@intel.com>
Signed-off-by: Wang Qian <qian1.wang@intel.com>
2020-07-01 16:19:05 +08:00
..
event.c hv: reset vcpu events in reset_vcpu 2020-02-23 16:27:57 +08:00
hv_main.c hv:cleanup vcpu state 2020-05-21 15:08:49 +08:00
hypercall.c HV: restrict conditions to assign/deassign pcidev 2020-07-01 16:19:05 +08:00
ptdev.c hv: ptirq: associate an irte with ptirq_remapping_info entry 2020-06-16 08:52:56 +08:00
sched_bvt.c hv: list: rename list_entry to container_of 2020-03-31 10:57:47 +08:00
sched_iorr.c hv: sched_iorr: add some interfaces implementation of sched_iorr 2019-12-11 09:31:39 +08:00
sched_noop.c hv: sched: decouple scheduler from schedule framework 2019-10-25 13:00:21 +08:00
schedule.c hv: sched_bvt: add BVT scheduler 2020-02-25 09:11:32 +08:00
softirq.c softirq: move softirq from hv_main to interrupt context 2019-07-22 09:55:06 +08:00
trusty_hypercall.c hv: rename the ACRN_DBG_XXX 2020-01-14 10:21:23 +08:00
vm_load.c gpa2hva: add INVAVLID_HPA return value check 2020-05-06 11:29:30 +08:00