[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 11/19] xen: get memory map from hypervisor for PVH
From: |
Daniel Kiper |
Subject: |
Re: [PATCH v4 11/19] xen: get memory map from hypervisor for PVH |
Date: |
Fri, 9 Nov 2018 19:35:07 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Nov 02, 2018 at 01:37:30PM +0100, Juergen Gross wrote:
> Retrieve the memory map from the hypervisor and normalize it to contain
> no overlapping entries and to be sorted by address.
>
> Signed-off-by: Juergen Gross <address@hidden>
One nit pick below. Otherwise
Reviewed-by: Daniel Kiper <address@hidden>
> ---
> V3: use grub_e820_mmap_entry instead of own struct (Daniel Kiper)
> ---
> grub-core/kern/i386/xen/pvh.c | 96
> ++++++++++++++++++++++++++++++++++++++++++-
> 1 file changed, 95 insertions(+), 1 deletion(-)
>
> diff --git a/grub-core/kern/i386/xen/pvh.c b/grub-core/kern/i386/xen/pvh.c
> index 7e90a4538..58e6fefd5 100644
> --- a/grub-core/kern/i386/xen/pvh.c
> +++ b/grub-core/kern/i386/xen/pvh.c
> @@ -23,9 +23,14 @@
> #include <grub/i386/cpuid.h>
> #include <grub/i386/io.h>
> #include <grub/xen.h>
> +#include <grub/i386/linux.h>
> #include <grub/machine/kernel.h>
> +#include <grub/machine/memory.h>
> +#include <xen/memory.h>
>
> -#define XEN_CONSOLE_PORT 0xe9
> +#define XEN_CONSOLE_PORT 0xe9
Probably this will disappear but if not please put properly aligned
values in earlier patch to avoid such code shuffling.
Daniel
- Re: [PATCH v4 17/19] xen_pvh: support building a standalone image, (continued)
- [PATCH v4 15/19] xen_pvh: add build runes for grub-core, Juergen Gross, 2018/11/02
- [PATCH v4 19/19] xen_pvh: add support to configure, Juergen Gross, 2018/11/02
- [PATCH v4 13/19] xen: setup Xen specific data for PVH, Juergen Gross, 2018/11/02
- [PATCH v4 09/19] xen: add PVH boot entry code, Juergen Gross, 2018/11/02
- [PATCH v4 11/19] xen: get memory map from hypervisor for PVH, Juergen Gross, 2018/11/02
- [PATCH v4 06/19] xen: rearrange xen/init.c to prepare it for Xen PVH mode, Juergen Gross, 2018/11/02
- [PATCH v4 08/19] xen: add basic hooks for PVH in current code, Juergen Gross, 2018/11/02
- [PATCH v4 02/19] loader/linux: support passing rsdp address via boot params, Juergen Gross, 2018/11/02
- [PATCH v4 10/19] xen: setup hypercall page for PVH, Juergen Gross, 2018/11/02