Re: [Xen-devel] [PATCH] kexec-tools: Read always one vmcoreinfo file

2014-11-13 Thread Daniel Kiper
Hi Petr, On Thu, Nov 13, 2014 at 04:51:48PM +0100, Petr Tesarik wrote: Hi all, this thread got somehow forgotten because of vacations... Anyway, read below. On Tue, 24 Jul 2012 15:54:10 +0200 Daniel Kiper daniel.ki...@oracle.com wrote: On Tue, Jul 24, 2012 at 10:18:34AM +0200, Petr

Re: [Xen-devel] delaying 4.4.2 and 4.3.4

2014-11-18 Thread Daniel Kiper
On Thu, Nov 13, 2014 at 09:05:47AM +, Jan Beulich wrote: All, while the 3 month period since the previous stable releases would expire at the beginning of December, looking at the number of changes in the stable trees I don't think starting preparations right now would make much sense.

Re: [Xen-devel] Backport request for tools/hotplug: set mtu from bridge for tap interface

2014-11-19 Thread Daniel Kiper
On Tue, Nov 18, 2014 at 06:24:31PM +, Ian Jackson wrote: Daniel Kiper writes (Re: [Xen-devel] delaying 4.4.2 and 4.3.4): By the way, what I should do to have commit f3f5f1927f0d3aef9e3d2ce554dbfa0de73487d5 (tools/hotplug: set mtu from bridge for tap interface) in at least Xen 4.3? I

[Xen-devel] [PATCH for-xen-4.5 2/3] gitignore: ignore some files generated by configure

2014-12-02 Thread Daniel Kiper
Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- .gitignore |3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index b24e905..2b51d5f 100644 --- a/.gitignore +++ b/.gitignore @@ -141,12 +141,15 @@ tools/flask/utils/flask-set-bool tools/flask/utils/flask

[Xen-devel] [PATCH for-xen-4.5 1/3] tools/hotplug: distclean target should remove files generated by configure

2014-12-02 Thread Daniel Kiper
Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- tools/Makefile |3 +++ tools/hotplug/Makefile |5 - 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/Makefile b/tools/Makefile index af9798a..19b24f3 100644 --- a/tools/Makefile +++ b/tools/Makefile

[Xen-devel] [PATCH for-xen-4.5 3/3] gitignore: group tools/hotplug files in one place

2014-12-02 Thread Daniel Kiper
Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- .gitignore |9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 2b51d5f..8c8c06f 100644 --- a/.gitignore +++ b/.gitignore @@ -145,6 +145,10 @@ tools/hotplug/Linux/init.d

[Xen-devel] [PATCH for-xen-4.5 0/3] tools: build system fixes and cleanups

2014-12-02 Thread Daniel Kiper
is nice to have but not required at this stage of 4.5 development. Daniel .gitignore | 12 +++- tools/Makefile |3 +++ tools/hotplug/Makefile |5 - 3 files changed, 14 insertions(+), 6 deletions(-) Daniel Kiper (3): tools/hotplug: distclean target

Re: [Xen-devel] [PATCH for-xen-4.5] console: increase initial conring size

2014-12-03 Thread Daniel Kiper
On Tue, Dec 02, 2014 at 03:58:53PM +, Jan Beulich wrote: Daniel Kiper daniel.ki...@oracle.com 12/02/14 3:58 PM In general initial conring size is sufficient. However, if log level is increased on platforms which have e.g. huge number of memory regions (I have an IBM System x3550 M2

Re: [Xen-devel] [PATCH for-xen-4.5 1/3] tools/hotplug: distclean target should remove files generated by configure

2014-12-03 Thread Daniel Kiper
On Tue, Dec 02, 2014 at 01:36:20PM -0500, Konrad Rzeszutek Wilk wrote: On Tue, Dec 02, 2014 at 04:16:28PM +0100, Daniel Kiper wrote: Signed-off-by: Daniel Kiper daniel.ki...@oracle.com This usage scenario which I can see this being useful (and I've tripped over this) is when you rebuild

[Xen-devel] A few EFI code questions

2014-12-03 Thread Daniel Kiper
Hey, 1) Why is there in EFI code so many functions (e.g. efi_start(), efi_arch_edd(), ...) with local variables declared as a static? Though some of them have also regular local variables. I do not why it was decided that some of them must be the static and some of do not. It is a bit

[Xen-devel] [PATCH v2] console: increase initial conring size

2014-12-05 Thread Daniel Kiper
. Hence, this patch increases initial conring size to 64 KiB. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- This bug (or lack of feature if you prefer) should be fixed, as it was pointed out by Jan Beulich and Olaf Hering, by allocating conring earlier. I though about that before posting

Re: [Xen-devel] A few EFI code questions

2014-12-05 Thread Daniel Kiper
On Fri, Dec 05, 2014 at 03:00:14PM +, Jan Beulich wrote: On 05.12.14 at 15:51, daniel.ki...@oracle.com wrote: On Thu, Dec 04, 2014 at 09:35:01AM +, Jan Beulich wrote: On 03.12.14 at 22:02, daniel.ki...@oracle.com wrote: 3) Should not we change xen/arch/*/efi/efi-boot.h to

Re: [Xen-devel] [PATCH] console: allocate ring buffer earlier

2014-12-05 Thread Daniel Kiper
On Fri, Dec 05, 2014 at 04:55:24PM +, Jan Beulich wrote: ... when conring_size= was specified on the command line. We can't really do this as early as we would want to when the option was not specified, as the default depends on knowing the system CPU count. Yet the parsing of the ACPI

Re: [Xen-devel] [PATCH] console: allocate ring buffer earlier

2014-12-07 Thread Daniel Kiper
On Fri, Dec 05, 2014 at 06:22:57PM +0100, Daniel Kiper wrote: On Fri, Dec 05, 2014 at 04:55:24PM +, Jan Beulich wrote: ... when conring_size= was specified on the command line. We can't really do this as early as we would want to when the option was not specified, as the default depends

[Xen-devel] EFI + GRUB2 + Xen - WIP

2014-12-19 Thread Daniel Kiper
Hi all, I was going to send EFI + GRUB2 + Xen upstream patches based on my internal work for Xen 4.3.1 last week. Sadly, I was killing various bugs surfacing on various machines in unexpected places in this almost fully featured solution. This means I was not able to do that as I planned.

Re: [Xen-devel] [PATCH] kexec-tools: Read always one vmcoreinfo file

2014-12-19 Thread Daniel Kiper
Hi Petr, On Thu, Nov 13, 2014 at 04:51:48PM +0100, Petr Tesarik wrote: Hi all, this thread got somehow forgotten because of vacations... Anyway, read below. [...] Due to delays in EFI + GRUB2 + Xen project I must postpone work on this a bit longer than I expected. I will check what is going

Re: [Xen-devel] Is: kexec EFI Was: Re: EFI GetNextVariableName crashes when running under Xen, but not under Linux. efi-rs=0 works. No memmap issues

2015-01-30 Thread Daniel Kiper
On Fri, Jan 30, 2015 at 03:34:19PM +, Jan Beulich wrote: On 30.01.15 at 16:09, daniel.ki...@oracle.com wrote: I suppose that we should provide additional kexec hypercall function which will return info about RS. kexec-tools should load new kernel as usual and add relevant argument to

Re: [Xen-devel] [PATCH 00/18] x86: multiboot2 protocol support

2015-02-03 Thread Daniel Kiper
On Mon, Feb 02, 2015 at 09:28:49AM +, Jan Beulich wrote: On 30.01.15 at 18:54, daniel.ki...@oracle.com wrote: - xen.efi build will not so strongly depend on a given GCC and binutils version. While I can see the possibility of making the binutils version dependency go away (by

Re: [Xen-devel] [PATCH 03/18] x86/boot: use %ecx instead of %eax

2015-02-03 Thread Daniel Kiper
On Tue, Feb 03, 2015 at 10:02:09AM +, Jan Beulich wrote: On 30.01.15 at 18:54, daniel.ki...@oracle.com wrote: /* Save the Multiboot info struct (after relocation) for later use. */ mov $sym_phys(cpu0_stack)+1024,%esp -push%ebx -call

Re: [Xen-devel] how to generate a smaller core with xm dump-core

2015-01-16 Thread Daniel Kiper
On Fri, Jan 16, 2015 at 10:14:12AM +, Ian Campbell wrote: On Fri, 2015-01-16 at 16:39 +0800, Zhenzhong Duan wrote: I am thinking if port some code from makedumpfile is possible and acceptable. makedumpfile appears to be GPL, whereas libxc is LGPL, so if you wanted to port code directly

Re: [Xen-devel] EFI GetNextVariableName crashes when running under Xen, but not under Linux. efi-rs=0 works. No memmap issues

2015-01-27 Thread Daniel Kiper
On Tue, Jan 27, 2015 at 07:54:30AM +, Jan Beulich wrote: (re-adding xen-devel) On 27.01.15 at 01:32, andrew.coop...@citrix.com wrote: On 27/01/2015 00:02, Daniel Kiper wrote: On Mon, Jan 26, 2015 at 05:00:41PM +, Jan Beulich wrote: On 26.01.15 at 17:27, konrad.w...@oracle.com

Re: [Xen-devel] EFI GetNextVariableName crashes when running under Xen, but not under Linux. efi-rs=0 works. No memmap issues

2015-01-28 Thread Daniel Kiper
On Wed, Jan 28, 2015 at 08:43:19AM +, Jan Beulich wrote: On 27.01.15 at 21:18, daniel.ki...@oracle.com wrote: On Tue, Jan 27, 2015 at 07:54:30AM +, Jan Beulich wrote: Plus the issue here is not just a matter of mapping BS memory, but also not making it available to the allocator.

[Xen-devel] [PATCH 13/18] efi: create efi_tables()

2015-01-30 Thread Daniel Kiper
..which collects system tables data. We need this to support multiboot2 protocol on EFI platforms. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- xen/common/efi/boot.c | 51 - 1 file changed, 29 insertions(+), 22 deletions(-) diff --git

[Xen-devel] [PATCH 09/18] efi: create efi_init()

2015-01-30 Thread Daniel Kiper
..which initializes basic EFI variables. We need this to support multiboot2 protocol on EFI platforms. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- xen/common/efi/boot.c | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/xen/common/efi

[Xen-devel] [PATCH 03/18] x86/boot: use %ecx instead of %eax

2015-01-30 Thread Daniel Kiper
Use %ecx instead of %eax to store low memory upper limit from EBDA. This way we do not wipe multiboot protocol identifier. It is needed in reloc() to differentiate between multiboot (v1) and multiboot2 protocol. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com Reviewed-by: Andrew Cooper

[Xen-devel] [PATCH 02/18] x86/boot/reloc: create generic alloc and copy functions

2015-01-30 Thread Daniel Kiper
Create generic alloc and copy functions. We need separate tools for memory allocation and copy to provide multiboot2 protocol support. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- xen/arch/x86/boot/reloc.c | 52 - 1 file changed, 33

[Xen-devel] [PATCH 07/18] efi: run EFI specific code on EFI platform only

2015-01-30 Thread Daniel Kiper
Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- xen/arch/x86/shutdown.c |3 ++- xen/common/efi/boot.c|5 + xen/common/efi/runtime.c |6 ++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/xen/arch/x86/shutdown.c b/xen/arch/x86/shutdown.c index

[Xen-devel] [PATCH 01/18] x86/boot/reloc: mask out MBI_BOOTDEV from mbi flags

2015-01-30 Thread Daniel Kiper
..because it is ignored by Xen. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- xen/arch/x86/boot/reloc.c |1 - 1 file changed, 1 deletion(-) diff --git a/xen/arch/x86/boot/reloc.c b/xen/arch/x86/boot/reloc.c index f971920..63045c0 100644 --- a/xen/arch/x86/boot/reloc.c +++ b/xen

Re: [Xen-devel] [PATCH 18/18] x86: add multiboot2 protocol support for EFI platforms

2015-01-30 Thread Daniel Kiper
On Fri, Jan 30, 2015 at 07:06:53PM +, Andrew Cooper wrote: On 30/01/15 17:54, Daniel Kiper wrote: Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- xen/arch/x86/boot/head.S | 174 +++-- xen/arch/x86/efi/efi-boot.h | 29

Re: [Xen-devel] EFI GetNextVariableName crashes when running under Xen, but not under Linux. efi-rs=0 works. No memmap issues

2015-01-28 Thread Daniel Kiper
On Wed, Jan 28, 2015 at 11:03:19AM -0500, Konrad Rzeszutek Wilk wrote: On Wed, Jan 28, 2015 at 08:40:44AM +, Jan Beulich wrote: On 27.01.15 at 19:20, konrad.w...@oracle.com wrote: On Tue, Jan 27, 2015 at 04:17:05PM +, Jan Beulich wrote: Again - apart from mapping the range, did

Re: [Xen-devel] Is: kexec EFI Was: Re: EFI GetNextVariableName crashes when running under Xen, but not under Linux. efi-rs=0 works. No memmap issues

2015-01-30 Thread Daniel Kiper
On Fri, Jan 30, 2015 at 02:57:32PM +, David Vrabel wrote: On 30/01/15 14:52, Konrad Rzeszutek Wilk wrote: On Fri, Jan 30, 2015 at 02:40:46PM +, David Vrabel wrote: On 30/01/15 14:17, Konrad Rzeszutek Wilk wrote: blinks kexec is OS agnostic? Yes. Extra information to be

Re: [Xen-devel] Backport request for tools/hotplug: set mtu from bridge for tap interface

2015-01-13 Thread Daniel Kiper
On Mon, Jan 12, 2015 at 03:44:28PM +, Ian Jackson wrote: Daniel Kiper writes (Re: Backport request for tools/hotplug: set mtu from bridge for tap interface): On Tue, Nov 18, 2014 at 06:24:31PM +, Ian Jackson wrote: Does it apply cleanly to 4.3 and 4.4? I haven't checked. Daniel

Re: [Xen-devel] Backport request for tools/hotplug: set mtu from bridge for tap interface - for Xen 4.3

2015-01-13 Thread Daniel Kiper
On Mon, Jan 12, 2015 at 05:06:12PM +, Ian Jackson wrote: Charles Arnold writes (Re: Backport request for tools/hotplug: set mtu from bridge for tap interface - for Xen 4.3): With changeset 22885 support was added for setting the MTU in the vif-bridge script for when a vif interface was

Re: [Xen-devel] [PATCH 0/5] multiboot2: Enable EFI boot services usage in loaded images

2015-02-09 Thread Daniel Kiper
Hi all, On Fri, Jan 30, 2015 at 06:59:23PM +0100, Daniel Kiper wrote: Hi, This patch series enable EFI boot services usage in loaded images by multiboot2 protocol. Guys, do you have any comments on this patch series? Should I fix something? Could you apply them to GRUB2 tree? Daniel PS

Re: [Xen-devel] [PATCH 18/18] x86: add multiboot2 protocol support for EFI platforms

2015-02-10 Thread Daniel Kiper
On Fri, Jan 30, 2015 at 06:54:22PM +0100, Daniel Kiper wrote: Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- xen/arch/x86/boot/head.S | 174 +++-- xen/arch/x86/efi/efi-boot.h | 29 +++ xen/arch/x86/setup.c | 23

Re: [Xen-devel] [PATCH 18/18] x86: add multiboot2 protocol support for EFI platforms

2015-02-15 Thread Daniel Kiper
On Sat, Feb 14, 2015 at 08:23:45PM +0300, Andrei Borzenkov wrote: В Wed, 11 Feb 2015 08:20:04 + Jan Beulich jbeul...@suse.com пишет: On 10.02.15 at 22:27, daniel.ki...@oracle.com wrote: After some testing we have found at least one machine on which this thing does not work. It is

Re: [Xen-devel] [PATCHv1] xen/balloon: disable memory hotplug in PV guests

2015-03-18 Thread Daniel Kiper
On Wed, Mar 18, 2015 at 01:59:58PM +, David Vrabel wrote: On 18/03/15 13:57, Juergen Gross wrote: On 03/18/2015 11:36 AM, David Vrabel wrote: On 16/03/15 10:31, Juergen Gross wrote: On 03/16/2015 11:03 AM, Daniel Kiper wrote: On Mon, Mar 16, 2015 at 06:35:04AM +0100, Juergen Gross

Re: [Xen-devel] [PATCHv1] xen/balloon: disable memory hotplug in PV guests

2015-03-16 Thread Daniel Kiper
On Mon, Mar 16, 2015 at 06:35:04AM +0100, Juergen Gross wrote: On 03/11/2015 04:40 PM, Boris Ostrovsky wrote: On 03/11/2015 10:42 AM, David Vrabel wrote: On 10/03/15 13:35, Boris Ostrovsky wrote: On 03/10/2015 07:40 AM, David Vrabel wrote: On 09/03/15 14:10, David Vrabel wrote: Memory

Re: [Xen-devel] [PATCHv1] xen/balloon: disable memory hotplug in PV guests

2015-03-17 Thread Daniel Kiper
On Mon, Mar 16, 2015 at 11:31:49AM +0100, Juergen Gross wrote: On 03/16/2015 11:03 AM, Daniel Kiper wrote: On Mon, Mar 16, 2015 at 06:35:04AM +0100, Juergen Gross wrote: On 03/11/2015 04:40 PM, Boris Ostrovsky wrote: On 03/11/2015 10:42 AM, David Vrabel wrote: On 10/03/15 13:35, Boris

Re: [Xen-devel] [PATCH 18/18] x86: add multiboot2 protocol support for EFI platforms

2015-03-17 Thread Daniel Kiper
On Tue, Mar 17, 2015 at 10:32:01AM +, Jan Beulich wrote: On 30.01.15 at 18:54, daniel.ki...@oracle.com wrote: @@ -94,6 +111,17 @@ ENTRY(start) gdt_boot_descr: .word 6*8-1 .long sym_phys(trampoline_gdt) +.long 0 /* Needed for 64-bit lgdt */ +

Re: [Xen-devel] [PATCHv1] xen/balloon: disable memory hotplug in PV guests

2015-03-19 Thread Daniel Kiper
On Thu, Mar 19, 2015 at 10:55:37AM +0100, Juergen Gross wrote: On 03/18/2015 04:14 PM, Daniel Kiper wrote: [...] I have checked new p2m code and I think that this is reasonable solution too. Do I need any patches for xl to be able to test this? I did: xl mem-max 2 4096 xl mem-set 2 4096

Re: [Xen-devel] [Patch V2 1/2] xen: prepare p2m list for memory hotplug

2015-03-20 Thread Daniel Kiper
). Signed-off-by: Juergen Gross jgr...@suse.com Reviewed-by: Daniel Kiper daniel.ki...@oracle.com Daniel ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH 2/2] xen: before ballooning hotplugged memory, set frames to invalid

2015-03-19 Thread Daniel Kiper
On Thu, Mar 19, 2015 at 06:22:06PM +0100, Juergen Gross wrote: On 03/19/2015 05:21 PM, Daniel Kiper wrote: On Thu, Mar 19, 2015 at 03:31:02PM +0100, Juergen Gross wrote: Commit 25b884a83d487fd62c3de7ac1ab5549979188482 (x86/xen: set regions above the end of RAM as 1:1) introduced a regression

Re: [Xen-devel] [PATCHv1] xen/balloon: disable memory hotplug in PV guests

2015-03-09 Thread Daniel Kiper
On Mon, Mar 09, 2015 at 03:31:30PM +, David Vrabel wrote: On 09/03/15 15:25, Boris Ostrovsky wrote: On 03/09/2015 11:13 AM, David Vrabel wrote: On 09/03/15 15:09, Boris Ostrovsky wrote: On 03/09/2015 10:10 AM, David Vrabel wrote: Memory hotplug doesn't work with PV guests because:

Re: [Xen-devel] [PATCHv1] xen/balloon: disable memory hotplug in PV guests

2015-03-09 Thread Daniel Kiper
On Mon, Mar 09, 2015 at 11:25:07AM -0400, Boris Ostrovsky wrote: On 03/09/2015 11:13 AM, David Vrabel wrote: On 09/03/15 15:09, Boris Ostrovsky wrote: On 03/09/2015 10:10 AM, David Vrabel wrote: Memory hotplug doesn't work with PV guests because: a) The p2m cannot be expanded to cover

Re: [Xen-devel] Xen 4.6 Development Update (two months reminder)

2015-03-12 Thread Daniel Kiper
On Thu, Mar 12, 2015 at 03:07:33PM +, Ian Campbell wrote: On Thu, 2015-03-12 at 10:21 +, wei.l...@citrix.com wrote: [...] * Rearrange and cleanup installation destination directories (/var - var/lib/xen) (fair) - Daniel Kiper What is this? I've never heard about it. My

Re: [Xen-devel] Xen 4.6 Development Update (two months reminder)

2015-03-12 Thread Daniel Kiper
On Thu, Mar 12, 2015 at 10:21:56AM +, wei.l...@citrix.com wrote: [...] == GRUB2 == * GRUB2 multiboot2 (fair) - Daniel Kiper RFC patches were posted (see: http://lists.xen.org/archives/html/xen-devel/2015-01/msg03982.html). Weeding out bugs found during testing. I am going to post

Re: [Xen-devel] [PATCH 08/18] efi: build xen.gz with EFI code

2015-03-27 Thread Daniel Kiper
On Mon, Mar 02, 2015 at 04:14:22PM +, Jan Beulich wrote: On 30.01.15 at 18:54, daniel.ki...@oracle.com wrote: --- a/xen/arch/x86/efi/Makefile +++ b/xen/arch/x86/efi/Makefile @@ -1,14 +1,14 @@ CFLAGS += -fshort-wchar -obj-y += stub.o +obj-y += boot.o +obj-y += compat.o

Re: [Xen-devel] [PATCH 04/18] xen/x86: add multiboot2 protocol support

2015-03-27 Thread Daniel Kiper
. * * Authors: *Keir Fraser k...@xen.org + *Daniel Kiper If you add yourself here, then please (following the existing example) with email address. -/* entered with %eax = BOOT_TRAMPOLINE */ +/* + * This entry point is entered from xen/arch/x86/boot/head.S

Re: [Xen-devel] [PATCH 00/18] x86: multiboot2 protocol support

2015-03-27 Thread Daniel Kiper
On Fri, Jan 30, 2015 at 06:54:04PM +0100, Daniel Kiper wrote: Hi, I am sending, long awaited, first version of multiboot2 protocol support for legacy BIOS and EFI platforms. New version with relocatable Xen early boot code is under tests now. I hope that I will release new version in 2-3

Re: [Xen-devel] [PATCH 16/18] efi: create efi_exit_boot()

2015-03-27 Thread Daniel Kiper
On Mon, Mar 02, 2015 at 04:45:47PM +, Jan Beulich wrote: On 30.01.15 at 18:54, daniel.ki...@oracle.com wrote: ..which gets memory map and calls ExitBootServices(). We need this to support multiboot2 protocol on EFI platforms. Patches from 9 up to here all make sense on the basis that

Re: [Xen-devel] [PATCH 17/18] x86/efi: create new early memory allocator

2015-03-27 Thread Daniel Kiper
On Mon, Mar 02, 2015 at 05:23:49PM +, Jan Beulich wrote: On 30.01.15 at 18:54, daniel.ki...@oracle.com wrote: --- a/xen/arch/x86/efi/efi-boot.h +++ b/xen/arch/x86/efi/efi-boot.h @@ -103,9 +103,35 @@ static void __init relocate_trampoline(unsigned long phys) *(u16

Re: [Xen-devel] [PATCH 04/18] xen/x86: add multiboot2 protocol support

2015-03-27 Thread Daniel Kiper
On Fri, Mar 27, 2015 at 11:20:10AM +, Jan Beulich wrote: On 27.03.15 at 11:56, daniel.ki...@oracle.com wrote: On Fri, Feb 20, 2015 at 04:06:26PM +, Jan Beulich wrote: On 30.01.15 at 18:54, daniel.ki...@oracle.com wrote: --- a/xen/arch/x86/boot/Makefile +++

Re: [Xen-devel] [PATCH 16/18] efi: create efi_exit_boot()

2015-03-27 Thread Daniel Kiper
On Fri, Mar 27, 2015 at 12:10:56PM +, Jan Beulich wrote: On 27.03.15 at 13:00, daniel.ki...@oracle.com wrote: Additionally, efi_start() is architecture independent and efi_multiboot2() is x86 only and it should live in x86 files. Is that really the case? Looking at the grub2 sources

Re: [Xen-devel] [PATCH 18/18] x86: add multiboot2 protocol support for EFI platforms

2015-03-27 Thread Daniel Kiper
On Tue, Mar 17, 2015 at 10:32:01AM +, Jan Beulich wrote: On 30.01.15 at 18:54, daniel.ki...@oracle.com wrote: @@ -94,6 +111,17 @@ ENTRY(start) gdt_boot_descr: .word 6*8-1 .long sym_phys(trampoline_gdt) +.long 0 /* Needed for 64-bit lgdt */ +

Re: [Xen-devel] [PATCH 17/18] x86/efi: create new early memory allocator

2015-03-27 Thread Daniel Kiper
On Fri, Mar 27, 2015 at 01:35:11PM +, Jan Beulich wrote: On 27.03.15 at 13:57, daniel.ki...@oracle.com wrote: On Mon, Mar 02, 2015 at 05:23:49PM +, Jan Beulich wrote: On 30.01.15 at 18:54, daniel.ki...@oracle.com wrote: +{ +void *ptr; + +/* + * Init

Re: [Xen-devel] [PATCH 18/18] x86: add multiboot2 protocol support for EFI platforms

2015-03-27 Thread Daniel Kiper
On Fri, Mar 27, 2015 at 01:36:32PM +, Jan Beulich wrote: On 27.03.15 at 14:06, daniel.ki...@oracle.com wrote: On Tue, Mar 17, 2015 at 10:32:01AM +, Jan Beulich wrote: On 30.01.15 at 18:54, daniel.ki...@oracle.com wrote: +/* Skip Multiboot2 information fixed part */ +

Re: [Xen-devel] [PATCH 18/18] x86: add multiboot2 protocol support for EFI platforms

2015-03-27 Thread Daniel Kiper
On Fri, Mar 27, 2015 at 02:34:19PM +, Jan Beulich wrote: On 27.03.15 at 15:26, daniel.ki...@oracle.com wrote: On Fri, Mar 27, 2015 at 01:36:32PM +, Jan Beulich wrote: On 27.03.15 at 14:06, daniel.ki...@oracle.com wrote: On Tue, Mar 17, 2015 at 10:32:01AM +, Jan Beulich wrote:

Re: [Xen-devel] [PATCH 18/18] x86: add multiboot2 protocol support for EFI platforms

2015-03-27 Thread Daniel Kiper
On Fri, Mar 27, 2015 at 03:06:43PM +, Jan Beulich wrote: On 27.03.15 at 15:57, daniel.ki...@oracle.com wrote: On Fri, Mar 27, 2015 at 02:34:19PM +, Jan Beulich wrote: On 27.03.15 at 15:26, daniel.ki...@oracle.com wrote: On Fri, Mar 27, 2015 at 01:36:32PM +, Jan Beulich wrote:

Re: [Xen-devel] [PATCH 00/18] x86: multiboot2 protocol support

2015-03-03 Thread Daniel Kiper
On Tue, Mar 03, 2015 at 12:10:35PM +, Ian Campbell wrote: On Fri, 2015-01-30 at 18:54 +0100, Daniel Kiper wrote: xen/arch/x86/Makefile | 17 ++-- xen/arch/x86/boot/Makefile|3 +- xen/arch/x86/boot/head.S | 291

Re: [Xen-devel] [PATCH 00/18] x86: multiboot2 protocol support

2015-03-03 Thread Daniel Kiper
On Tue, Mar 03, 2015 at 12:39:45PM +, Ian Campbell wrote: On Tue, 2015-03-03 at 13:36 +0100, Daniel Kiper wrote: On Tue, Mar 03, 2015 at 12:10:35PM +, Ian Campbell wrote: On Fri, 2015-01-30 at 18:54 +0100, Daniel Kiper wrote: xen/arch/x86/Makefile | 17

Re: [Xen-devel] [PATCH 17/18] x86/efi: create new early memory allocator

2015-03-03 Thread Daniel Kiper
On Tue, Mar 03, 2015 at 08:04:09AM +, Jan Beulich wrote: On 02.03.15 at 21:25, roy.fr...@linaro.org wrote: On Mon, Mar 2, 2015 at 9:23 AM, Jan Beulich jbeul...@suse.com wrote: On 30.01.15 at 18:54, daniel.ki...@oracle.com wrote: @@ -192,12 +218,7 @@ static void __init

Re: [Xen-devel] [PATCH 2/2] xen: before ballooning hotplugged memory, set frames to invalid

2015-03-19 Thread Daniel Kiper
On Thu, Mar 19, 2015 at 03:31:02PM +0100, Juergen Gross wrote: Commit 25b884a83d487fd62c3de7ac1ab5549979188482 (x86/xen: set regions above the end of RAM as 1:1) introduced a regression. To be able to add memory pages which were added via memory hotplug to a pv domain, the pages must be

Re: [Xen-devel] [PATCH 1/2] xen: prepare p2m list for memory hotplug

2015-03-19 Thread Daniel Kiper
On Thu, Mar 19, 2015 at 03:31:01PM +0100, Juergen Gross wrote: Commit 054954eb051f35e74b75a566a96fe756015352c8 (xen: switch to linear virtual mapped sparse p2m list) introduced a regression regarding to memory hotplug for a pv-domain: as the virtual space for the p2m list is allocated for the

Re: [Xen-devel] [PATCH] xen/balloon: cancel ballooning if adding new memory failed

2015-01-29 Thread Daniel Kiper
On Thu, Jan 29, 2015 at 06:01:36PM +, David Vrabel wrote: On 29/01/15 13:36, Ian Campbell wrote: On Mon, 2014-09-01 at 18:52 +0100, David Vrabel wrote: If the balloon driver is adding additional memory regions to the balloon and add_memory() fails it will likely continuously fail so

Re: [Xen-devel] Xen 4.6 Development Update (four months reminder)

2015-05-13 Thread Daniel Kiper
/2015-01/msg03962.html and http://lists.xen.org/archives/html/xen-devel/2015-01/msg03982.html. RFC posted - Daniel Kiper Almost all comments for v1 are taken into account. Working on last patch in Xen series. GRUB2 patch series requires more discussion and probably some rework. I am going

Re: [Xen-devel] [RFC v2] xSplice design

2015-05-18 Thread Daniel Kiper
On Mon, May 18, 2015 at 08:54:22PM +0800, Liuqiming (John) wrote: Hi Konrad, Will this design include hotpatch build tools chain? Such as how these .xplice_ section are created? How to handle xen symbols when creating hotpatch elf file? No, this is not a main goal of this project. However,

Re: [Xen-devel] Xen 4.6 Development Update (five months reminder, 5 WEEKS TO FREEZE)

2015-06-09 Thread Daniel Kiper
On Fri, Jun 05, 2015 at 02:53:54PM +0100, wei.l...@citrix.com wrote: [...] * Xen multiboot2-EFI support (ok) See http://lists.xen.org/archives/html/xen-devel/2015-01/msg03962.html http://lists.xen.org/archives/html/xen-devel/2015-01/msg03982.html - Daniel Kiper Last week I almost

Re: [Xen-devel] [PATCH v2] tools: link executables with libtinfo explicitly

2015-06-03 Thread Daniel Kiper
On Wed, Jun 03, 2015 at 11:35:50AM +0100, Ian Campbell wrote: On Tue, 2015-06-02 at 17:58 +0100, Wei Liu wrote: On Tue, Jun 02, 2015 at 03:33:26PM +0200, Daniel Kiper wrote: binutils 2.22 changed ld default from --copy-dt-needed-entries to -no-copy-dt-needed-entries. This revealed

Re: [Xen-devel] [PATCHv1 6/8] xen/balloon: only hotplug additional memory if required

2015-06-25 Thread Daniel Kiper
On Thu, Jun 25, 2015 at 06:11:01PM +0100, David Vrabel wrote: Now that we track the total number of pages (included hotplugged regions), it is easy to determine if more memory needs to be hotplugged. Signed-off-by: David Vrabel david.vra...@citrix.com --- drivers/xen/balloon.c | 16

Re: [Xen-devel] [PATCHv1 1/8] mm: memory hotplug with an existing resource

2015-06-25 Thread Daniel Kiper
of this in their balloon driver to hotplug arbitrary amounts of memory in response to toolstack requests. Signed-off-by: David Vrabel david.vra...@citrix.com Cc: Andrew Morton a...@linux-foundation.org Reviewed-by: Daniel Kiper daniel.ki...@oracle.com Daniel

Re: [Xen-devel] [PATCHv1 2/8] xen/balloon: remove scratch page left overs

2015-06-25 Thread Daniel Kiper
-by: David Vrabel david.vra...@citrix.com Reviewed-by: Daniel Kiper daniel.ki...@oracle.com Daniel ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCHv1 5/8] xen/balloon: rationalize memory hotplug stats

2015-06-25 Thread Daniel Kiper
On Thu, Jun 25, 2015 at 06:11:00PM +0100, David Vrabel wrote: The stats used for memory hotplug make no sense and are fiddled with in odd ways. Remove them and introduce total_pages to track the total number of pages (both populated and unpopulated) including those within hotplugged regions

Re: [Xen-devel] [PATCHv1 5/8] xen/balloon: rationalize memory hotplug stats

2015-06-25 Thread Daniel Kiper
On Thu, Jun 25, 2015 at 08:38:36PM +0200, Daniel Kiper wrote: On Thu, Jun 25, 2015 at 06:11:00PM +0100, David Vrabel wrote: The stats used for memory hotplug make no sense and are fiddled with in odd ways. Remove them and introduce total_pages to track the total number of pages (both

Re: [Xen-devel] [PATCHv1 4/8] xen/balloon: find non-conflicting regions to place hotplugged memory

2015-06-25 Thread Daniel Kiper
david.vra...@citrix.com In general Reviewed-by: Daniel Kiper daniel.ki...@oracle.com but two nitpicks below... --- drivers/xen/balloon.c | 63 + 1 file changed, 53 insertions(+), 10 deletions(-) diff --git a/drivers/xen/balloon.c b/drivers

Re: [Xen-devel] [PATCHv1 3/8] x86/xen: discard RAM regions above the maximum reservation

2015-06-25 Thread Daniel Kiper
Reviewed-by: Daniel Kiper daniel.ki...@oracle.com Daniel ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCHv1 7/8] xen/balloon: make alloc_xenballoon_pages() always allocate low pages

2015-06-25 Thread Daniel Kiper
On Thu, Jun 25, 2015 at 06:11:02PM +0100, David Vrabel wrote: All users of alloc_xenballoon_pages() wanted low memory pages, so remove the option for high memory. Signed-off-by: David Vrabel david.vra...@citrix.com Reviewed-by: Daniel Kiper daniel.ki...@oracle.com Daniel

Re: [Xen-devel] [PATCHv1 8/8] xen/balloon: use hotplugged pages for foreign mappings etc.

2015-06-25 Thread Daniel Kiper
-by: Daniel Kiper daniel.ki...@oracle.com but... --- drivers/xen/balloon.c | 32 ++-- include/xen/balloon.h |1 + 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/drivers/xen/balloon.c b/drivers/xen/balloon.c index 95c261c..a26c5f3 100644

Re: [Xen-devel] [PATCHv1 5/8] xen/balloon: rationalize memory hotplug stats

2015-06-25 Thread Daniel Kiper
On Thu, Jun 25, 2015 at 08:54:45PM +0200, Daniel Kiper wrote: On Thu, Jun 25, 2015 at 08:38:36PM +0200, Daniel Kiper wrote: On Thu, Jun 25, 2015 at 06:11:00PM +0100, David Vrabel wrote: The stats used for memory hotplug make no sense and are fiddled with in odd ways. Remove them

Re: [Xen-devel] Xen 4.6 Development Update (2 WEEKS TO FREEZE, important information in preamble)

2015-06-26 Thread Daniel Kiper
.html - Daniel Kiper I have finished all internal work this week. Now I am fully focusing on this project. I taken into account all comments to v1 (there are left few minor things which require some more work but they are not so important at this stage). Currently I am working on Xen early boot

[Xen-devel] Relocatable Xen early boot code

2015-06-12 Thread Daniel Kiper
Hey, During work on multiboot2 protocol support for Xen on EFI platform I discovered that we need relocatable Xen early boot code (which is mostly 32-bit code). More you can find here: http://lists.xen.org/archives/html/xen-devel/2015-02/msg01257.html I would like to focus on solution #1

Re: [Xen-devel] Relocatable Xen early boot code

2015-06-12 Thread Daniel Kiper
On Fri, Jun 12, 2015 at 02:57:29PM +0100, Jan Beulich wrote: On 12.06.15 at 15:51, daniel.ki...@oracle.com wrote: On Fri, Jun 12, 2015 at 01:08:41PM +0100, Jan Beulich wrote: On 12.06.15 at 13:14, daniel.ki...@oracle.com wrote: Here I do not want to discuss GRUB2 and multiboot2 protocol

Re: [Xen-devel] Relocatable Xen early boot code

2015-06-12 Thread Daniel Kiper
On Fri, Jun 12, 2015 at 01:08:41PM +0100, Jan Beulich wrote: On 12.06.15 at 13:14, daniel.ki...@oracle.com wrote: Here I do not want to discuss GRUB2 and multiboot2 protocol support details for relocatable images. It is not needed. It is sufficient to know that it is able to put loaded

Re: [Xen-devel] Relocatable Xen early boot code

2015-06-12 Thread Daniel Kiper
On Fri, Jun 12, 2015 at 02:19:01PM +0100, Andrew Cooper wrote: On 12/06/15 12:14, Daniel Kiper wrote: Hey, During work on multiboot2 protocol support for Xen on EFI platform I discovered that we need relocatable Xen early boot code (which is mostly 32-bit code). More you can find here

Re: [Xen-devel] [PATCH] tools: link executables with libtinfo explicitly

2015-06-01 Thread Daniel Kiper
On Mon, Jun 01, 2015 at 02:06:44PM +0100, Wei Liu wrote: On Sat, May 30, 2015 at 12:07:28AM +0200, Daniel Kiper wrote: binutils 2.22 changed ld default from --copy-dt-needed-entries to -no-copy-dt-needed-entries. This revealed that some objects are linked implicitly with libtinfo and newer

[Xen-devel] [PATCH] tools: link executables with libtinfo explicitly

2015-05-29 Thread Daniel Kiper
to the dependencies of other objects. If those objects ever change their linkages, they can break your program without any changes to your own code! Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- config/Tools.mk.in|1 + tools/configure | 46

[Xen-devel] [PATCH v2] tools: link executables with libtinfo explicitly

2015-06-02 Thread Daniel Kiper
to the dependencies of other objects. If those objects ever change their linkages, they can break your program without any changes to your own code! Please run autoconf in tools directory. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- v2 - suggestions/fixes: - do not include tools

Re: [Xen-devel] [PATCH 3/5] i386/relocator: Remove unused avoid_efi_bootservices argument

2015-05-29 Thread Daniel Kiper
Hey, Sorry for late reply but I was busy with our internal EFI stuff. We did more tests and some fixes and it seems that everything is going in right direction. Well, I hope... :-))) Right now I am going to continue my work on upstream EFI + GRUB2 + Xen stuff. I think that I will be able to

Re: [Xen-devel] [PATCH v2 05/23] x86/boot/reloc: create generic alloc and copy functions

2015-08-17 Thread Daniel Kiper
On Mon, Aug 17, 2015 at 09:51:58AM -0600, Jan Beulich wrote: On 20.07.15 at 16:29, daniel.ki...@oracle.com wrote: Create generic alloc and copy functions. We need separate tools for memory allocation and copy to provide multiboot2 protocol support. Signed-off-by: Daniel Kiper daniel.ki

Re: [Xen-devel] [PATCH v2 6/6] multiboot2: Do not pass memory maps to image if EFI boot services are enabled

2015-08-18 Thread Daniel Kiper
On Tue, Aug 11, 2015 at 02:59:56PM -0400, Konrad Rzeszutek Wilk wrote: On Mon, Jul 20, 2015 at 04:35:54PM +0200, Daniel Kiper wrote: Do not pass memory maps to image if it asked for EFI boot services. Maps are usually invalid in that case and they can confuse potential user. Image should

Re: [Xen-devel] [PATCH v2 09/23] efi: create efi_enabled()

2015-08-22 Thread Daniel Kiper
On Thu, Aug 20, 2015 at 09:18:17AM -0600, Jan Beulich wrote: On 20.07.15 at 16:29, daniel.ki...@oracle.com wrote: --- a/xen/arch/x86/efi/stub.c +++ b/xen/arch/x86/efi/stub.c @@ -4,9 +4,14 @@ #include xen/lib.h #include asm/page.h -#ifndef efi_enabled -const bool_t efi_enabled =

Re: [Xen-devel] [PATCH v2 10/23] efi: build xen.gz with EFI code

2015-08-22 Thread Daniel Kiper
On Thu, Aug 20, 2015 at 09:39:39AM -0600, Jan Beulich wrote: On 20.07.15 at 16:29, daniel.ki...@oracle.com wrote: Build xen.gz with EFI code. We need this to support multiboot2 protocol on EFI platforms. If we wish to load not ELF file using multiboot (v1) or multiboot2 then DYM a

Re: [Xen-devel] [PATCH v2 0/6] multiboot2: Add two extensions and fix some issues

2015-08-24 Thread Daniel Kiper
Guys, especially GRUB2 maintainers, On Mon, Jul 20, 2015 at 04:35:48PM +0200, Daniel Kiper wrote: Hi, This patch series: - enables EFI boot services usage in loaded images by multiboot2 protocol, - add support for multiboot2 protocol compatible relocatable images, - fixes

Re: [Xen-devel] [PATCH v2 21/23] x86/boot: implement early command line parser in C

2015-08-17 Thread Daniel Kiper
On Sun, Aug 16, 2015 at 01:22:05PM -0400, Konrad Rzeszutek Wilk wrote: On August 16, 2015 9:48:05 AM EDT, George Diamantopoulos georged...@gmail.com wrote: Hello, I've been trying to compile xen with multiboot2 support, but building has been failing. Tried with both gcc-4.8.4 and gcc-5.2

Re: [Xen-devel] [PATCHv1 6/8] xen/balloon: only hotplug additional memory if required

2015-06-26 Thread Daniel Kiper
On Fri, Jun 26, 2015 at 09:56:31AM +0100, David Vrabel wrote: On 25/06/15 22:18, Daniel Kiper wrote: On Thu, Jun 25, 2015 at 06:11:01PM +0100, David Vrabel wrote: Now that we track the total number of pages (included hotplugged regions), it is easy to determine if more memory needs

Re: [Xen-devel] [PATCHv2 06/10] xen/balloon: only hotplug additional memory if required

2015-07-29 Thread Daniel Kiper
On Fri, Jul 24, 2015 at 12:47:44PM +0100, David Vrabel wrote: Now that we track the total number of pages (included hotplugged regions), it is easy to determine if more memory needs to be hotplugged. Add a new BP_WAIT state to signal that the balloon process needs to wait until kicked by the

Re: [Xen-devel] [PATCHv2 09/10] x86/xen: export xen_alloc_p2m_entry()

2015-07-29 Thread Daniel Kiper
no further allocations. Signed-off-by: David Vrabel david.vra...@citrix.com Reviewed-by: Daniel Kiper daniel.ki...@oracle.com ... but please add line in commit message saying that stuff from this patch will be used by next one. Daniel ___ Xen-devel mailing

Re: [Xen-devel] [PATCHv3 06/10] xen/balloon: only hotplug additional memory if required

2015-07-31 Thread Daniel Kiper
by the memory add notifier (when the new section is onlined by userspace). Signed-off-by: David Vrabel david.vra...@citrix.com Reviewed-by: Daniel Kiper daniel.ki...@oracle.com Daniel ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org

Re: [Xen-devel] [PATCHv3 09/10] x86/xen: export xen_alloc_p2m_entry()

2015-07-31 Thread Daniel Kiper
no further allocations. Signed-off-by: David Vrabel david.vra...@citrix.com Reviewed-by: Daniel Kiper daniel.ki...@oracle.com Daniel ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCHv3 01/10] mm: memory hotplug with an existing resource

2015-07-31 Thread Daniel Kiper
On Thu, Jul 30, 2015 at 06:03:03PM +0100, David Vrabel wrote: Add add_memory_resource() to add memory using an existing System RAM resource. This is useful if the memory region is being located by finding a free resource slot with allocate_resource(). Xen guests will make use of this in

  1   2   3   4   5   6   7   8   9   >