On Wed, Oct 12, 2016 at 09:29:04AM -0400, Konrad Rzeszutek Wilk wrote:
> > Wouldn't it be just as easy, and more useful, to set a "has been
> > livepatched" flag, and return errors for all gcov hypercalls if its' set?
> > I would expect most users to want to build a single hypervisor that can
> > be used for both gcov testing and live patching (under different
> > circumstances).
> I actually would welcome livepatching and gcov to see if the test-cases I
> cover most of the code.
I don't follow. Gcov doesn't give you a call graph -- if that's what
> Adding in checking livepatch (common/livepatch.c: prepare_payload) to examine
> the .gcov_info and see if it matches the hypervisor one, is fine too.
This then involves a non-trivial amount of work to figure out all the
corner cases. It's better to defer that to a later stage.
> > -George
Xen-devel mailing list