[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 05/10] xen/arm: vpl011: Allocate a new PFN in the toolstack for the virtual console





On 19/04/17 14:05, Bhupinder Thakur wrote:
Hi,

Hi Bhupinder,

On 19 April 2017 at 16:31, Julien Grall <julien.grall@xxxxxxx> wrote:
There were some concerns on the first version about using HVM params because
this is tying the virtual UART to HVM and only allow us to have one virtual
console.

HVM params are part of the stable ABI, so this would restrict ourselves to
future extension.

It was suggested to look at the DOMCTL way, I would have expected to some
investigation and a summary in the cover letter. So why do we keep HVM
PARAM?

It is more flexible to use DOMCTL interface in terms of supporting
multiple vUARTs in future without changing the interface. This DOMCTL
interface cannot be called from xenconsoled though because xenconsoled
does not know the PFN to be passed to Xen. It is ok to call this
DOMCTL interface from the toolstack since it knows the PFN and can
pass it on to Xen.

I am not sure to understand what you mean. The DOMCTL could be used to set the PFN by the toolstack and then retrieved by the console.

You could also use xenstore to pass the PFN. So what is the problem?

Cheers,

--
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.