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

2014-12-01 Thread Tiejun Chen
We need to use reserved device memory maps with multiple times, so provide just one common function should be friend. Signed-off-by: Tiejun Chen --- tools/firmware/hvmloader/util.c | 59 + tools/firmware/hvmloader/util.h | 2 ++ 2 files changed, 61 insert

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

2014-12-02 Thread Tian, Kevin
> From: Chen, Tiejun > Sent: Monday, December 01, 2014 5:24 PM > > We need to use reserved device memory maps with multiple times, so > provide just one common function should be friend. > > Signed-off-by: Tiejun Chen > --- > tools/firmware/hvmloader/util.c | 59 > ++

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

2014-12-02 Thread Konrad Rzeszutek Wilk
On Mon, Dec 01, 2014 at 05:24:25PM +0800, Tiejun Chen wrote: > We need to use reserved device memory maps with multiple times, so > provide just one common function should be friend. We need to call reserved device memory maps hypercall (XENMEM_reserved_device_memory_map) many times, hence provide

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

2014-12-04 Thread Jan Beulich
>>> On 01.12.14 at 10:24, 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. J

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

2014-12-07 Thread Chen, Tiejun
On 2014/12/2 16:59, Tian, Kevin wrote: From: Chen, Tiejun Sent: Monday, December 01, 2014 5:24 PM We need to use reserved device memory maps with multiple times, so provide just one common function should be friend. Signed-off-by: Tiejun Chen --- tools/firmware/hvmloader/util.c | 59

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

2014-12-08 Thread Chen, Tiejun
On 2014/12/3 4:01, Konrad Rzeszutek Wilk wrote: On Mon, Dec 01, 2014 at 05:24:25PM +0800, Tiejun Chen wrote: We need to use reserved device memory maps with multiple times, so provide just one common function should be friend. We need to call reserved device memory maps hypercall (XENMEM_reser

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

2014-12-08 Thread Chen, Tiejun
On 2014/12/8 16:09, Chen, Tiejun wrote: On 2014/12/3 4:01, Konrad Rzeszutek Wilk wrote: On Mon, Dec 01, 2014 at 05:24:25PM +0800, Tiejun Chen wrote: We need to use reserved device memory maps with multiple times, so provide just one common function should be friend. We need to call reserved d

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

2014-12-08 Thread Chen, Tiejun
On 2014/12/4 23:52, Jan Beulich wrote: On 01.12.14 at 10:24, 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 func

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

2014-12-08 Thread Jan Beulich
>>> On 08.12.14 at 09:52, wrote: > On 2014/12/4 23:52, Jan Beulich wrote: > On 01.12.14 at 10:24, 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 i