Keir,
It’s a resending patch for the timeout mechanism
to deal with the shared interrupt issue for vt-d enabled hvm guest.
We modify the patch following your comments last time
and make some other small fix:
1) We
don’t touch the locking around the hvm_dpci_eoi().
2) Remove
the HZ from the TIME_OUT_PERIOD macro which may confuse others.
3) Add
some explanation to the return value for the hvm_pci_intx_assert(), and the
has_timer parameter for the hvm_dpci_eoi.
We have tested it with shared interrupt between dom0/HVM(pcie/disk)
and HVM/HVM(pcie/pcie).
Signed-off-by:
Xin, Xiaohui<xiaohui.xin@xxxxxxxxx
Signed-off-by:
Kevin Tian <kevin.tian@xxxxxxxxx>