On Mon, Nov 30, 2020 at 11:00:23AM +0100, Jan Beulich wrote: > On 28.11.2020 18:14, Manuel Bouyer wrote: > > On Sat, Nov 28, 2020 at 03:53:11PM +0100, Roger Pau Monné wrote: > >>> the trace is at > >>> http://www-soc.lip6.fr/~bouyer/xen-log13.txt > >> > >> Thanks! I think I've found the issue and I'm attaching a possible fix > >> (fix.patch) to this email. In any case I've also attached a further > >> debug patch, in case the fix turns out to be wrong. Please test the > >> fix first, as the debug patch will end up triggering a panic when the > >> buffer is full. > > > > Yes, fix.patch does make the system boot as expected ! > > May I translate this to a Tested-by? > > Patch also > Reviewed-by: Jan Beulich <jbeul...@suse.com> > > Thanks much to both of you for all the effort here!
Also, please don't forget the attached patch ! Without it, the hypervisor panics. -- Manuel Bouyer <bou...@antioche.eu.org> NetBSD: 26 ans d'experience feront toujours la difference --
diff --git a/xen/drivers/vpci/msix.c b/xen/drivers/vpci/msix.c index 64dd0a929c..3eb6102a61 100644 --- xen/drivers/vpci/msix.c.orig +++ xen/drivers/vpci/msix.c @@ -370,7 +370,7 @@ static int msix_write(struct vcpu *v, unsigned long addr, unsigned int len, entry->updated = false; } - else + else if ( msix->enabled ) vpci_msix_arch_mask_entry(entry, pdev, entry->masked); break;