[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [V10 PATCH 08/23] PVH xen: Introduce PVH guest type and some basic changes.
On Wed, Aug 7, 2013 at 10:14 AM, George Dunlap <george.dunlap@xxxxxxxxxxxxx> wrote: >> And the changelog does say it: >> >> "Note, we drop the const qualifier from vcpu_show_registers() to >> accomodate the hvm function call in guest_kernel_mode()." > > > I said *exact function*. guest_kernel_mode() doesn't need it non-const; it > needs it because of a function that it calls. That in turn doesn't need it > non-const either -- it needs it because of the next one down. Who > *actually* needs vcpu to be non-const, way down at the bottom? That's what > I need to know to understand why we can't just change each of those > functions to const all the way down. The general principle here is that you have already done the work of tracing through the code to figure out what's going on; you should cache that information in the commit log so that reviewers (and people doing archaeology) don't need to duplicate the effort. -George _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |