Re: [Xen-devel] [PATCH v6 3/5] shutdown: Add source information to SHUTDOWN and RESET

2017-05-10 Thread David Gibson
On Mon, May 08, 2017 at 09:32:42AM -0500, Eric Blake wrote: > On 05/08/2017 12:26 AM, David Gibson wrote: > > On Fri, May 05, 2017 at 02:38:08PM -0500, Eric Blake wrote: > >> Time to wire up all the call sites that request a shutdown or > >> reset to use the enum added in the previous patch. > >>

Re: [Xen-devel] [PATCH v6 3/5] shutdown: Add source information to SHUTDOWN and RESET

2017-05-08 Thread Eric Blake
On 05/08/2017 12:26 AM, David Gibson wrote: > On Fri, May 05, 2017 at 02:38:08PM -0500, Eric Blake wrote: >> Time to wire up all the call sites that request a shutdown or >> reset to use the enum added in the previous patch. >> >> It would have been less churn to keep the common case with no >>

Re: [Xen-devel] [PATCH v6 3/5] shutdown: Add source information to SHUTDOWN and RESET

2017-05-07 Thread David Gibson
On Fri, May 05, 2017 at 02:38:08PM -0500, Eric Blake wrote: > Time to wire up all the call sites that request a shutdown or > reset to use the enum added in the previous patch. > > It would have been less churn to keep the common case with no > arguments as meaning guest-triggered, and only

[Xen-devel] [PATCH v6 3/5] shutdown: Add source information to SHUTDOWN and RESET

2017-05-05 Thread Eric Blake
Time to wire up all the call sites that request a shutdown or reset to use the enum added in the previous patch. It would have been less churn to keep the common case with no arguments as meaning guest-triggered, and only modified the host-triggered code paths, via a wrapper function, but then