This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


RE: [Xen-devel] [PATCH] Fix hvm vcpu hotplug bug

Liu, Jinsong writes ("RE: [Xen-devel] [PATCH] Fix hvm vcpu hotplug bug"):
> I think qemu-xen should add this logic level, so that it can support
> more gpe events in the future.

Yes.  But what clears the interrupt ?  Is it edge or level triggered ?

> BTW, at qemu-kvm, it do same as our current patch:
>          qemu_set_irq(sci_irq, 1);
>          qemu_set_irq(sci_irq, 0);
> it triggers a sci pulse and works fine.

If this works fine it is just lucky, I think.  It has the same race as
the one you've identified.  Batching up the different events is just a
way to make the race probably not happen in that particular case.


Xen-devel mailing list