Re: [Xen-devel] [PATCH] x86: Avoid tripping watchdog when constructing dom0

2015-06-11 Thread Jan Beulich
>>> On 11.06.15 at 17:39, wrote: > On 06/11/2015 03:22 PM, Jan Beulich wrote: > On 11.06.15 at 15:03, wrote: >>> @@ -946,6 +948,8 @@ int __init construct_dom0( >>> if ( (rc = elf_xen_parse(&elf, &parms)) != 0 ) >>> goto out; >>> >>> +process_pending_softirqs(); >> >> For t

Re: [Xen-devel] [PATCH] x86: Avoid tripping watchdog when constructing dom0

2015-06-11 Thread Ross Lagerwall
On 06/11/2015 03:22 PM, Jan Beulich wrote: On 11.06.15 at 15:03, wrote: @@ -946,6 +948,8 @@ int __init construct_dom0( if ( (rc = elf_xen_parse(&elf, &parms)) != 0 ) goto out; +process_pending_softirqs(); For this one I'm not sure whether it shouldn't really go somewhere

Re: [Xen-devel] [PATCH] x86: Avoid tripping watchdog when constructing dom0

2015-06-11 Thread Jan Beulich
>>> On 11.06.15 at 15:03, wrote: > @@ -946,6 +948,8 @@ int __init construct_dom0( > if ( (rc = elf_xen_parse(&elf, &parms)) != 0 ) > goto out; > > +process_pending_softirqs(); For this one I'm not sure whether it shouldn't really go somewhere inside the ELF parser, namely due

Re: [Xen-devel] [PATCH] x86: Avoid tripping watchdog when constructing dom0

2015-06-11 Thread Andrew Cooper
On 11/06/15 14:03, Ross Lagerwall wrote: > Constructing dom0 may take a few seconds, particularly if the slow VESA > graphics terminal is used. Process pending softirqs a few times to avoid > tripping a watchdog with a short timeout. > > Signed-off-by: Ross Lagerwall Reviewed-by: Andrew Cooper

[Xen-devel] [PATCH] x86: Avoid tripping watchdog when constructing dom0

2015-06-11 Thread Ross Lagerwall
Constructing dom0 may take a few seconds, particularly if the slow VESA graphics terminal is used. Process pending softirqs a few times to avoid tripping a watchdog with a short timeout. Signed-off-by: Ross Lagerwall --- xen/arch/x86/domain_build.c | 6 ++ 1 file changed, 6 insertions(+) di