On Mon, 16 Sep 2019, Wei Liu wrote:
> On Fri, Sep 13, 2019 at 11:39:53AM +0100, Julien Grall wrote:
> > At the moment, early printk can only be configured on the make command
> > line. It is not very handy because a user has to remove the option
> > everytime it is using another command other than compiling the
> > hypervisor.
> > 
> > Furthermore, early printk is one of the few odds one that are not using
> > Kconfig.
> > 
> > So this is about time to move it to Kconfig. For now, a skeleton is
> > added with one example based on Cadence UART. Follow-up will continue to
> > convert all the options to Kconfig.
> > 
> > Because Kconfig will prefix all the config by CONFIG_, it is necessary
> > to adapt the define within the code.
> > 
> > Signed-off-by: Julien Grall <julien.gr...@arm.com>
> > 
> > ---
> > 
> > I have sent it as RFC because this is not complete. I will convert the
> > rest once we agree the approach is correct.
> 
> Having a top-level Kconfig.debug and includes arch specific rules is how
> Linux does it (albeit with different directory structure), so I think
> we're just following the norm here. No objection from me.

I agree

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to