e spam folder.
Juergen
>
> Le 16 nov. 2015 6:47 AM, "Juergen Gross" <jgr...@suse.com
> <mailto:jgr...@suse.com>> a écrit :
>
> On 02/11/15 06:51, Juergen Gross wrote:
> > The Xen hypervisor supports starting a dom0 with large memory (up to
>
On 02/11/15 06:51, Juergen Gross wrote:
> The Xen hypervisor supports starting a dom0 with large memory (up to
> the TB range) by not including the initrd and p2m list in the initial
> kernel mapping. Especially the p2m list can grow larger than the
> available virtual space in the ini
Ping?
On 11/02/2015 06:51 AM, Juergen Gross wrote:
The Xen hypervisor supports starting a dom0 with large memory (up to
the TB range) by not including the initrd and p2m list in the initial
kernel mapping. Especially the p2m list can grow larger than the
available virtual space in the initial
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 <jgr...@suse.com>
---
, as the initial mapping is limited
to 2GB and it is containing the p2m list.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
grub-core/loader/i386/xen.c| 56 ++
grub-core/loader/i386/xen_fileXX.c | 3 ++
include/grub/xen_file.h|
mapping, but map it to the given address. This will
allow to support domains with larger memory, as the kernel mapping is
limited to 2GB and a domain with huge memory in the TB range will have
a p2m list larger than this.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
grub-core/loader/i386
(kernel supporting unmapped initrd and p2m)
- 900GB 64 bit domU (kernel supporting unmapped initrd and p2m)
Juergen Gross (6):
xen: factor out p2m list allocation into separate function
xen: factor out allocation of special pages into separate function
xen: factor out allocation of page tables
.
The interface to the assembler level of the relocator has to be changed
in order to be able to process multiple page table areas.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
grub-core/lib/i386/xen/relocator.S | 47 +++---
grub-core/lib/x86_64/xen/relocator.S | 41 +++--
grub-core/l
Do the allocation of page tables 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 <jgr...@suse.com>
---
grub-core/loader/i386/xen.
On 02/11/15 06:51, Juergen Gross wrote:
> The Xen hypervisor supports starting a dom0 with large memory (up to
> the TB range) by not including the initrd and p2m list in the initial
> kernel mapping. Especially the p2m list can grow larger than the
> available virtual space in the ini
Do the allocation of page tables 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 <jgr...@suse.com>
---
grub-core/loader/i386/xen.
as those are needed only in case of the p2m list not
being mapped by the initial kernel mapping.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
grub-core/loader/i386/xen.c | 70 ++---
1 file changed, 40 insertions(+), 30 deletions(-)
diff --git
.
The interface to the assembler level of the relocator has to be changed
in order to be able to process multiple page table areas.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
grub-core/lib/i386/xen/relocator.S | 47 +++---
grub-core/lib/x86_64/xen/relocator.S | 44 +++--
grub-core/l
, as the initial mapping is limited
to 2GB and it is containing the p2m list.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
grub-core/loader/i386/xen.c| 56 ++
grub-core/loader/i386/xen_fileXX.c | 3 ++
include/grub/xen_file.h|
(kernel supporting unmapped initrd and p2m)
- 900GB 64 bit domU (kernel supporting unmapped initrd and p2m)
Changes in V2:
- rebased patch 5 to current master
Juergen Gross (6):
xen: factor out p2m list allocation into separate function
xen: factor out allocation of special pages into separate
On 11/02/16 18:25, Daniel Kiper wrote:
> On Thu, Feb 11, 2016 at 03:13:40PM +0100, Juergen Gross wrote:
>> On 11/02/16 13:33, Daniel Kiper wrote:
>>> On Thu, Feb 11, 2016 at 08:53:24AM +0100, Juergen Gross wrote:
>>>> Modern pvops linux kernels support an ini
On 11/02/16 18:14, Daniel Kiper wrote:
> On Thu, Feb 11, 2016 at 01:53:51PM +0100, Juergen Gross wrote:
>> On 11/02/16 13:27, Daniel Kiper wrote:
>>> On Thu, Feb 11, 2016 at 08:53:23AM +0100, Juergen Gross wrote:
>>>> Do the allocation of page tables in a separate
On 11/02/16 18:09, Daniel Kiper wrote:
> On Thu, Feb 11, 2016 at 01:38:10PM +0100, Juergen Gross wrote:
>> On 11/02/16 13:19, Daniel Kiper wrote:
>>> On Thu, Feb 11, 2016 at 08:53:21AM +0100, Juergen Gross wrote:
>>>> Do the p2m list allocation of the to
mapping, but map it to the given address. This will
allow to support domains with larger memory, as the kernel mapping is
limited to 2GB and a domain with huge memory in the TB range will have
a p2m list larger than this.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
grub-core/loader/i386
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 <jgr...@suse.com>
---
On 11/02/16 13:47, Daniel Kiper wrote:
> On Thu, Feb 11, 2016 at 08:53:25AM +0100, Juergen Gross wrote:
>> Modify the page table construction to allow multiple virtual regions
>> to be mapped. This is done as preparation for removing the p2m list
>> from the initial ke
On 12/02/16 13:24, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
> On 11.02.2016 15:13, Juergen Gross wrote:
>> On 11/02/16 13:33, Daniel Kiper wrote:
>>> On Thu, Feb 11, 2016 at 08:53:24AM +0100, Juergen Gross wrote:
>>>> Modern pvops linux kernels support an initrd n
On 11/02/16 13:19, Daniel Kiper wrote:
> On Thu, Feb 11, 2016 at 08:53:21AM +0100, Juergen Gross wrote:
>> Do the p2m list allocation of the to be loaded kernel in a separate
>> function. This will allow doing the p2m list allocation at different
>> times of the boot p
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
On 11/02/16 13:27, Daniel Kiper wrote:
> On Thu, Feb 11, 2016 at 08:53:23AM +0100, Juergen Gross wrote:
>> Do the allocation of page tables in a separate function. This will
>> allow to do the allocation at different times of the boot preparations
>> depending on th
On 11/02/16 13:33, Daniel Kiper wrote:
> On Thu, Feb 11, 2016 at 08:53:24AM +0100, Juergen Gross wrote:
>> Modern pvops linux kernels support an initrd not covered by the initial
>> mapping. This capability is flagged by an elf-note.
>>
>> In case the elf-note is se
On 22/02/16 13:48, Daniel Kiper wrote:
> On Mon, Feb 22, 2016 at 01:30:30PM +0100, Juergen Gross wrote:
>> On 22/02/16 13:18, Daniel Kiper wrote:
>>> On Mon, Feb 22, 2016 at 10:29:04AM +0100, Juergen Gross wrote:
>>>> On 22/02/16 10:17, Daniel Kiper wrote:
>>&g
On 22/02/16 13:24, Daniel Kiper wrote:
> On Mon, Feb 22, 2016 at 10:18:38AM +0100, Juergen Gross wrote:
>> On 22/02/16 09:42, Daniel Kiper wrote:
>>> On Mon, Feb 22, 2016 at 07:03:17AM +0100, Juergen Gross wrote:
>>>> Modern pvops linux kernels support an ini
On 22/02/16 13:18, Daniel Kiper wrote:
> On Mon, Feb 22, 2016 at 10:29:04AM +0100, Juergen Gross wrote:
>> On 22/02/16 10:17, Daniel Kiper wrote:
>>> On Mon, Feb 22, 2016 at 07:03:18AM +0100, Juergen Gross wrote:
>>>> Modify the page table construction to
On 25/02/16 19:33, Andrei Borzenkov wrote:
> 22.02.2016 16:14, Juergen Gross пишет:
>> On 22/02/16 13:48, Daniel Kiper wrote:
>>> On Mon, Feb 22, 2016 at 01:30:30PM +0100, Juergen Gross wrote:
>>>> On 22/02/16 13:18, Daniel Kiper wrote:
>>>>> On Mon, Fe
On 26/02/16 16:41, Daniel Kiper wrote:
> On Fri, Feb 26, 2016 at 03:28:21PM +0100, Juergen Gross wrote:
>> On 26/02/16 15:00, Daniel Kiper wrote:
>>> On Thu, Feb 25, 2016 at 04:33:46PM +0100, Juergen Gross wrote:
>>>> On 25/02/16 13:47, Daniel Kiper wrote:
>>&g
Get actual version of include/xen/xen.h from the Xen repository in
order to be able to use constants defined there.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>
---
include/xen/arch-x86/xen-x86_32.h | 22 +++
include/xen/
, as the initial mapping is limited
to 2GB and it is containing the p2m list.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
V5: let call grub_xen_alloc_final() all subfunctions unconditionally
and let them decide whether they need to do anything
V4: rename grub_xen_all
.
The interface to the assembler level of the relocator has to be changed
in order to be able to process multiple page table areas.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
V4: align variables in assembly sources
use separate structure define as requested by Daniel Kiper
V
The loader for xen paravirtualized environment is using lots of global
variables. Reduce the number by making them either local or by putting
them into a single state structure.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>
--
by Daniel Kiper
- added new patch 4 (sync with new Xen headers) in order to use constants
in assembly code
- modified patch 9 (was patch 5) to use constants instead of numbers as
requested by Daniel Kiper
Changes in V2:
- rebased patch 5 to current master
Juergen Gross (11):
xen: make xen loader
When loading a Xen pv-kernel avoid memory leaks in case of errors.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
V5: set grub_errno to GRUB_ERR_NONE to avoid false error reports as requested
by Daniel Kiper
---
grub-core/loader/i386/xen.c| 2 +-
grub-core/loade
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 <jgr...@suse.com>
Re
for that purpose.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>
---
grub-core/loader/i386/xen_fileXX.c | 19 +--
include/xen/elfnote.h | 281 +
2 files changed, 291 insertions(+), 9 deletion
Do the allocation of page tables 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 <jgr...@suse.com>
Reviewed-by: Daniel Kiper <daniel.ki...@o
mapping, but map it to the given address. This will
allow to support domains with larger memory, as the kernel mapping is
limited to 2GB and a domain with huge memory in the TB range will have
a p2m list larger than this.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Reviewed-by: Daniel Kiper <
as those are needed only in case of the p2m list not
being mapped by the initial kernel mapping.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>
---
grub-core/loader/i386/xen.c | 87 ++---
1 file
The loader for xen paravirtualized environment isn't callable multiple
times as it won't free any memory in case of failure.
Call grub_relocator_unload() as other modules do it before allocating
a new relocator or when unloading the module.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Re
On 29/02/16 10:13, Juergen Gross wrote:
> On 25/02/16 19:33, Andrei Borzenkov wrote:
>> 22.02.2016 16:14, Juergen Gross пишет:
>>> On 22/02/16 13:48, Daniel Kiper wrote:
>>>> On Mon, Feb 22, 2016 at 01:30:30PM +0100, Juergen Gross wrote:
>>>>> On 22/0
On 29/02/16 16:43, Daniel Kiper wrote:
> On Mon, Feb 29, 2016 at 09:27:42AM +0100, Juergen Gross wrote:
>> On 26/02/16 16:41, Daniel Kiper wrote:
>>> On Fri, Feb 26, 2016 at 03:28:21PM +0100, Juergen Gross wrote:
>>>> On 26/02/16 15:00, Daniel Kiper wrote:
>>&g
On 26/02/16 15:00, Daniel Kiper wrote:
> On Thu, Feb 25, 2016 at 04:33:46PM +0100, Juergen Gross wrote:
>> On 25/02/16 13:47, Daniel Kiper wrote:
>>> On Thu, Feb 25, 2016 at 12:33:35PM +0100, Juergen Gross wrote:
>>>> Modern pvops linux kernels support an ini
On 25/02/16 13:47, Daniel Kiper wrote:
> On Thu, Feb 25, 2016 at 12:33:35PM +0100, Juergen Gross wrote:
>> Modern pvops linux kernels support an initrd not covered by the initial
>> mapping. This capability is flagged by an elf-note.
>>
>> In case the elf-note is se
as those are needed only in case of the p2m list not
being mapped by the initial kernel mapping.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
grub-core/loader/i386/xen.c | 87 ++---
1 file changed, 50 insertions(+), 37 deletions(-)
diff --git
for that purpose.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
grub-core/loader/i386/xen_fileXX.c | 19 +--
include/xen/elfnote.h | 281 +
2 files changed, 291 insertions(+), 9 deletions(-)
create mode 100644 include/xen/elfnote.h
diff --git
, as the initial mapping is limited
to 2GB and it is containing the p2m list.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
grub-core/loader/i386/xen.c| 61 ++
grub-core/loader/i386/xen_fileXX.c | 3 ++
include/grub/xen_file.h|
in V2:
- rebased patch 5 to current master
Juergen Gross (10):
xen: make xen loader callable multiple times
xen: reduce number of global variables in xen loader
xen: add elfnote.h to avoid using numbers instead of constants
xen: synchronize xen header
xen: factor out p2m list allocation
mapping, but map it to the given address. This will
allow to support domains with larger memory, as the kernel mapping is
limited to 2GB and a domain with huge memory in the TB range will have
a p2m list larger than this.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
grub-core/loader/i386
Get actual version of include/xen/xen.h from the Xen repository in
order to be able to use constants defined there.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
include/xen/arch-x86/xen-x86_32.h | 22 +++
include/xen/arch-x86/xen-x86_64.h | 8 +--
include/xen
Do the allocation of page tables 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 <jgr...@suse.com>
---
grub-core/loader/i386/xen.
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 <jgr...@suse.com>
---
The loader for xen paravirtualized environment is using lots of global
variables. Reduce the number by making them either local or by putting
them into a single state structure.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
grub-core/loader/i386/xen.c
.
The interface to the assembler level of the relocator has to be changed
in order to be able to process multiple page table areas.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
V3: use constants instead of numbers as requested by Daniel Kiper
add lots of comments to assembly code as req
The loader for xen paravirtualized environment isn't callable multiple
times as it won't free any memory in case of failure.
Call grub_relocator_unload() as other modules do it before allocating
a new relocator or when unloading the module.
Signed-off-by: Juergen Gross <jgr...@suse.
On 18/02/16 11:12, Daniel Kiper wrote:
> On Wed, Feb 17, 2016 at 06:19:28PM +0100, Juergen Gross wrote:
>> The loader for xen paravirtualized environment isn't callable multiple
>> times as it won't free any memory in case of failure.
>>
>> Call grub_relocator_u
On 18/02/16 11:22, Daniel Kiper wrote:
> On Wed, Feb 17, 2016 at 06:19:29PM +0100, Juergen Gross wrote:
>> The loader for xen paravirtualized environment is using lots of global
>> variables. Reduce the number by making them either local or by putting
>> them into a s
On 18/02/16 11:30, Daniel Kiper wrote:
> On Wed, Feb 17, 2016 at 06:19:30PM +0100, Juergen Gross wrote:
>> Various features and parameters of a pv-kernel are specified via
>> elf notes in the kernel image. Those notes are part of the interface
>> between the Xen hype
On 18/02/16 12:18, Daniel Kiper wrote:
> On Wed, Feb 17, 2016 at 06:19:35PM +0100, Juergen Gross wrote:
>> Modern pvops linux kernels support an initrd not covered by the initial
>> mapping. This capability is flagged by an elf-note.
>>
>> In case the elf-note is se
On 18/02/16 18:00, Lennart Sorensen wrote:
> On Thu, Feb 18, 2016 at 11:34:49AM +0100, Juergen Gross wrote:
>> On 18/02/16 11:22, Daniel Kiper wrote:
>>> On Wed, Feb 17, 2016 at 06:19:29PM +0100, Juergen Gross wrote:
>>>> The loader for xen paravirtualized envir
On 18/02/16 17:40, Daniel Kiper wrote:
> On Wed, Feb 17, 2016 at 06:19:36PM +0100, Juergen Gross wrote:
>> Modify the page table construction to allow multiple virtual regions
>> to be mapped. This is done as preparation for removing the p2m list
>> from the initial ke
On 18/02/16 17:58, Daniel Kiper wrote:
> On Thu, Feb 18, 2016 at 11:32:16AM +0100, Juergen Gross wrote:
>> On 18/02/16 11:12, Daniel Kiper wrote:
>>> On Wed, Feb 17, 2016 at 06:19:28PM +0100, Juergen Gross wrote:
>>>> The loader for xen paravirtualized envir
On 22/02/16 09:24, Daniel Kiper wrote:
> On Mon, Feb 22, 2016 at 07:03:10AM +0100, Juergen Gross wrote:
>> When loading a Xen pv-kernel avoid memory leaks in case of errors.
>>
>> Signed-off-by: Juergen Gross <jgr...@suse.com>
>> ---
>> grub-core/loader/
On 22/02/16 09:42, Daniel Kiper wrote:
> On Mon, Feb 22, 2016 at 07:03:17AM +0100, Juergen Gross wrote:
>> Modern pvops linux kernels support an initrd not covered by the initial
>> mapping. This capability is flagged by an elf-note.
>>
>> In case the elf-note is se
, as the initial mapping is limited
to 2GB and it is containing the p2m list.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>
---
V4: rename grub_xen_alloc_end() to grub_xen_alloc_final()
---
grub-core/loader/i386/xen.c
The loader for xen paravirtualized environment is using lots of global
variables. Reduce the number by making them either local or by putting
them into a single state structure.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>
--
When loading a Xen pv-kernel avoid memory leaks in case of errors.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
grub-core/loader/i386/xen.c| 2 +-
grub-core/loader/i386/xen_fileXX.c | 17 +++--
2 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/gru
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 <jgr...@suse.com>
Re
for that purpose.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>
---
grub-core/loader/i386/xen_fileXX.c | 19 +--
include/xen/elfnote.h | 281 +
2 files changed, 291 insertions(+), 9 deletion
) as requested by Daniel Kiper
- added new patch 4 (sync with new Xen headers) in order to use constants
in assembly code
- modified patch 9 (was patch 5) to use constants instead of numbers as
requested by Daniel Kiper
Changes in V2:
- rebased patch 5 to current master
Juergen Gross (11):
xen
The loader for xen paravirtualized environment isn't callable multiple
times as it won't free any memory in case of failure.
Call grub_relocator_unload() as other modules do it before allocating
a new relocator or when unloading the module.
Signed-off-by: Juergen Gross <jgr...@suse.com>
.
The interface to the assembler level of the relocator has to be changed
in order to be able to process multiple page table areas.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
V4: align variables in assembly sources
use separate structure define as requested by Daniel Kiper
V
mapping, but map it to the given address. This will
allow to support domains with larger memory, as the kernel mapping is
limited to 2GB and a domain with huge memory in the TB range will have
a p2m list larger than this.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Reviewed-by: Daniel Kiper <
Get actual version of include/xen/xen.h from the Xen repository in
order to be able to use constants defined there.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>
---
include/xen/arch-x86/xen-x86_32.h | 22 +++
include/xen/
On 22/02/16 10:17, Daniel Kiper wrote:
> On Mon, Feb 22, 2016 at 07:03:18AM +0100, Juergen Gross wrote:
>> Modify the page table construction to allow multiple virtual regions
>> to be mapped. This is done as preparation for removing the p2m list
>> from the initial ke
On 01/03/16 04:52, Andrei Borzenkov wrote:
> 29.02.2016 15:19, Juergen Gross пишет:
>> On 29/02/16 10:13, Juergen Gross wrote:
>>> On 25/02/16 19:33, Andrei Borzenkov wrote:
>>>> 22.02.2016 16:14, Juergen Gross пишет:
>>>>> On 22/02/16 13:48, Daniel K
Get actual version of include/xen/xen.h from the Xen repository in
order to be able to use constants defined there.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>
---
include/xen/arch-x86/xen-x86_32.h | 22 +++
include/xen/
When loading a Xen pv-kernel avoid memory leaks in case of errors.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>
---
V5: set grub_errno to GRUB_ERR_NONE to avoid false error reports as requested
by Daniel Kiper
---
grub-core
The loader for xen paravirtualized environment is using lots of global
variables. Reduce the number by making them either local or by putting
them into a single state structure.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>
--
The loader for xen paravirtualized environment isn't callable multiple
times as it won't free any memory in case of failure.
Call grub_relocator_unload() as other modules do it before allocating
a new relocator or when unloading the module.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Re
for that purpose.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>
---
grub-core/loader/i386/xen_fileXX.c | 19 +--
include/xen/elfnote.h | 281 +
2 files changed, 291 insertions(+), 9 deletion
in V2:
- rebased patch 5 to current master
Juergen Gross (11):
xen: make xen loader callable multiple times
xen: avoid memleaks on error
xen: reduce number of global variables in xen loader
xen: add elfnote.h to avoid using numbers instead of constants
xen: synchronize xen header
xen
as those are needed only in case of the p2m list not
being mapped by the initial kernel mapping.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>
---
grub-core/loader/i386/xen.c | 87 ++---
1 file
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 <jgr...@suse.com>
Re
, as the initial mapping is limited
to 2GB and it is containing the p2m list.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>
---
V6: rename grub_xen_alloc_final() to grub_xen_alloc_boot_data()
V5: let call grub_xen_alloc_final() all
Do the allocation of page tables 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 <jgr...@suse.com>
Reviewed-by: Daniel Kiper <daniel.ki...@o
.
The interface to the assembler level of the relocator has to be changed
in order to be able to process multiple page table areas.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>
---
V4: align variables in assembly sources
use separa
mapping, but map it to the given address. This will
allow to support domains with larger memory, as the kernel mapping is
limited to 2GB and a domain with huge memory in the TB range will have
a p2m list larger than this.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Reviewed-by: Daniel Kiper <
On 11/03/16 16:47, Vladimir 'phcoder' Serbinenko wrote:
>
>
> On Wednesday, March 9, 2016, Daniel Kiper <daniel.ki...@oracle.com
> <mailto:daniel.ki...@oracle.com>> wrote:
>
> On Thu, Mar 03, 2016 at 03:47:17PM +0100, Juergen Gross wrote:
> >
On 02/03/16 17:51, Daniel Kiper wrote:
> Currently multiboot2 protocol loads image exactly at address specified in
> ELF or multiboot2 header. This solution works quite well on legacy BIOS
> platforms. It is possible because memory regions are placed at predictable
> addresses (though I was not
On 02/03/16 10:12, Daniel Kiper wrote:
> On Mon, Feb 29, 2016 at 01:19:27PM +0100, Juergen Gross wrote:
>> On 29/02/16 10:13, Juergen Gross wrote:
>>> On 25/02/16 19:33, Andrei Borzenkov wrote:
>>>> 22.02.2016 16:14, Juergen Gross пишет:
>>>>> On 22/0
On 02/03/16 08:56, Daniel Kiper wrote:
> On Tue, Mar 01, 2016 at 08:55:09AM +0100, Juergen Gross wrote:
>> Modern pvops linux kernels support an initrd not covered by the initial
>> mapping. This capability is flagged by an elf-note.
>>
>> In case the elf-note is se
Get actual version of include/xen/xen.h from the Xen repository in
order to be able to use constants defined there.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>
---
include/xen/arch-x86/xen-x86_32.h | 22 +++
include/xen/
Do the allocation of page tables 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 <jgr...@suse.com>
Reviewed-by: Daniel Kiper <daniel.ki...@o
) as requested by Daniel Kiper
- added new patch 4 (sync with new Xen headers) in order to use constants
in assembly code
- modified patch 9 (was patch 5) to use constants instead of numbers as
requested by Daniel Kiper
Changes in V2:
- rebased patch 5 to current master
Juergen Gross (11):
xen: make
as those are needed only in case of the p2m list not
being mapped by the initial kernel mapping.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>
---
grub-core/loader/i386/xen.c | 87 ++---
1 file
The loader for xen paravirtualized environment isn't callable multiple
times as it won't free any memory in case of failure.
Call grub_relocator_unload() as other modules do it before allocating
a new relocator or when unloading the module.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Re
1 - 100 of 299 matches
Mail list logo