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

Re: [Xen-devel] how to properly reset event channel in PVonHVM after kexec boot



On Wed, Mar 14, Ian Campbell wrote:

> On Wed, 2012-03-14 at 10:52 +0000, Olaf Hering wrote:
> > What is the best way to reset all registered event channels after an
> > kexec boot in a PVonHVM guest? Right now repeated kexec boots will fail
> > after 1300 iterations because no more event channels can be registered.
> > 
> > EVTCHNOP_reset can not be used because it expects the domid, which the guest
> > does not know.
> 
> It appears that it accepts DOMID_SELF. It calls
> rcu_lock_target_domain_by_id which handles it explicitly.

Oh, I will see how it works then. It was not obvious to me that
DOMID_SELF is handled.

>From reading the code it appears that it could also reset
EVTCHNSTAT_interdomain, which would hang the guest. Thats why my patch
skips this state.

Olaf

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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