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

Re: [Xen-devel] [v8][PATCH 07/17] hvmloader/util: get reserved device memory maps

>>> On 08.12.14 at 09:52, <tiejun.chen@xxxxxxxxx> wrote:
> On 2014/12/4 23:52, Jan Beulich wrote:
>>>>> On 01.12.14 at 10:24, <tiejun.chen@xxxxxxxxx> wrote:
>>> We need to use reserved device memory maps with multiple times, so
>>> provide just one common function should be friend.
>> I'm not going to repeat earlier comments; the way this is done right
>> now it's neither a proper runtime function nor a proper init time one.
> Actually I tried to do this in runtime as I comments in patch head. But 
> maybe you hope I should return rdm_map directly, and nr_entries as a 
> in/out parameter, right?

As said numerous times before - either you invoke the function
once (early on) and subsequently access the retrieved data via
global variables, or each invocation returns both the count and
the array (which, if any, of them via return value and which via
indirection is secondary).


Xen-devel mailing list



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