[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH v4 5/7] tools, libxl: parse optional start gfn from the iomem config option
- To: Arianna Avanzini <avanzini.arianna@xxxxxxxxx>
- From: Julien Grall <julien.grall@xxxxxxxxxx>
- Date: Tue, 25 Mar 2014 15:45:08 +0000
- Cc: julien.grall@xxxxxxxxxx, paolo.valente@xxxxxxxxxx, keir@xxxxxxx, stefano.stabellini@xxxxxxxxxxxxx, tim@xxxxxxx, dario.faggioli@xxxxxxxxxx, Ian.Jackson@xxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxx, Ian.Campbell@xxxxxxxxxxxxx, etrudeau@xxxxxxxxxxxx, JBeulich@xxxxxxxx, viktor.kleinik@xxxxxxxxxxxxxxx
- Delivery-date: Tue, 25 Mar 2014 15:45:20 +0000
- List-id: Xen developer discussion <xen-devel.lists.xen.org>
On 03/25/2014 03:39 PM, Julien Grall wrote:
>> + case 3: break;
>> + case 2:
>> + /* default to 1:1 mapping */
>> + b_info->iomem[i].gfn = b_info->iomem[i].start;
>> + break;
>
> If the iomem_range is initialized with the default value. You can defer
> this initialization in libxl.
To be more precise, I would move this set in
libxl__domain_build_info_setdefault.
Regards,
--
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|