Re: [PATCH] dns: realloc address buffer after each packet

2016-02-26 Thread Andrei Borzenkov
On Wed, Feb 24, 2016 at 10:11 PM, Josef Bacik wrote: > Sometimes DNS responses come in slower than we poll for them which can lead us > to process multiple DNS packets which overflows the addresses array. So > instead > realloc the array each time to make sure we are accounting for any answers w

Re: [PATCH v2 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi

2016-02-26 Thread Andrei Borzenkov
On Fri, Feb 26, 2016 at 8:59 AM, Fu Wei wrote: > +@subsection xen_module > > -@deffn Command xen_linux file [arguments] > -Load a dom0 kernel image for xen hypervisor at the booting process of > xen. > +@deffn Command xen_module [--nounzip] file [arguments] > +Load a m

Re: [PATCH] coreboot: fix "make default_payload.elf"

2016-02-26 Thread Vladimir 'phcoder' Serbinenko
Reason for this RM is to avoid stale for in case of failure. I fixed RM invocation Le ven. 26 févr. 2016 01:46, Antonello Dettori a écrit : > When building grub as a payload for coreboot the compiling stops at this > line: > "rm: cannot remove 'default_payload.elf': No such file or directory" (F

[PATCH v3 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi

2016-02-26 Thread fu . wei
From: Fu Wei delete: xen_linux, xen_initrd, xen_xsm add: xen_module This update bases on commit 0edd750e50698854068358ea53528100a9192902 Author: Vladimir Serbinenko Date: Fri Jan 22 10:18:47 2016 +0100 xen_boot: Remove obsolete module type distinctions. Signed-off-by: Fu

[PATCH v3 0/4] arm64,xen: add xen_boot support into grup-mkconfig

2016-02-26 Thread fu . wei
From: Fu Wei This patchset add xen_boot support into grup-mkconfig for generating xen boot entrances automatically Also update the docs/grub.texi for new xen_boot commands. This patchset has been tested on Foudation model with a bug fix: http://lists.gnu.org/archive/html/grub-devel/2016-02/msg0

[PATCH v3 1/4] i386, xen: Add xen_hypervisor and xen_module aliases for i386

2016-02-26 Thread fu . wei
From: Fu Wei Signed-off-by: Fu Wei --- grub-core/loader/i386/xen.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/grub-core/loader/i386/xen.c b/grub-core/loader/i386/xen.c index c4d9689..15b0727 100644 --- a/grub-core/loader/i386/xen.c +++ b/grub-core/loader/i386/xen.c @@ -689,6 +68

[PATCH v3 3/4] * util/grub.d/20_linux_xen.in: Add xen_boot command support

2016-02-26 Thread fu . wei
From: Fu Wei This patch adds the support of xen_boot command: xen_hypervisor xen_module Also add a new "feature_xen_boot" to indicate this grub support xen_boot command. Signed-off-by: Fu Wei --- grub-core/normal/main.c | 2 +- util/grub.d/20_linux_xen.in | 13 ++--- 2 fi

[PATCH v3 2/4] arm64: add "--nounzip" option support in xen_module command

2016-02-26 Thread fu . wei
From: Fu Wei This patch adds "--nounzip" option support in order to be compatible with the module command of i386, then we can simplify grub-mkconfig support code. Signed-off-by: Fu Wei --- grub-core/loader/arm64/xen_boot.c | 17 + 1 file changed, 17 insertions(+) diff --git a

Re: [PATCH v2 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi

2016-02-26 Thread Fu Wei
Hi Andrei, On 26 February 2016 at 18:50, Andrei Borzenkov wrote: > On Fri, Feb 26, 2016 at 8:59 AM, Fu Wei wrote: >> +@subsection xen_module >> >> -@deffn Command xen_linux file [arguments] >> -Load a dom0 kernel image for xen hypervisor at the booting process of >> xen. >>>

Re: [PATCH 1/2] disk: Add support for device-specific malloc function

2016-02-26 Thread Vladimir 'phcoder' Serbinenko
Andrei, your patch is pretty complicated and would be a subject to putting into next branch because of its breakage potential. Issue at hand affects x86 as well. Can we split the solution from radical rework of disk.c with optimisations? Le mer. 24 févr. 2016 20:04, Andrei Borzenkov a écrit : >

Re: [PATCH] efidisk: prevent errors from diskfilter scan of removable drives

2016-02-26 Thread Vladimir 'phcoder' Serbinenko
Go ahead Le sam. 13 févr. 2016 06:41, Andrei Borzenkov a écrit : > 12.02.2016 17:49, Vladimir 'φ-coder/phcoder' Serbinenko пишет: > > On 12.02.2016 15:38, Andrei Borzenkov wrote: > >> On Fri, Feb 12, 2016 at 5:29 PM, Vladimir 'φ-coder/phcoder' Serbinenko > >> wrote: > >>> On 05.02.2016 17:56, A

Re: [PATCH 1/2] disk: Add support for device-specific malloc function

2016-02-26 Thread Andrei Borzenkov
On Fri, Feb 26, 2016 at 4:27 PM, Vladimir 'phcoder' Serbinenko wrote: > Andrei, your patch is pretty complicated and would be a subject to putting > into next branch because of its breakage potential. Issue at hand affects > x86 as well. Can we split the solution from radical rework of disk.c with

Re: [PATCH 1/2] disk: Add support for device-specific malloc function

2016-02-26 Thread Vladimir 'phcoder' Serbinenko
Le ven. 26 févr. 2016 14:48, Andrei Borzenkov a écrit : > On Fri, Feb 26, 2016 at 4:27 PM, Vladimir 'phcoder' Serbinenko > wrote: > > Andrei, your patch is pretty complicated and would be a subject to > putting > > into next branch because of its breakage potential. Issue at hand affects > > x86

Re: [PATCH] dns: realloc address buffer after each packet

2016-02-26 Thread Josef Bacik
On 02/26/2016 05:22 AM, Andrei Borzenkov wrote: On Wed, Feb 24, 2016 at 10:11 PM, Josef Bacik wrote: Sometimes DNS responses come in slower than we poll for them which can lead us to process multiple DNS packets which overflows the addresses array. So instead realloc the array each time to mak

Re: [PATCH v2 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi

2016-02-26 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 26.02.2016 12:15, Fu Wei wrote: > Hi Andrei, > > On 26 February 2016 at 18:50, Andrei Borzenkov wrote: >> On Fri, Feb 26, 2016 at 8:59 AM, Fu Wei wrote: >>> +@subsection xen_module >>> >>> -@deffn Command xen_linux file [arguments] >>> -Load a dom0 kernel image for xen hypervi

Re: [PATCH v5 09/11] xen: add capability to load initrd outside of initial mapping

2016-02-26 Thread Daniel Kiper
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 initrd not covered by the initial > >> mapping. This capability is flagged by an elf-

Re: How to chainload grub on different platforms?

2016-02-26 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 24.02.2016 18:14, Andrei Borzenkov wrote: > On x86 we can use multiboot (on in exceptional case chainload boot block). > > On EFI we can use chainloader to launch EFI binary. > > What can we do on PowerPC? SPARC? ARM? MIPS? > > I think we really need some generic platform-independent interfac

Re: [PATCH v5 09/11] xen: add capability to load initrd outside of initial mapping

2016-02-26 Thread Juergen Gross
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 initrd not covered by the initial mapp

Re: [PATCH v5 09/11] xen: add capability to load initrd outside of initial mapping

2016-02-26 Thread Daniel Kiper
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: > >>> On Thu, Feb 25, 2016 at 12:33:35PM +0100, Juergen Gross wrote: > Modern p

Re: [PATCH v2 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi

2016-02-26 Thread Fu Wei
On 26 February 2016 at 22:03, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 26.02.2016 12:15, Fu Wei wrote: >> Hi Andrei, >> >> On 26 February 2016 at 18:50, Andrei Borzenkov wrote: >>> On Fri, Feb 26, 2016 at 8:59 AM, Fu Wei wrote: +@subsection xen_module -@deffn