[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xen vtd : set msi guest_masked 0 by default
2016-01-26 20:56 GMT+08:00 Jan Beulich <JBeulich@xxxxxxxx>: >>> On 26.01.16 at 02:34, <changjzh@xxxxxxxxx> wrote: If irq is owned by guest,in function msi_set_mask_bit(): ... bool_t flag = host || guest; //The flag should be true. ... writel(flag, entry->mask_base + PCI_MSIX_ENTRY_VECTOR_CTRL_OFFSET); ... PCI device can not generate interrrupt. windows guest can not change vector_ctrl_mask, guest os get abnormal status of nic. > @@ -972,7 +972,7 @@ static int msix_capability_init(struct pci_dev *dev, Msi guest_masked is set to 0 in the original code, only msi-x guest_masked is modifed in msix_capability_init() function by patch.
This issue appears after commited the variable guest_mask. Initialization operations of pci device may be changed in windows guest,or Xen need to change the initial state of vtd pci device. -- Jianzhong,Chang _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |