[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 2/6] xen: factor out allocation of special pages into sepa
From: |
Juergen Gross |
Subject: |
Re: [PATCH v2 2/6] xen: factor out allocation of special pages into separate function |
Date: |
Thu, 11 Feb 2016 13:38:46 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 |
On 11/02/16 13:21, Daniel Kiper wrote:
> On Thu, Feb 11, 2016 at 08:53:22AM +0100, Juergen Gross wrote:
>> Do the allocation of special pages (start info, console and xenbus
>> ring buffers) in a separate function. This will allow to do the
>> allocation at different times of the boot preparations depending on
>> the features the kernel is supporting.
>>
>> Signed-off-by: Juergen Gross <address@hidden>
>> ---
>> grub-core/loader/i386/xen.c | 50
>> +++++++++++++++++++++++++++++----------------
>> 1 file changed, 32 insertions(+), 18 deletions(-)
>>
>> diff --git a/grub-core/loader/i386/xen.c b/grub-core/loader/i386/xen.c
>> index 42ed7c7..e48cc3f 100644
>> --- a/grub-core/loader/i386/xen.c
>> +++ b/grub-core/loader/i386/xen.c
>> @@ -54,6 +54,8 @@ static grub_uint64_t modules_target_start;
>> static grub_size_t n_modules;
>> static struct grub_relocator_xen_state state;
>> static grub_xen_mfn_t *virt_mfn_list;
>> +static struct start_info *virt_start_info;
>> +static grub_xen_mfn_t console_pfn;
>
> Same as in patch #1.
Same answer. :-)
Juergen
- [PATCH v2 0/6] grub-xen: support booting huge pv-domains, Juergen Gross, 2016/02/11
- [PATCH v2 2/6] xen: factor out allocation of special pages into separate function, Juergen Gross, 2016/02/11
- [PATCH v2 6/6] xen: add capability to load p2m list outside of kernel mapping, Juergen Gross, 2016/02/11
- [PATCH v2 4/6] xen: add capability to load initrd outside of initial mapping, Juergen Gross, 2016/02/11
- Re: [PATCH v2 4/6] xen: add capability to load initrd outside of initial mapping, Vladimir 'φ-coder/phcoder' Serbinenko, 2016/02/12
- Re: [PATCH v2 4/6] xen: add capability to load initrd outside of initial mapping, Juergen Gross, 2016/02/12
[PATCH v2 1/6] xen: factor out p2m list allocation into separate function, Juergen Gross, 2016/02/11