[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.