Re: [Xen-devel] [PATCH] tools/firmware: Rename bios.bin to seabios.bin

2016-09-05 Thread Anthony PERARD
On Mon, Aug 22, 2016 at 11:24:05AM +0100, Wei Liu wrote: > On Fri, Aug 19, 2016 at 03:26:23PM +0100, Andrew Cooper wrote: > > bios.bin as a name is far too generic. Rename it to seabios.bin. > > > > Signed-off-by: Andrew Cooper > > Hmm... I remember the first few versions of that series had it

[Xen-devel] [xen-unstable test] 100751: tolerable FAIL

2016-09-05 Thread osstest service owner
flight 100751 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/100751/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-i386-libvirt 3 host-install(3) broken in 100748 pass in 100751 test-armhf-armhf-xl7 hos

[Xen-devel] [PATCH] x86emul: simplify prefix handling for VMFUNC

2016-09-05 Thread Jan Beulich
LOCK prefixes get dealt with elsewhere and 66, F2, and F3 can all be checked for in one go by looking at vex.pfx. Signed-off-by: Jan Beulich --- a/xen/arch/x86/x86_emulate/x86_emulate.c +++ b/xen/arch/x86/x86_emulate/x86_emulate.c @@ -3942,8 +3942,8 @@ x86_emulate( goto rdtsc;

Re: [Xen-devel] Regression between Xen 4.6.0 and 4.7.0, Direct kernel boot on a qemu-xen and seabios HVM guest doesn't work anymore.

2016-09-05 Thread linux
On 2016-08-25 23:18, li...@eikelenboom.it wrote: On 2016-08-25 22:34, Doug Goldstein wrote: On 8/25/16 4:21 PM, li...@eikelenboom.it wrote: Today i tried to switch some of my HVM guests (qemu-xen) from booting of a kernel *inside* the guest, to a dom0 supplied kernel, which is described as "Di

[Xen-devel] [PATCH] libxl: update flex output files for DSA 3653-2

2016-09-05 Thread Wei Liu
We updated flex output files in 4b314c89 ("libxl: update flex output files") for DSA 3653-1 / CVE-2016-6354. But Debian security team discovered the fix to flex was incomplete and issued DSA 3653-2. We need to update our flex output files accordingly. Signed-off-by: Wei Liu --- Cc: Ian Jackson -

[Xen-devel] [PATCH] libxl: do not assume Dom0 backend while getting nic info

2016-09-05 Thread Marek Marczykowski-Górecki
Fill backend_domid field based on backend path. ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] Regression between Xen 4.6.0 and 4.7.0, Direct kernel boot on a qemu-xen and seabios HVM guest doesn't work anymore.

2016-09-05 Thread Wei Liu
On Mon, Sep 05, 2016 at 11:20:30AM +0200, li...@eikelenboom.it wrote: > On 2016-08-25 23:18, li...@eikelenboom.it wrote: > >On 2016-08-25 22:34, Doug Goldstein wrote: > >>On 8/25/16 4:21 PM, li...@eikelenboom.it wrote: > >>>Today i tried to switch some of my HVM guests (qemu-xen) from booting > >>>

Re: [Xen-devel] [PATCH v3 4/6] Pause/Unpause the domain before/after assigning PI hooks

2016-09-05 Thread Jan Beulich
>>> On 05.09.16 at 05:11, wrote: > >> -Original Message- >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: Friday, September 2, 2016 9:55 PM >> To: Wu, Feng >> Cc: andrew.coop...@citrix.com; dario.faggi...@citrix.com; >> george.dun...@eu.citrix.com; Tian, Kevin ; xen- >> de...@li

Re: [Xen-devel] [PATCH] tools/firmware: Rename bios.bin to seabios.bin

2016-09-05 Thread Andrew Cooper
On 05/09/16 09:09, Anthony PERARD wrote: > On Mon, Aug 22, 2016 at 11:24:05AM +0100, Wei Liu wrote: >> On Fri, Aug 19, 2016 at 03:26:23PM +0100, Andrew Cooper wrote: >>> bios.bin as a name is far too generic. Rename it to seabios.bin. >>> >>> Signed-off-by: Andrew Cooper >> Hmm... I remember the

[Xen-devel] [PATCH] libxl: do not assume Dom0 backend while getting nic info

2016-09-05 Thread Marek Marczykowski-Górecki
Fill backend_domid field based on backend path. Cc: Ian Jackson Cc: Wei Liu Signed-off-by: Marek Marczykowski-Górecki --- tools/libxl/libxl_nic.c | 12 1 file changed, 12 insertions(+) diff --git a/tools/libxl/libxl_nic.c b/tools/libxl/libxl_nic.c index c34b7ba..d1caa90 100644 --

[Xen-devel] [PATCH] libxl: add "xl qemu-monitor-command"

2016-09-05 Thread Juergen Gross
Add a new xl command "qemu-monitor-command" to issue arbitrary commands to a domain's device model. Syntax is: xl qemu-monitor-command The command is issued via qmp human-monitor-command command. Any information returned by the command is printed to stdout. Signed-off-by: Juergen Gross --- d

Re: [Xen-devel] [PATCH v2 Altp2m cleanup v3 3/3] Making altp2m struct dynamically allocated.

2016-09-05 Thread Jan Beulich
>>> On 02.09.16 at 19:53, wrote: > [PAUL] in line Please configure your mail client to use proper quoting. > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Friday, September 2, 2016 6:47 AM On 19.08.16 at 19:22, wrote: >> Ravi Sahita's dynamically allocated altp2m structs > > I thi

Re: [Xen-devel] [PATCH] tools/firmware: Rename bios.bin to seabios.bin

2016-09-05 Thread Wei Liu
On Mon, Sep 05, 2016 at 10:28:25AM +0100, Andrew Cooper wrote: > On 05/09/16 09:09, Anthony PERARD wrote: > > On Mon, Aug 22, 2016 at 11:24:05AM +0100, Wei Liu wrote: > >> On Fri, Aug 19, 2016 at 03:26:23PM +0100, Andrew Cooper wrote: > >>> bios.bin as a name is far too generic. Rename it to seabi

Re: [Xen-devel] [PATCH v2 Altp2m cleanup v3 2/3] Move altp2m specific functions to altp2m files.

2016-09-05 Thread Jan Beulich
>>> On 02.09.16 at 19:56, wrote: > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Friday, September 2, 2016 6:31 AM On 19.08.16 at 19:22, wrote: >> +/* Init alternate p2m data. */ >> +if ( (d->arch.altp2m_eptp = alloc_xenheap_page()) == NULL ) >> +{ >> +rc = -ENOME

Re: [Xen-devel] [PATCH] libxl: do not assume Dom0 backend while getting nic info

2016-09-05 Thread Wei Liu
On Mon, Sep 05, 2016 at 11:26:04AM +0200, Marek Marczykowski-Górecki wrote: > Fill backend_domid field based on backend path. > > Cc: Ian Jackson > Cc: Wei Liu > Signed-off-by: Marek Marczykowski-Górecki Acked-by: Wei Liu I think this is a backport candidate? > --- > tools/libxl/libxl_nic.

Re: [Xen-devel] [PATCH linux v3 3/9] xen: introduce xen_vcpu_id mapping

2016-09-05 Thread Vitaly Kuznetsov
Julien Grall writes: > Hi Vitaly, > > On 26/07/16 13:30, Vitaly Kuznetsov wrote: >> It may happen that Xen's and Linux's ideas of vCPU id diverge. In >> particular, when we crash on a secondary vCPU we may want to do kdump >> and unlike plain kexec where we do migrate_to_reboot_cpu() we try booti

Re: [Xen-devel] [PATCH] x86: correct CPUID output for out of bounds input

2016-09-05 Thread Andrew Cooper
On 05/09/16 07:32, Jan Beulich wrote: On 02.09.16 at 17:14, wrote: >> On 01/09/16 16:27, Jan Beulich wrote: > +{ > +if ( d->arch.x86_vendor == X86_VENDOR_AMD ) > +{ > +*eax = 0; > +*ebx = 0; > +

Re: [Xen-devel] [PATCH] libxl: do not assume Dom0 backend while getting nic info

2016-09-05 Thread Marek Marczykowski-Górecki
On Mon, Sep 05, 2016 at 10:39:16AM +0100, Wei Liu wrote: > On Mon, Sep 05, 2016 at 11:26:04AM +0200, Marek Marczykowski-Górecki wrote: > > Fill backend_domid field based on backend path. > > > > Cc: Ian Jackson > > Cc: Wei Liu > > Signed-off-by: Marek Marczykowski-Górecki > > Acked-by: Wei Liu

Re: [Xen-devel] Regression between Xen 4.6.0 and 4.7.0, Direct kernel boot on a qemu-xen and seabios HVM guest doesn't work anymore.

2016-09-05 Thread Jan Beulich
>>> On 05.09.16 at 11:20, wrote: > Hmm it seems my thread was kind of hijacked and i was dropped from the > CC. > > I had some time and bisected the issue and it resulted in: > > 5a3ce8f85e7e7bdd339d259daa19f6bc5cb4735f is the first bad commit > commit 5a3ce8f85e7e7bdd339d259daa19f6bc5cb4735f >

Re: [Xen-devel] [PATCH] libxc: zero-initialize structures in macros

2016-09-05 Thread Wei Liu
On Fri, Sep 02, 2016 at 11:22:04AM -0600, Tamas K Lengyel wrote: > On Fri, Sep 2, 2016 at 11:18 AM, Andrew Cooper > wrote: > > On 02/09/16 17:39, Tamas K Lengyel wrote: > >> While debugging applications built on top of libxc with Valgrind we get a > >> lot > >> of complaining about relying on uni

Re: [Xen-devel] [PATCH] x86: correct CPUID output for out of bounds input

2016-09-05 Thread Jan Beulich
>>> On 05.09.16 at 11:43, wrote: > On 05/09/16 07:32, Jan Beulich wrote: > On 02.09.16 at 17:14, wrote: >>> On 01/09/16 16:27, Jan Beulich wrote: >> +{ >> +if ( d->arch.x86_vendor == X86_VENDOR_AMD ) >> +{ >> +*eax = 0; >> +

Re: [Xen-devel] [PATCH] x86emul: simplify prefix handling for VMFUNC

2016-09-05 Thread Andrew Cooper
On 05/09/16 10:13, Jan Beulich wrote: > LOCK prefixes get dealt with elsewhere and 66, F2, and F3 can all be > checked for in one go by looking at vex.pfx. > > Signed-off-by: Jan Beulich As far as subsuming the checks goes, this is fine. However, is the code actually correct? The manual makes n

Re: [Xen-devel] [PATCH] libxl: do not assume Dom0 backend while getting nic info

2016-09-05 Thread Wei Liu
On Mon, Sep 05, 2016 at 11:44:46AM +0200, Marek Marczykowski-Górecki wrote: > On Mon, Sep 05, 2016 at 10:39:16AM +0100, Wei Liu wrote: > > On Mon, Sep 05, 2016 at 11:26:04AM +0200, Marek Marczykowski-Górecki wrote: > > > Fill backend_domid field based on backend path. > > > > > > Cc: Ian Jackson

Re: [Xen-devel] Regression between Xen 4.6.0 and 4.7.0, Direct kernel boot on a qemu-xen and seabios HVM guest doesn't work anymore.

2016-09-05 Thread linux
On 2016-09-05 11:46, Jan Beulich wrote: On 05.09.16 at 11:20, wrote: Hmm it seems my thread was kind of hijacked and i was dropped from the CC. I had some time and bisected the issue and it resulted in: 5a3ce8f85e7e7bdd339d259daa19f6bc5cb4735f is the first bad commit commit 5a3ce8f85e7e7bdd33

Re: [Xen-devel] [PATCH] x86: correct CPUID output for out of bounds input

2016-09-05 Thread Andrew Cooper
On 05/09/16 10:51, Jan Beulich wrote: On 05.09.16 at 11:43, wrote: >> On 05/09/16 07:32, Jan Beulich wrote: >> On 02.09.16 at 17:14, wrote: On 01/09/16 16:27, Jan Beulich wrote: >>> +{ >>> +if ( d->arch.x86_vendor == X86_VENDOR_AMD ) >>> +

Re: [Xen-devel] [PATCH v6] xen/sm{e, a}p: allow disabling sm{e, a}p for Xen itself

2016-09-05 Thread Jan Beulich
>>> On 05.09.16 at 07:17, wrote: > SMEP/SMAP is a security feature to prevent kernel executing/accessing > user address involuntarily, any such behavior will lead to a page fault. > > SMEP/SMAP is open (in CR4) for both Xen and HVM guest in earlier code. > SMEP/SMAP bit set in Xen CR4 would enfor

Re: [Xen-devel] [PATCH 2/5] gcov: collect more sections to constructor list

2016-09-05 Thread Julien Grall
Hi Wei, On 02/09/2016 12:47, Wei Liu wrote: The version of gcc (4.9.2) I use put constructors into .init_array* section(s). Collect those sections into constructor list as well. Modify both arm and x86 scripts to keep them in sync. With Jan's comment handled: Acked-by: Julien Grall Regards

Re: [Xen-devel] [PATCH] x86emul: simplify prefix handling for VMFUNC

2016-09-05 Thread Jan Beulich
>>> On 05.09.16 at 11:52, wrote: > On 05/09/16 10:13, Jan Beulich wrote: >> LOCK prefixes get dealt with elsewhere and 66, F2, and F3 can all be >> checked for in one go by looking at vex.pfx. >> >> Signed-off-by: Jan Beulich > > As far as subsuming the checks goes, this is fine. However, is th

[Xen-devel] [PATCH RFC 2/6] xen/arm: hwdom GIC: inherit interrupt parent from host device tree

2016-09-05 Thread Kyle Temkin
From: "Kyle J. Temkin" Currently, we don't copy in the interrupt parent from the host device tree; and instead let Xen automatically figure it out when generating the device tree for the hardware domain. In cases where a non-GIC interrupt controller is present, this can lead to incorrect assignm

[Xen-devel] [PATCH RFC 1/6] xen/arm: platforms: Add earlyprintk and serial support for Tegra boards.

2016-09-05 Thread Kyle Temkin
From: "Kyle J. Temkin" Tegra boards feature a NS16550-compatible serial mapped into the MMIO space. Add support for its use both as a full-featured serial port and as an earlyprintk driver. Adds a new "needs_rtoie" (requires Rx Timeout Interrupt) quirk, as some platforms-- including Tegra-- requ

[Xen-devel] [PATCH RFC 0/6] ARM: Add support for Tegra SoCs (incl. Jetson TK1, Jetson TX1)

2016-09-05 Thread Kyle Temkin
The attached patch-set adds support for 32-bit and 64-bit Tegra SoCs; including support for the Jetson TK1 and Jetson TX1 boards, as well as the Pixel C tablet. It has been tested on the TK1, TX1, and Pixel C. Many thanks to Ian Campbell, whose original Jetson TK1 patchset contained a lot of point

[Xen-devel] [PATCH for-4.7, 4.6] libxl: do not assume Dom0 backend while getting nic info

2016-09-05 Thread Marek Marczykowski-Górecki
Fill backend_domid field based on backend path. Cc: Ian Jackson Cc: Wei Liu Signed-off-by: Marek Marczykowski-Górecki --- tools/libxl/libxl.c | 12 1 file changed, 12 insertions(+) diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c index e1ab6ec..9a888a1 100644 --- a/tools/li

[Xen-devel] [PATCH RFC 6/6] xen/arm: platforms/tegra: ensure the hwdom can only affect its own interrupts

2016-09-05 Thread Kyle Temkin
From: "Kyle J. Temkin" Several Tegra hardware devices-- and the Tegra device tree-- expect the presence of a Tegra Legacy Interrupt Controller (LIC) in the hardware domain. Accordingly, we'll need to expose (most of) the LIC's registers to the hardware domain. As the Tegra LIC provides the abil

[Xen-devel] [PATCH RFC 5/6] xen/arm: Add function to query IRQ 'ownership'.

2016-09-05 Thread Kyle Temkin
From: "Kyle J. Temkin" The addition of new IRQ-related platform hooks now allow platforms to perform platform-specific interrupt logic; allowing e.g. virtualization of platform-specific interrupt controller hardware. This commit adds the ability to for the platform to identify the domain a given

[Xen-devel] [PATCH RFC 4/6] xen/arm: platforms: Add Tegra platform to support basic IRQ routing.

2016-09-05 Thread Kyle Temkin
From: "Kyle J. Temkin" Tegra devices have a legacy interrupt controller (lic, or ictlr) that must be programmed in parallel with their primary GIC. For all intents and purposes, we treat this devices attached to this controller as connected to the primary GIC, as it will be handling their interru

[Xen-devel] [PATCH RFC 3/6] xen/arm: Allow platforms to hook IRQ routing.

2016-09-05 Thread Kyle Temkin
From: "Kyle J. Temkin" Some common platforms (e.g. Tegra) have non-traditional IRQ controllers that must be programmed in addition to their primary GICs-- and which can come in unusual topologies. Device trees for targets that feature these controllers often deviate from the conventions that Xen

Re: [Xen-devel] [PATCH v3 10/38] arm/p2m: Move hostp2m init/teardown to individual functions

2016-09-05 Thread Sergej Proskurin
Hi Julien, On 09/02/2016 12:51 PM, Julien Grall wrote: > > > On 02/09/16 10:09, Sergej Proskurin wrote: >> Hi Julien, >> >> On 09/01/2016 07:36 PM, Julien Grall wrote: >>> Hello Sergej, >>> >>> On 16/08/16 23:16, Sergej Proskurin wrote: --- xen/arch/arm/p2m.c| 71 +

[Xen-devel] [distros-debian-sid test] 67637: tolerable FAIL

2016-09-05 Thread Platform Team regression test user
flight 67637 distros-debian-sid real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/67637/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-i386-amd64-sid-netboot-pygrub 9 debian-di-install fail like 67603 test-amd64-i386-i38

Re: [Xen-devel] [PATCH] libxl: update flex output files for DSA 3653-2

2016-09-05 Thread Ian Jackson
Wei Liu writes ("[PATCH] libxl: update flex output files for DSA 3653-2"): > We updated flex output files in 4b314c89 ("libxl: update flex output > files") for DSA 3653-1 / CVE-2016-6354. But Debian security team > discovered the fix to flex was incomplete and issued DSA 3653-2. We need > to update

Re: [Xen-devel] Regression between Xen 4.6.0 and 4.7.0, Direct kernel boot on a qemu-xen and seabios HVM guest doesn't work anymore.

2016-09-05 Thread Jan Beulich
>>> On 05.09.16 at 12:02, wrote: > On 2016-09-05 11:46, Jan Beulich wrote: > On 05.09.16 at 11:20, wrote: >>> Hmm it seems my thread was kind of hijacked and i was dropped from the >>> CC. >>> >>> I had some time and bisected the issue and it resulted in: >>> >>> 5a3ce8f85e7e7bdd339d259daa1

Re: [Xen-devel] [PATCH] libxl: add "xl qemu-monitor-command"

2016-09-05 Thread Ian Jackson
Juergen Gross writes ("[PATCH] libxl: add "xl qemu-monitor-command""): > Add a new xl command "qemu-monitor-command" to issue arbitrary commands > to a domain's device model. Syntax is: > > xl qemu-monitor-command > > The command is issued via qmp human-monitor-command command. Any > informatio

Re: [Xen-devel] [PATCH] libxl: do not assume Dom0 backend while getting nic info

2016-09-05 Thread Ian Jackson
Wei Liu writes ("Re: [PATCH] libxl: do not assume Dom0 backend while getting nic info"): > On Mon, Sep 05, 2016 at 11:44:46AM +0200, Marek Marczykowski-Górecki wrote: > > Yes, certainly. If you want I can send a 4.7 version (function is in > > libxl.c there). Thanks for the backport. Wei, can yo

Re: [Xen-devel] [PATCH v5] x86/cpuid: AVX-512 Feature Detection

2016-09-05 Thread Andrew Cooper
On 23/08/16 02:54, Luwei Kang wrote: > AVX512 is an extention of AVX2. Its spec can be found at: > https://software.intel.com/sites/default/files/managed/b4/3a/319433-024.pdf > This patch detects AVX512 features by CPUID. > > Signed-off-by: Luwei Kang Reviewed-by: Andrew Cooper _

Re: [Xen-devel] [PATCH] libxl: do not assume Dom0 backend while getting nic info

2016-09-05 Thread Wei Liu
On Mon, Sep 05, 2016 at 11:39:22AM +0100, Ian Jackson wrote: > Wei Liu writes ("Re: [PATCH] libxl: do not assume Dom0 backend while getting > nic info"): > > On Mon, Sep 05, 2016 at 11:44:46AM +0200, Marek Marczykowski-Górecki wrote: > > > Yes, certainly. If you want I can send a 4.7 version (func

Re: [Xen-devel] [PATCH] libxl: update flex output files for DSA 3653-2

2016-09-05 Thread Wei Liu
On Mon, Sep 05, 2016 at 11:24:45AM +0100, Ian Jackson wrote: > Wei Liu writes ("[PATCH] libxl: update flex output files for DSA 3653-2"): > > We updated flex output files in 4b314c89 ("libxl: update flex output > > files") for DSA 3653-1 / CVE-2016-6354. But Debian security team > > discovered the

Re: [Xen-devel] [PATCH] tools/firmware: Rename bios.bin to seabios.bin

2016-09-05 Thread Wei Liu
On Mon, Sep 05, 2016 at 10:31:21AM +0100, Wei Liu wrote: > On Mon, Sep 05, 2016 at 10:28:25AM +0100, Andrew Cooper wrote: > > On 05/09/16 09:09, Anthony PERARD wrote: > > > On Mon, Aug 22, 2016 at 11:24:05AM +0100, Wei Liu wrote: > > >> On Fri, Aug 19, 2016 at 03:26:23PM +0100, Andrew Cooper wrote:

[Xen-devel] Two new x86 boxes in Mass colo (nobling[01])

2016-09-05 Thread Ian Jackson
FYI Dell and us have now finished the exchange of the two problematic test machines oseleta* with two new machines nobling0 and nobling1. I have finished running commissioning tests and they are mostly looking good. However, I am going to hold off putting them into service, because they expose a

Re: [Xen-devel] [PATCH 0/3] mini-os: test and document config variations

2016-09-05 Thread Wei Liu
On Fri, Sep 02, 2016 at 10:56:44AM +0200, Juergen Gross wrote: > Add a "testbuild" target to Makefile which builds various configurations. > Repair some minor issues uncovered by those test builds. > Document the config framework. > > Juergen Gross (3): > mini-os: fix builds with uncommon config

Re: [Xen-devel] Regression between Xen 4.6.0 and 4.7.0, Direct kernel boot on a qemu-xen and seabios HVM guest doesn't work anymore.

2016-09-05 Thread linux
On 2016-09-05 12:25, Jan Beulich wrote: On 05.09.16 at 12:02, wrote: On 2016-09-05 11:46, Jan Beulich wrote: On 05.09.16 at 11:20, wrote: Hmm it seems my thread was kind of hijacked and i was dropped from the CC. I had some time and bisected the issue and it resulted in: 5a3ce8f85e7e7bdd3

[Xen-devel] Test Meetup at Developer Summit

2016-09-05 Thread Lars Kurth
== Attendees == Lars Kurth George Dunlap Doug Goldstein Andrew Cooper Paul Durrant There were a few others, which I may have missed I tried to transcribe from a recording we had at lunch, but due to background noise I didn't get everything. Please add/correct, if I got something wrong. There wa

Re: [Xen-devel] [PATCH] libxl: add "xl qemu-monitor-command"

2016-09-05 Thread Juergen Gross
On 05/09/16 12:32, Ian Jackson wrote: > Juergen Gross writes ("[PATCH] libxl: add "xl qemu-monitor-command""): >> Add a new xl command "qemu-monitor-command" to issue arbitrary commands >> to a domain's device model. Syntax is: >> >> xl qemu-monitor-command >> >> The command is issued via qmp hum

Re: [Xen-devel] Regression between Xen 4.6.0 and 4.7.0, Direct kernel boot on a qemu-xen and seabios HVM guest doesn't work anymore.

2016-09-05 Thread Jan Beulich
>>> On 05.09.16 at 13:19, wrote: > On 2016-09-05 12:25, Jan Beulich wrote: >> Anyway - with you quite clearly having used HAP before, I can't >> see how this commit would matter for you at all. In case you want >> to double check you could try with a hypervisor built without >> shadow paging code

[Xen-devel] [PATCH] mini-os: add comments in Config.mk regarding new config options

2016-09-05 Thread Juergen Gross
Add some comment in Config.mk what to do in case of adding new config options. Signed-off-by: Juergen Gross --- Config.mk | 5 + 1 file changed, 5 insertions(+) diff --git a/Config.mk b/Config.mk index 0e405bf..0baedd1 100644 --- a/Config.mk +++ b/Config.mk @@ -152,6 +152,11 @@ CFLAGS += -f

[Xen-devel] [linux-3.18 test] 100752: regressions - FAIL

2016-09-05 Thread osstest service owner
flight 100752 linux-3.18 real [real] http://logs.test-lab.xenproject.org/osstest/logs/100752/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-pvh-intel 11 guest-start fail REGR. vs. 100597 test-armhf-armhf-xl-

Re: [Xen-devel] Regression between Xen 4.6.0 and 4.7.0, Direct kernel boot on a qemu-xen and seabios HVM guest doesn't work anymore.

2016-09-05 Thread linux
On 2016-09-05 13:43, Jan Beulich wrote: On 05.09.16 at 13:19, wrote: On 2016-09-05 12:25, Jan Beulich wrote: Anyway - with you quite clearly having used HAP before, I can't see how this commit would matter for you at all. In case you want to double check you could try with a hypervisor built w

Re: [Xen-devel] [PATCH] libxl: add "xl qemu-monitor-command"

2016-09-05 Thread Ian Jackson
Juergen Gross writes ("Re: [PATCH] libxl: add "xl qemu-monitor-command""): > On 05/09/16 12:32, Ian Jackson wrote: > > The rest of the documentation will need adjusting. As an example of > > the incompleteness I am talking about I think the example shows only > > some of the USB devices presented

Re: [Xen-devel] [PATCH] libxl: add "xl qemu-monitor-command"

2016-09-05 Thread Juergen Gross
On 05/09/16 14:18, Ian Jackson wrote: > Juergen Gross writes ("Re: [PATCH] libxl: add "xl qemu-monitor-command""): >> On 05/09/16 12:32, Ian Jackson wrote: >>> The rest of the documentation will need adjusting. As an example of >>> the incompleteness I am talking about I think the example shows on

Re: [Xen-devel] [PATCH v5 12/16] x86/efi: create new early memory allocator

2016-09-05 Thread Jan Beulich
>>> On 20.08.16 at 00:43, wrote: > --- a/xen/arch/x86/efi/efi-boot.h > +++ b/xen/arch/x86/efi/efi-boot.h > @@ -103,9 +103,56 @@ static void __init relocate_trampoline(unsigned long > phys) > *(u16 *)(*trampoline_ptr + (long)trampoline_ptr) = phys >> 4; > } > > +#define EBMALLOC_SIZE

[Xen-devel] [xen-unstable-smoke test] 100755: regressions - FAIL

2016-09-05 Thread osstest service owner
flight 100755 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/100755/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-debianhvm-i386 6 xen-boot fail REGR. vs. 100736 test-amd64-a

Re: [Xen-devel] [PATCH 19/24] xen: credit2: soft-affinity awareness in load balancing

2016-09-05 Thread Dario Faggioli
On Fri, 2016-09-02 at 12:46 +0100, anshul makkar wrote: Hey, Anshul, Thanks for having a look at the patch! > On 17/08/16 18:19, Dario Faggioli wrote: > >  > > --- a/xen/common/sched_credit2.c > > +++ b/xen/common/sched_credit2.c > >  > > + * Basically, if a soft-affinity is defined, the work do

Re: [Xen-devel] [PATCH 23/24] xen: credit2: optimize runq_tickle() a little bit

2016-09-05 Thread Dario Faggioli
On Fri, 2016-09-02 at 13:38 +0100, anshul makkar wrote: > On 17/08/16 18:20, Dario Faggioli wrote: > >  > > diff --git a/xen/common/sched_credit2.c > > b/xen/common/sched_credit2.c > >  > > @@ -1102,13 +1110,26 @@ runq_tickle(const struct scheduler *ops, > >   for_each_cpu(i, &mask) > >   

Re: [Xen-devel] [PATCH v6] xen/sm{e, a}p: allow disabling sm{e, a}p for Xen itself

2016-09-05 Thread Jan Beulich
>>> On 05.09.16 at 07:17, wrote: > @@ -1403,12 +1451,16 @@ void __init noreturn __start_xen(unsigned long mbi_p) > > if ( !opt_smep ) > setup_clear_cpu_cap(X86_FEATURE_SMEP); > -if ( cpu_has_smep ) > +else if ( opt_smep == 1 ) > +__set_bit(X86_FEATURE_XEN_SMEP, boot

Re: [Xen-devel] [PATCH] replace bogus -ENOSYS uses

2016-09-05 Thread George Dunlap
On Tue, Aug 9, 2016 at 11:40 AM, Jan Beulich wrote: > This doesn't cover all of them, just the ones that I think would most > obviously better be -EINVAL or -EOPNOTSUPP. > > Signed-off-by: Jan Beulich FWIW: Reviewed-by: George Dunlap > > --- a/xen/arch/x86/cpu/mcheck/vmce.c > +++ b/xen/arch/x

Re: [Xen-devel] [PATCH] mini-os: add comments in Config.mk regarding new config options

2016-09-05 Thread Samuel Thibault
Juergen Gross, on Mon 05 Sep 2016 13:43:30 +0200, wrote: > Add some comment in Config.mk what to do in case of adding new config > options. > > Signed-off-by: Juergen Gross Reviewed-by: Samuel Thibault > --- > Config.mk | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/Config.mk

Re: [Xen-devel] [PATCH 18/24] xen: credit2: soft-affinity awareness fallback_cpu() and cpu_pick()

2016-09-05 Thread Dario Faggioli
On Thu, 2016-09-01 at 12:08 +0100, anshul makkar wrote: > On 17/08/16 18:19, Dario Faggioli wrote: > >  > > diff --git a/xen/common/sched_credit2.c > > b/xen/common/sched_credit2.c > >  > > @@ -506,34 +506,68 @@ void smt_idle_mask_clear(unsigned int cpu, > > cpumask_t *mask) > >   } > > > >   /* >

Re: [Xen-devel] [PATCH v6 1/4] x86/ioreq server: Add HVMOP to map guest ram with p2m_ioreq_server to an ioreq server.

2016-09-05 Thread Jan Beulich
>>> On 02.09.16 at 12:47, wrote: > @@ -178,8 +179,27 @@ static int hvmemul_do_io( > break; > case X86EMUL_UNHANDLEABLE: > { > -struct hvm_ioreq_server *s = > -hvm_select_ioreq_server(curr->domain, &p); > +struct hvm_ioreq_server *s = NULL; > +

Re: [Xen-devel] [PATCH] mini-os: add comments in Config.mk regarding new config options

2016-09-05 Thread Wei Liu
On Mon, Sep 05, 2016 at 03:23:10PM +0200, Samuel Thibault wrote: > Juergen Gross, on Mon 05 Sep 2016 13:43:30 +0200, wrote: > > Add some comment in Config.mk what to do in case of adding new config > > options. > > > > Signed-off-by: Juergen Gross > > Reviewed-by: Samuel Thibault > Pushed. _

Re: [Xen-devel] [PATCH 05/24] xen: credit2: make tickling more deterministic

2016-09-05 Thread Dario Faggioli
On Wed, 2016-08-31 at 18:10 +0100, anshul makkar wrote: > On 17/08/16 18:18, Dario Faggioli wrote: > > > > Right now, the following scenario can occurr: > >   - upon vcpu v wakeup, v itself is put in the runqueue, > > and pcpu X is tickled; > >   - pcpu Y schedules (for whatever reason), sees

Re: [Xen-devel] [PATCH v6 2/4] x86/ioreq server: Release the p2m lock after mmio is handled.

2016-09-05 Thread Jan Beulich
>>> On 02.09.16 at 12:47, wrote: > Routine hvmemul_do_io() may need to peek the p2m type of a gfn to > select the ioreq server. For example, operations on gfns with > p2m_ioreq_server type will be delivered to a corresponding ioreq > server, and this requires that the p2m type not be switched back

Re: [Xen-devel] [PATCH 14/24] libxl: allow to set the ratelimit value online for Credit2

2016-09-05 Thread Dario Faggioli
On Mon, 2016-08-22 at 10:21 +0100, Ian Jackson wrote: > Dario Faggioli writes ("[PATCH 14/24] libxl: allow to set the > ratelimit value online for Credit2"): > > > > This is the remaining part of the plumbing (the libxl > > one) necessary to be able to change the value of the > > ratelimit_us para

[Xen-devel] [OSSTEST PATCH 11/26] ts-xen-build: Support $r{cmdsuffix_configure}

2016-09-05 Thread Ian Jackson
Nothing sets this yet, so no functional change. Signed-off-by: Ian Jackson --- ts-xen-build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ts-xen-build b/ts-xen-build index 60ce9ee..4f06419 100755 --- a/ts-xen-build +++ b/ts-xen-build @@ -109,6 +109,7 @@ sub build () {

[Xen-devel] [OSSTEST PATCH 14/26] rumprun: ts-rumprun-build: Update for newer Xen

2016-09-05 Thread Ian Jackson
Newer Xen needs more work to make it cross compile for rump. * Pass --host=TARGET to configure. This is needed so that configure knows that we are deliberately cross compiling. (Otherwise it tries to run target binaries on the host, and crashes when that fails.) * Pass CROSS_COMPILE in the

[Xen-devel] [OSSTEST PATCH 22/26] TestSupport: guest_prepare_disk: cope with no disk

2016-09-05 Thread Ian Jackson
If the guest has no runvars specifying any kind of disk, do not attempt to mess about with unmounting it etc. Signed-off-by: Ian Jackson --- Osstest/TestSupport.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index a6ab18f..7

[Xen-devel] [OSSTEST PATCH 07/26] rumprun: ts-rumprun-build: Remove $bodges

2016-09-05 Thread Ian Jackson
This is very obsolete. Signed-off-by: Ian Jackson --- ap-common| 5 - ts-rumprun-build | 46 +- 2 files changed, 1 insertion(+), 50 deletions(-) diff --git a/ap-common b/ap-common index 212da18..62d2e4f 100644 --- a/ap-common +++ b/ap-com

[Xen-devel] [OSSTEST PATCH 12/26] ts-xen-build: Support --no-kconfig

2016-09-05 Thread Ian Jackson
Nothing passes this yet, so no functional change. Signed-off-by: Ian Jackson --- ts-xen-build | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/ts-xen-build b/ts-xen-build index 4f06419..f5cff8b 100755 --- a/ts-xen-build +++ b/ts-xen-build @@ -25,7 +25,20 @@ use

[Xen-devel] [OSSTEST PATCH 21/26] rumprun: Do not stash whole build tree

2016-09-05 Thread Ian Jackson
Build steps all need the whole build tree in the same location, so have to be part of this job. Test jobs need only rumprun. Signed-off-by: Ian Jackson --- ts-rumprun-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts-rumprun-build b/ts-rumprun-build index 26f2f2c..191

[Xen-devel] [OSSTEST PATCH 10/26] ts-xen-build: Separate out kconfig from main build step

2016-09-05 Thread Ian Jackson
Signed-off-by: Ian Jackson --- ts-xen-build | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ts-xen-build b/ts-xen-build index 5933dd4..60ce9ee 100755 --- a/ts-xen-build +++ b/ts-xen-build @@ -125,10 +125,14 @@ END fi END #/; -buildcmd_stamped_logged(900

[Xen-devel] [OSSTEST PATCH 01/26] Executive: Do update flights_harness_touched for play flights

2016-09-05 Thread Ian Jackson
Have \bplay\b simply bypass the blessing check, but not the harness revision update which follows. Signed-off-by: Ian Jackson --- Osstest/JobDB/Executive.pm | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Osstest/JobDB/Executive.pm b/Osstest/JobDB/Executive.pm index c

[Xen-devel] [OSSTEST PATCH 17/26] rumprun: Break out findtools

2016-09-05 Thread Ian Jackson
This makes room for setting up ccache. No functional change yet. Signed-off-by: Ian Jackson --- ts-rumprun-build | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/ts-rumprun-build b/ts-rumprun-build index 98c8efc..24e54e1 100755 --- a/ts-rumprun-build +++ b/ts-r

[Xen-devel] [OSSTEST PATCH 00/26] rump kernels: Fix build

2016-09-05 Thread Ian Jackson
This series fixes the rump kernel build, and the test plumbing. The tests still fail because they xenbus driver in rump kernel upstream has rotted. I'm working on that... Ian. ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xe

[Xen-devel] [OSSTEST PATCH 20/26] Xen built versions: ts-xen-build: check versions of Xen subtrees, only

2016-09-05 Thread Ian Jackson
ts-xen-build has a check that the actually-built versions of the various subtrees are right. This allows it to spot if the machinery for specifying the subtree revision hasn't worked. However, this machinery is troublesome: it assumes that the value specified in the revision_TREE runvar is a comm

[Xen-devel] [OSSTEST PATCH 23/26] rumprun: `rumpbake' our executables and run them with `rumprun'

2016-09-05 Thread Ian Jackson
(Well, our one executable: xenstore-ls) Modern rumprun requires the output of the linker to be `baked' (second link phase, where the complete unikernel is assembled). This has to be done as part of the build, because it needs all the rumpkernel libraries. It generates a single image file - there

[Xen-devel] [OSSTEST PATCH 05/26] rumprun: Fetch source from new upstream

2016-09-05 Thread Ian Jackson
Also, update for the current set of submodules. Signed-off-by: Ian Jackson --- ap-common| 2 +- ts-rumprun-build | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ap-common b/ap-common index 6fe3b78..14cc25a 100644 --- a/ap-common +++ b/ap-common @@ -37,7 +37,7 @@

[Xen-devel] [OSSTEST PATCH 06/26] rumprun: Move xenbits tree to osstest subdir

2016-09-05 Thread Ian Jackson
Move our tested tree to /home/xen/git/osstest, where these kind of things live nowadays. Signed-off-by: Ian Jackson --- ap-common | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ap-common b/ap-common index 14cc25a..212da18 100644 --- a/ap-common +++ b/ap-common @@ -39,8 +

[Xen-devel] [OSSTEST PATCH 03/26] TestSupport: Produce stack trace for undef tfileex

2016-09-05 Thread Ian Jackson
Use `confess' to see where an undef $rfile came from. I think there will probably be lots more of this pattern. Signed-off-by: Ian Jackson --- Osstest/TestSupport.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index d0d6ef3..a6ab18f 100

[Xen-devel] [OSSTEST PATCH 15/26] rumprun: Drop old rumpuserxen demo

2016-09-05 Thread Ian Jackson
The WOPR demo is gone from rumpkernel upstream. Sadly this leaves us without a test that the rump environment's networking is functional. Signed-off-by: Ian Jackson --- sg-run-job | 4 1 file changed, 4 deletions(-) diff --git a/sg-run-job b/sg-run-job index 31a5589..0c7835e 100755 --- a/

[Xen-devel] [OSSTEST PATCH 08/26] rumprun: ts-rumprun-build: Build new rumprun properly, ship the output

2016-09-05 Thread Ian Jackson
The command is `build-rr.sh' nowadays. The output longer includes test domain image and configuration. The output is in `rumprun'. Signed-off-by: Ian Jackson --- ts-rumprun-build | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/ts-rumprun-build b/ts-rumprun-build

[Xen-devel] [OSSTEST PATCH 09/26] rumprun: ts-rumprun-build: Adjust command prefixes for new rumprun

2016-09-05 Thread Ian Jackson
Nowadays the expected use pattern is CC=<...rumprun...>-gcc ./configure etc. Signed-off-by: Ian Jackson --- ts-rumprun-build | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/ts-rumprun-build b/ts-rumprun-build index 93c34d1..cb91d5c 100755 --- a/ts-rumprun-bu

[Xen-devel] [OSSTEST PATCH 16/26] rumprun: Do not run xen/Kconfig

2016-09-05 Thread Ian Jackson
We aren't going to cross-build a Xen hypervisor for the rump environment. So don't configure it. Signed-off-by: Ian Jackson --- sg-run-job | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sg-run-job b/sg-run-job index 0c7835e..eb3df26 100755 --- a/sg-run-job +++ b/sg-run-job

[Xen-devel] [OSSTEST PATCH 13/26] rumprun: ts-rumprun-build: Update for new rumprun bin location

2016-09-05 Thread Ian Jackson
The compiler wrappers are in a different location in the new rumprun build tree. Signed-off-by: Ian Jackson --- ts-rumprun-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts-rumprun-build b/ts-rumprun-build index cb91d5c..7184f9d 100755 --- a/ts-rumprun-build +++ b/ts-r

[Xen-devel] [OSSTEST PATCH 19/26] Xen built versions: Move list of subtrees to BuildSupport

2016-09-05 Thread Ian Jackson
Turn the adhoc list of tree names and subdirectories in collect_xen_built_versions into a hash, which we iterate over. Doing this in a data-driven way allows us to provide this information to callers of collect_xen_built_versions, which is going to be helpful in a moment. Signed-off-by: Ian Jacks

[Xen-devel] [OSSTEST PATCH 02/26] Executive: Allow out-of-order manipulations of flights intended play

2016-09-05 Thread Ian Jackson
Flights being operated on by a developer hacking about with the code, which were created with intended blessing `play', are usually blessed `running' or `broken' or something. So the safety catch bypass needs to look at the intended blessing too. Signed-off-by: Ian Jackson --- Osstest/JobDB/Exe

[Xen-devel] [OSSTEST PATCH 25/26] rumprun: xenstorels: New regexps for finding output

2016-09-05 Thread Ian Jackson
The framing output in rumprun upstream has changed. Signed-off-by: Ian Jackson --- ts-rumprun-demo-xenstorels | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ts-rumprun-demo-xenstorels b/ts-rumprun-demo-xenstorels index a40110a..831c58a 100755 --- a/ts-rumprun-demo-xenst

[Xen-devel] [OSSTEST PATCH 24/26] rumprun: xenstorels: Do not attempt to edit the config file

2016-09-05 Thread Ian Jackson
There is no config file any more, so this function now crashes due to passing undef to target_editfile_root. We do not need to edit it to set on_poweroff to preserve because this is the default for rumprun. Signed-off-by: Ian Jackson --- ts-rumprun-demo-xenstorels | 15 --- 1 file c

[Xen-devel] [OSSTEST PATCH 18/26] rumprun: ts-rumprun-build: set up ccache

2016-09-05 Thread Ian Jackson
Signed-off-by: Ian Jackson --- ts-rumprun-build | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/ts-rumprun-build b/ts-rumprun-build index 24e54e1..26f2f2c 100755 --- a/ts-rumprun-build +++ b/ts-rumprun-build @@ -54,6 +54,7 @@ END my $bindir; my $gnutriplet;

[Xen-devel] [OSSTEST PATCH 26/26] rumprun: xenstorels: Improve an error message slightly

2016-09-05 Thread Ian Jackson
Signed-off-by: Ian Jackson --- ts-rumprun-demo-xenstorels | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts-rumprun-demo-xenstorels b/ts-rumprun-demo-xenstorels index 831c58a..3d29c46 100755 --- a/ts-rumprun-demo-xenstorels +++ b/ts-rumprun-demo-xenstorels @@ -83,7 +83,7 @@ s

[Xen-devel] [OSSTEST PATCH 04/26] rumprun: Rename all `rumpuserxen' to `rumprun'

2016-09-05 Thread Ian Jackson
The names have changed upstream. Since upstream is no longer compatible and these tests have been failing since then, we are going to treat this as an entirely new test series. In this patch we rename everything mechanically. More interesting changes will come later. git-mv -f ts-rumpuserxen-bu

Re: [Xen-devel] [PATCH v6 3/4] x86/ioreq server: Handle read-modify-write cases for p2m_ioreq_server pages.

2016-09-05 Thread Jan Beulich
>>> On 02.09.16 at 12:47, wrote: > --- a/xen/arch/x86/hvm/emulate.c > +++ b/xen/arch/x86/hvm/emulate.c > @@ -95,6 +95,41 @@ static const struct hvm_io_handler null_handler = { > .ops = &null_ops > }; > > +static int mem_read(const struct hvm_io_handler *io_handler, > +u

[Xen-devel] [PATCH v2] libxl: add "xl qemu-monitor-command"

2016-09-05 Thread Juergen Gross
Add a new xl command "qemu-monitor-command" to issue arbitrary commands to a domain's device model. Syntax is: xl qemu-monitor-command The command is issued via qmp human-monitor-command command. Any information returned by the command is printed to stdout. Signed-off-by: Juergen Gross --- d

[Xen-devel] [MINIOS PATCH] Add travis.yml and travis-build script

2016-09-05 Thread Wei Liu
Signed-off-by: Wei Liu --- See: https://travis-ci.org/liuw/mini-os/builds/157653746 Cc: Samuel Thibault Cc: Juergen Gross Cc: Doug Goldstein IRC notification is not yet set up. Doug, can we mirror mini-os.git to github/xen-project as well? I think it would also be a good idea to post notific

  1   2   >