Re: [PATCH 6/7] xen: Enable PV clocksource for HVM

From: Ian Campbell
Date: Thu Mar 04 2010 - 15:25:18 EST


On Thu, 2010-03-04 at 09:40 -0800, Jeremy Fitzhardinge wrote:
>
> > +
> > +static void __init init_pv_clocksource(void)
> > +{
> > + if (enable_hvm_pv(HVM_PV_CLOCK))
> > + BUG();
> >
>
> BUG is a bit severe. Will it really never, ever fail?

When running on a hypervisor without these extension, for example.

Ian.
--
Ian Campbell

My polyvinyl cowboy wallet was made in Hong Kong by Montgomery Clift!

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/