[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] use of struct hvm_mirq_dpci_mapping.gmsi vs. HVM_IRQ_DPCI_*_MSI flags
See comments below. 2011/3/31 Jan Beulich <JBeulich@xxxxxxxxxx> pt_irq_create_bind_vtd() initializes this substructure only when setting I think these fields are introduced by MSI-to-gINTx patch. MACH_MSI means the host (physical) is using MSI, while GUEST_MSI is just what we can guess from its name.
I agree only checking MACH_MSI is not enough.
I also agree. But I think better Allen could do the final judgement. Thanks!
The purpuse is described in the check in notes: # HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1239806337 -3600 # Node ID 3e64dfebabd7340f5852ad112c858efcebc9cae5 # Parent b2c43b0fba713912d8ced348b5d628743e52d8be passthrough: allow pt_bind_irq for msi update Extend pt_bind_irq to handle the update of msi guest vector and flag. Unbind and rebind using separate hypercalls may not be viable sometime. For example, the guest may update MSI address/data on fly without disabling it first (e.g. change delivery/destination), implement these updates in such a way may result in interrupt loss. Signed-off-by: Qing He <qing.he@xxxxxxxxx>
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |