Re: [Xen-devel] [PATCH v6 2/7] VMX: Properly handle pi when all the assigned devices are removed

2016-11-03 Thread Wu, Feng
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Friday, October 28, 2016 9:19 PM > To: Wu, Feng > Cc: andrew.coop...@citrix.com; dario.faggi...@citrix.com; > george.dun...@eu.citrix.com; Tian, Kevin ; xen- > de...@lists.xen.org > Subject: Re: [PATCH v6 2/7] VM

Re: [Xen-devel] [PATCH v6 5/7] VT-d: No need to set irq affinity for posted format IRTE

2016-11-03 Thread Wu, Feng
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Monday, October 31, 2016 10:57 PM > To: Wu, Feng > Cc: andrew.coop...@citrix.com; dario.faggi...@citrix.com; > george.dun...@eu.citrix.com; Tian, Kevin ; xen- > de...@lists.xen.org > Subject: Re: [PATCH v6 5/7] V

Re: [Xen-devel] [PATCH] x86emul: {L, S}{G, I}DT ignore operand size overrides in 64-bit mode

2016-11-03 Thread Jan Beulich
>>> On 02.11.16 at 18:42, wrote: > On 02/11/16 16:12, Jan Beulich wrote: >> This affects not only the layout of the data (always 2+8 bytes), but >> also the contents (no truncation to 24 bits occurs). >> >> Signed-off-by: Jan Beulich > > Reviewed-by: Andrew Cooper , although > wouldn't it be cle

[Xen-devel] [ovmf baseline-only test] 67984: all pass

2016-11-03 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 67984 ovmf real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/67984/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 756a514aa469c35e1a21c034a513630b7f02ecff baseline v

Re: [Xen-devel] Xen on Qualcomm

2016-11-03 Thread Julien Grall
Hello Sameer, Please try to retain everyone in CC (or at least the author of the e-mail). Otherwise the answer may be delayed. I have added back Suresh. Regards, On 02/11/2016 20:37, Goel, Sameer wrote: Can you please post the error and details on Xen you are using? Thanks, Sameer On 11/2/

Re: [Xen-devel] [PATCH v6 2/7] VMX: Properly handle pi when all the assigned devices are removed

2016-11-03 Thread Jan Beulich
>>> On 03.11.16 at 08:45, wrote: > >> -Original Message- >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: Friday, October 28, 2016 9:19 PM >> To: Wu, Feng >> Cc: andrew.coop...@citrix.com; dario.faggi...@citrix.com; >> george.dun...@eu.citrix.com; Tian, Kevin ; xen- >> de...@lis

Re: [Xen-devel] [PATCH v6 2/7] VMX: Properly handle pi when all the assigned devices are removed

2016-11-03 Thread Wu, Feng
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Thursday, November 3, 2016 5:08 PM > To: Wu, Feng > Cc: andrew.coop...@citrix.com; dario.faggi...@citrix.com; > george.dun...@eu.citrix.com; Tian, Kevin ; xen- > de...@lists.xen.org > Subject: RE: [PATCH v6 2/7]

Re: [Xen-devel] [PATCH v6 5/7] VT-d: No need to set irq affinity for posted format IRTE

2016-11-03 Thread Jan Beulich
>>> On 03.11.16 at 08:46, wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: Monday, October 31, 2016 10:57 PM >> >>> On 28.10.16 at 04:37, wrote: >> > v6: >> > - Make pi_can_suppress_irte_update() a check-only function >> > - Introduce another function pi_get_new_irte() to update th

[Xen-devel] [distros-debian-wheezy test] 67985: all pass

2016-11-03 Thread Platform Team regression test user
flight 67985 distros-debian-wheezy real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/67985/ Perfect :-) All tests in this flight passed as required baseline version: flight 67941 jobs: build-amd64 pass build-armh

Re: [Xen-devel] xc_hvm_inject_trap() races

2016-11-03 Thread Razvan Cojocaru
On 11/02/2016 11:30 AM, Jan Beulich wrote: On 02.11.16 at 10:11, wrote: >> On 11/02/2016 11:05 AM, Jan Beulich wrote: >> On 02.11.16 at 09:57, wrote: On 11/02/2016 10:49 AM, Jan Beulich wrote: > The fact that {vmx,svm}_inject_trap() combine the new exception > with an alread

Re: [Xen-devel] xc_hvm_inject_trap() races

2016-11-03 Thread Jan Beulich
>>> On 03.11.16 at 10:59, wrote: > Found an earlier version of the patch, proposing to extend > HVMOP_inject_trap instead of a new libxc hypercall, which apparently got > so far as to have an "Acked-by" and a "Reviewed-by": > > https://lists.xenproject.org/archives/html/xen-devel/2014-09/msg01244

Re: [Xen-devel] [PATCH v3.1 03/15] xen/x86: allow calling {sh/hap}_set_allocation with the idle domain

2016-11-03 Thread Roger Pau Monne
On Wed, Nov 02, 2016 at 06:14:13PM +0100, Roger Pau Monne wrote: > On Tue, Nov 01, 2016 at 10:45:05AM +, Tim Deegan wrote: > > At 10:34 -0600 on 31 Oct (1477910088), Jan Beulich wrote: > > > >>> On 29.10.16 at 10:59, wrote: > > * the idle vcpu (e.g. during dom0 construction), check if there

Re: [Xen-devel] [PATCH v3.1 03/15] xen/x86: allow calling {sh/hap}_set_allocation with the idle domain

2016-11-03 Thread Tim Deegan
At 11:20 +0100 on 03 Nov (1478172025), Roger Pau Monne wrote: > On Wed, Nov 02, 2016 at 06:14:13PM +0100, Roger Pau Monne wrote: > > On Tue, Nov 01, 2016 at 10:45:05AM +, Tim Deegan wrote: > > > At 10:34 -0600 on 31 Oct (1477910088), Jan Beulich wrote: > > > > >>> On 29.10.16 at 10:59, wrote:

Re: [Xen-devel] Xen on Qualcomm

2016-11-03 Thread Suresh Kanzariya
Hi Sameer, I have not build it yet, but before I started building and porting on 410 platform, I just want to make feasibility whether it is possible or not?, Because as I said earlier Qualcomm uses its own hypervisor that is QHEE, so just wanted to conform whether 2 hypervisor run simultaneous or

Re: [Xen-devel] [PATCH for-4.8] x86/emul: Reject LGDT/LIDT attempts with non-canonical base addresses

2016-11-03 Thread Wei Liu
On Wed, Nov 02, 2016 at 09:42:33AM -0600, Jan Beulich wrote: > >>> On 02.11.16 at 15:52, wrote: > > No sane OS would deliberately try this, but make Xen's emulation match real > > hardware by delivering #GP(0), rather than suffering a VMEntry failure. > > > > Signed-off-by: Andrew Cooper > > Re

Re: [Xen-devel] [PATCH] x86emul: {L, S}{G, I}DT ignore operand size overrides in 64-bit mode

2016-11-03 Thread Wei Liu
On Wed, Nov 02, 2016 at 05:42:53PM +, Andrew Cooper wrote: > On 02/11/16 16:12, Jan Beulich wrote: > > This affects not only the layout of the data (always 2+8 bytes), but > > also the contents (no truncation to 24 bits occurs). > > > > Signed-off-by: Jan Beulich > > Reviewed-by: Andrew Coope

[Xen-devel] [ovmf baseline-only test] 67986: all pass

2016-11-03 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 67986 ovmf real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/67986/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 414b198be9c2065efda01cf43f7c86e41a449b4b baseline v

Re: [Xen-devel] [PATCH v3.1 07/15] xen/x86: do the PCI scan unconditionally

2016-11-03 Thread Roger Pau Monne
On Mon, Oct 31, 2016 at 10:47:15AM -0600, Jan Beulich wrote: > >>> On 29.10.16 at 10:59, wrote: > > --- a/xen/arch/x86/setup.c > > +++ b/xen/arch/x86/setup.c > > @@ -1491,6 +1491,8 @@ void __init noreturn __start_xen(unsigned long mbi_p) > > > > early_msi_init(); > > > > +scan_pci_dev

Re: [Xen-devel] [PATCH v3] features: declare the Credit2 scheduler as Supported.

2016-11-03 Thread Wei Liu
Fixed one typo, removed period in subject line and pushed. ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH for-4.8] libxl: disallow enabling PoD and ALTP2M at the same time

2016-11-03 Thread Wei Liu
On Wed, Nov 02, 2016 at 02:51:41PM +, Wei Liu wrote: > On Wed, Nov 02, 2016 at 02:43:58PM +, Ian Jackson wrote: > > Wei Liu writes ("[PATCH for-4.8] libxl: disallow enabling PoD and ALTP2M at > > the same time"): > > > That combination would cause Xen to crash. Note that this is not a > >

Re: [Xen-devel] [PATCH v2] build: make debug option affect tools only

2016-11-03 Thread Wei Liu
On Wed, Nov 02, 2016 at 10:13:28AM +, Wei Liu wrote: > On Wed, Nov 02, 2016 at 02:53:32AM -0600, Jan Beulich wrote: > > >>> On 01.11.16 at 20:22, wrote: > > > The debug option in Config.mk affects hypervisor, tools and stubdom by > > > appending different flags to CFLAGS. Mini-os under extra

Re: [Xen-devel] [PATCH] x86emul: {L, S}{G, I}DT ignore operand size overrides in 64-bit mode

2016-11-03 Thread Andrew Cooper
On 03/11/16 08:06, Jan Beulich wrote: On 02.11.16 at 18:42, wrote: >> On 02/11/16 16:12, Jan Beulich wrote: >>> This affects not only the layout of the data (always 2+8 bytes), but >>> also the contents (no truncation to 24 bits occurs). >>> >>> Signed-off-by: Jan Beulich >> Reviewed-by: And

[Xen-devel] [PATCH for-4.8] docs: fixup PVHv2 documentation regarding AP startup

2016-11-03 Thread Roger Pau Monne
On PVHv2 guests the local APIC can also be used to start APs if present. Amend the documentation in order to reflect this. Signed-off-by: Roger Pau Monné --- Cc: boris.ostrov...@oracle.com Cc: Andrew Cooper Cc: George Dunlap Cc: Ian Jackson Cc: Jan Beulich Cc: Konrad Rzeszutek Wilk Cc: Stefa

Re: [Xen-devel] [RFC] Shared coprocessor framework

2016-11-03 Thread Andrii Anisov
Dear All, Would you please come up with more comments, ideas or blames on the topic? Sincerely, Andrii Anisov. ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v3.1 03/15] xen/x86: allow calling {sh/hap}_set_allocation with the idle domain

2016-11-03 Thread Jan Beulich
>>> On 03.11.16 at 11:20, wrote: > On Wed, Nov 02, 2016 at 06:14:13PM +0100, Roger Pau Monne wrote: >> On Tue, Nov 01, 2016 at 10:45:05AM +, Tim Deegan wrote: >> > At 10:34 -0600 on 31 Oct (1477910088), Jan Beulich wrote: >> > > >>> On 29.10.16 at 10:59, wrote: >> > * the idle vcpu (e.g. du

Re: [Xen-devel] [PATCH v3.1 07/15] xen/x86: do the PCI scan unconditionally

2016-11-03 Thread Jan Beulich
>>> On 03.11.16 at 11:58, wrote: > On Mon, Oct 31, 2016 at 10:47:15AM -0600, Jan Beulich wrote: >> >>> On 29.10.16 at 10:59, wrote: >> > --- a/xen/arch/x86/setup.c >> > +++ b/xen/arch/x86/setup.c >> > @@ -1491,6 +1491,8 @@ void __init noreturn __start_xen(unsigned long mbi_p) >> > >> > ear

Re: [Xen-devel] [PATCH for-4.8] docs: fixup PVHv2 documentation regarding AP startup

2016-11-03 Thread Jan Beulich
>>> On 03.11.16 at 12:29, wrote: > On PVHv2 guests the local APIC can also be used to start APs if present. > Amend the documentation in order to reflect this. > > Signed-off-by: Roger Pau Monné Acked-by: Jan Beulich ___ Xen-devel mailing list Xen-d

Re: [Xen-devel] [PATCH v3.1 07/15] xen/x86: do the PCI scan unconditionally

2016-11-03 Thread Boris Ostrovsky
On 11/03/2016 07:35 AM, Jan Beulich wrote: On 03.11.16 at 11:58, wrote: On Mon, Oct 31, 2016 at 10:47:15AM -0600, Jan Beulich wrote: On 29.10.16 at 10:59, wrote: --- a/xen/arch/x86/setup.c +++ b/xen/arch/x86/setup.c @@ -1491,6 +1491,8 @@ void __init noreturn __start_xen(unsigned long mbi_p

[Xen-devel] [PATCH for-4.8] docs: document ACPI usage in PVHv2 guests

2016-11-03 Thread Roger Pau Monne
It is possible for PVHv2 guests to get the hardware description from ACPI tables, add this to the documentation also. Signed-off-by: Roger Pau Monné --- Cc: Andrew Cooper Cc: George Dunlap Cc: Ian Jackson Cc: Jan Beulich Cc: Konrad Rzeszutek Wilk Cc: Stefano Stabellini Cc: Tim Deegan Cc: W

Re: [Xen-devel] [PATCH for-4.8] docs: document ACPI usage in PVHv2 guests

2016-11-03 Thread Andrew Cooper
On 03/11/16 12:19, Roger Pau Monne wrote: > It is possible for PVHv2 guests to get the hardware description from ACPI > tables, add this to the documentation also. > > Signed-off-by: Roger Pau Monné Reviewed-by: Andrew Cooper ___ Xen-devel mailing lis

Re: [Xen-devel] [PATCH v3.1 01/15] xen/x86: remove XENFEAT_hvm_pirqs for PVHv2 guests

2016-11-03 Thread Roger Pau Monne
On Mon, Oct 31, 2016 at 10:32:47AM -0600, Jan Beulich wrote: > >>> On 29.10.16 at 10:59, wrote: > > PVHv2 guests, unlike HVM guests, won't have the option to route interrupts > > from physical or emulated devices over event channels using PIRQs. This > > applies to both DomU and Dom0 PVHv2 guests.

Re: [Xen-devel] [PATCH for-4.8] docs: fixup PVHv2 documentation regarding AP startup

2016-11-03 Thread Wei Liu
On Thu, Nov 03, 2016 at 05:37:22AM -0600, Jan Beulich wrote: > >>> On 03.11.16 at 12:29, wrote: > > On PVHv2 guests the local APIC can also be used to start APs if present. > > Amend the documentation in order to reflect this. > > > > Signed-off-by: Roger Pau Monné > > Acked-by: Jan Beulich A

Re: [Xen-devel] [PATCH for-4.8] docs: document ACPI usage in PVHv2 guests

2016-11-03 Thread Wei Liu
On Thu, Nov 03, 2016 at 12:22:57PM +, Andrew Cooper wrote: > On 03/11/16 12:19, Roger Pau Monne wrote: > > It is possible for PVHv2 guests to get the hardware description from ACPI > > tables, add this to the documentation also. > > > > Signed-off-by: Roger Pau Monné > > Reviewed-by: Andrew C

[Xen-devel] Xen Solaris support still required?

2016-11-03 Thread Juergen Gross
Xen tools contain several sources specific to Solaris, e.g. in libxc, xenstored, xenstat, some other libs. Is this still required? If yes, all of it? Google tells me Oracle has dropped XVM support on Solaris. Openindiana seems to have replaced XVM by a KVM port. Juergen ___

Re: [Xen-devel] [PATCH v3.1 01/15] xen/x86: remove XENFEAT_hvm_pirqs for PVHv2 guests

2016-11-03 Thread Jan Beulich
>>> On 03.11.16 at 13:35, wrote: > --- a/docs/misc/hvmlite.markdown > +++ b/docs/misc/hvmlite.markdown > @@ -75,3 +75,38 @@ info structure that's passed at boot time (field > rsdp_paddr). > > Description of paravirtualized devices will come from XenStore, just as it's > done for HVM guests. >

Re: [Xen-devel] [PATCH for-4.8] docs: document ACPI usage in PVHv2 guests

2016-11-03 Thread Jan Beulich
>>> On 03.11.16 at 13:19, wrote: > --- a/docs/misc/hvmlite.markdown > +++ b/docs/misc/hvmlite.markdown > @@ -64,3 +64,14 @@ The following VCPU hypercalls can be used in order to > bring up secondary vCPUs: > * `VCPUOP_down` is used to bring down a vCPU. > > * `VCPUOP_is_up` is used to scan

Re: [Xen-devel] Xen Solaris support still required?

2016-11-03 Thread Konrad Rzeszutek Wilk
On Nov 3, 2016 8:49 AM, Juergen Gross wrote: > > Xen tools contain several sources specific to Solaris, e.g. in > libxc, xenstored, xenstat, some other libs. > > Is this still required? If yes, all of it? > Could we wait with the answer to say until beginning of 2017? > Google tells me Oracle has

Re: [Xen-devel] [PATCH v2] PCMachineState: introduce acpi_build_enabled field

2016-11-03 Thread Eduardo Habkost
On Tue, Nov 01, 2016 at 03:30:59PM -0700, Stefano Stabellini wrote: > On Tue, 1 Nov 2016, Eduardo Habkost wrote: > > On Tue, Nov 01, 2016 at 05:44:16PM +, Wei Liu wrote: > > > Introduce this field to control whether ACPI build is enabled by a > > > particular machine or accelerator. > > > > >

Re: [Xen-devel] qeustion: a panic in __do_update_va_mapping()

2016-11-03 Thread Jan Beulich
>>> On 03.11.16 at 13:14, wrote: > Jan, > A backport ' c/s 22135 ' was mentioned in above link. Does it refer to > https://build.opensuse.org/package/view_file?file=22135-heap-lock.patch&package= > > xen&project=home%3Acharlesa%3AopenSUSE11.3&rev=5 ?? Judging from the name, I guess so. Bu

Re: [Xen-devel] Xen Solaris support still required?

2016-11-03 Thread Juergen Gross
On 03/11/16 14:13, Konrad Rzeszutek Wilk wrote: > On Nov 3, 2016 8:49 AM, Juergen Gross wrote: >> >> Xen tools contain several sources specific to Solaris, e.g. in >> libxc, xenstored, xenstat, some other libs. >> >> Is this still required? If yes, all of it? >> > > Could we wait with the answer

Re: [Xen-devel] qeustion: a panic in __do_update_va_mapping()

2016-11-03 Thread Xuquan (Quan Xu)
On November 03, 2016 9:18 PM, < jbeul...@suse.com > wrote: On 03.11.16 at 13:14, wrote: >> Jan, >> A backport ' c/s 22135 ' was mentioned in above link. Does it refer >> to >https://build.opensuse.org/package/view_file?file=22135-heap-lock.patch&pack >age= >> xen&project=home%3Acharlesa%3Aop

[Xen-devel] [ovmf test] 101872: all pass - PUSHED

2016-11-03 Thread osstest service owner
flight 101872 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/101872/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf e9d0933d45e51027836f570427141fd2e3a7dfbd baseline version: ovmf 414b198be9c2065efda01

[Xen-devel] [PATCH v2] x86emul: {L, S}{G, I}DT ignore operand size overrides in 64-bit mode

2016-11-03 Thread Jan Beulich
This affects not only the layout of the data (always 2+8 bytes), but also the contents (no truncation to 24 bits occurs). Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper Release-acked-by: Wei Liu --- a/xen/arch/x86/x86_emulate/x86_emulate.c +++ b/xen/arch/x86/x86_emulate/x86_emulate.c @@

Re: [Xen-devel] qeustion: a panic in __do_update_va_mapping()

2016-11-03 Thread Jan Beulich
>>> On 03.11.16 at 14:27, wrote: > On November 03, 2016 9:18 PM, < jbeul...@suse.com > wrote: > On 03.11.16 at 13:14, wrote: >>> Jan, >>> A backport ' c/s 22135 ' was mentioned in above link. Does it refer >>> to >>https://build.opensuse.org/package/view_file?file=22135-heap-lock.patch&pack

Re: [Xen-devel] [PATCH v9 06/13] efi: create new early memory allocator

2016-11-03 Thread Daniel Kiper
On Mon, Oct 24, 2016 at 03:57:22AM -0600, Jan Beulich wrote: > >>> On 24.10.16 at 11:03, wrote: [...] > > It looks that it is last thing which blocks whole patch series. > > I don't think so - Andrew has (not via mail) already indicated he'd > like to comment on the not insignificant amount of a

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

2016-11-03 Thread osstest service owner
flight 101884 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/101884/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-debianhvm-i386 9 debian-hvm-install fail REGR. vs. 101834 Tests

[Xen-devel] Libvirt build broken

2016-11-03 Thread Wei Liu
Hi Xen Project's CI system found a build failure between libvirt changes 06a7b1ff..478ddedc. I don't think this is Xen specific FWIW. The build log can be found at: http://logs.test-lab.xenproject.org/osstest/logs/101868/build-amd64-libvirt/5.ts-libvirt-build.log The first error: CC l

Re: [Xen-devel] Xen Solaris support still required? Illumos Xen

2016-11-03 Thread Pasi Kärkkäinen
On Thu, Nov 03, 2016 at 01:49:07PM +0100, Juergen Gross wrote: > Xen tools contain several sources specific to Solaris, e.g. in > libxc, xenstored, xenstat, some other libs. > > Is this still required? If yes, all of it? > > Google tells me Oracle has dropped XVM support on Solaris. > Openindiana

Re: [Xen-devel] Xen Solaris support still required?

2016-11-03 Thread Konrad Rzeszutek Wilk
On Thu, Nov 03, 2016 at 02:21:42PM +0100, Juergen Gross wrote: > On 03/11/16 14:13, Konrad Rzeszutek Wilk wrote: > > On Nov 3, 2016 8:49 AM, Juergen Gross wrote: > >> > >> Xen tools contain several sources specific to Solaris, e.g. in > >> libxc, xenstored, xenstat, some other libs. > >> > >> Is t

Re: [Xen-devel] [libvirt] Libvirt build broken

2016-11-03 Thread Martin Kletzander
On Thu, Nov 03, 2016 at 01:50:17PM +, Wei Liu wrote: Hi Xen Project's CI system found a build failure between libvirt changes 06a7b1ff..478ddedc. I don't think this is Xen specific FWIW. My guess is either 680d2f49dad425395de627a31006cb84848cfa65 or 0c62ccf927c60c9c248db52a23670ec2f9bce2

Re: [Xen-devel] [PATCH] arm64: xen_boot: Fix xen boot using Grub on AARCH64

2016-11-03 Thread Daniel Kiper
On Fri, Feb 19, 2016 at 04:28:52PM +, Julien Grall wrote: > Xen is currently crashing because of malformed compatible property for > the boot module. This is because the property string is not > null-terminated as requested by the ePAR spec. Just two nitpicks. Could you change subject to "arm6

Re: [Xen-devel] [PATCH v3.1 01/15] xen/x86: remove XENFEAT_hvm_pirqs for PVHv2 guests

2016-11-03 Thread Konrad Rzeszutek Wilk
On Thu, Nov 03, 2016 at 01:35:37PM +0100, Roger Pau Monne wrote: > On Mon, Oct 31, 2016 at 10:32:47AM -0600, Jan Beulich wrote: > > >>> On 29.10.16 at 10:59, wrote: > > > PVHv2 guests, unlike HVM guests, won't have the option to route interrupts > > > from physical or emulated devices over event c

Re: [Xen-devel] [PATCH v3.1 01/15] xen/x86: remove XENFEAT_hvm_pirqs for PVHv2 guests

2016-11-03 Thread Konrad Rzeszutek Wilk
On Thu, Nov 03, 2016 at 06:52:16AM -0600, Jan Beulich wrote: > >>> On 03.11.16 at 13:35, wrote: > > --- a/docs/misc/hvmlite.markdown > > +++ b/docs/misc/hvmlite.markdown > > @@ -75,3 +75,38 @@ info structure that's passed at boot time (field > > rsdp_paddr). > > > > Description of paravirtuali

Re: [Xen-devel] Nested virtualization off VMware vSphere 6.0 with EL6 guests crashes on Xen 4.6

2016-11-03 Thread Konrad Rzeszutek Wilk
.. snip.. >> >> > (XEN) Failed vm entry (exit reason 0x8021) caused by invalid guest >> > state (4). >> >> 4 means invalid VMCS link pointer - interesting. >> > > Hey Jan, > > I hadn't been able to look at this for a quite while. A couple of folks have > showed interest in looking at this, CC-

Re: [Xen-devel] [PATCH v6 1/4] i386, xen: Add xen_hypervisor and xen_module aliases for i386

2016-11-03 Thread Daniel Kiper
On Tue, Jul 26, 2016 at 05:13:40PM +0800, fu@linaro.org wrote: > 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 10064

[Xen-devel] [PATCH for-4.8] xen/arm: early-printk: It should depends on CONFIG_DEBUG and not debug

2016-11-03 Thread Julien Grall
The variable debug is used to enable debug for the tools. As early-printk is for the hypervisor we should use CONFIG_DEBUG. Signed-off-by: Julien Grall --- This patch is candidate for Xen 4.8. This is a follow-up of [1]. [1] https://lists.xenproject.org/archives/html/xen-devel/2016-11/

Re: [Xen-devel] [PATCH for-4.8] xen/arm: early-printk: It should depends on CONFIG_DEBUG and not debug

2016-11-03 Thread Wei Liu
On Thu, Nov 03, 2016 at 02:36:35PM +, Julien Grall wrote: > The variable debug is used to enable debug for the tools. As > early-printk is for the hypervisor we should use CONFIG_DEBUG. > > Signed-off-by: Julien Grall > Acked-by: Wei Liu Sorry I missed this. _

Re: [Xen-devel] [PATCH v6 2/4] arm64: add "--nounzip" option support in xen_module command

2016-11-03 Thread Daniel Kiper
On Tue, Jul 26, 2016 at 05:13:41PM +0800, fu@linaro.org wrote: > 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/arm6

Re: [Xen-devel] [PATCH v3.1 01/15] xen/x86: remove XENFEAT_hvm_pirqs for PVHv2 guests

2016-11-03 Thread Roger Pau Monne
On Thu, Nov 03, 2016 at 10:22:37AM -0400, Konrad Rzeszutek Wilk wrote: > On Thu, Nov 03, 2016 at 01:35:37PM +0100, Roger Pau Monne wrote: > > On Mon, Oct 31, 2016 at 10:32:47AM -0600, Jan Beulich wrote: > > > >>> On 29.10.16 at 10:59, wrote: > > > > PVHv2 guests, unlike HVM guests, won't have the

Re: [Xen-devel] Libvirt build broken

2016-11-03 Thread Wei Liu
On Thu, Nov 03, 2016 at 03:58:04PM +0100, Pavel Hrdina wrote: > On Thu, Nov 03, 2016 at 01:50:17PM +, Wei Liu wrote: > > Hi > > > > Xen Project's CI system found a build failure between libvirt changes > > 06a7b1ff..478ddedc. I don't think this is Xen specific FWIW. > > > > The build log can

Re: [Xen-devel] [PATCH v3.1 01/15] xen/x86: remove XENFEAT_hvm_pirqs for PVHv2 guests

2016-11-03 Thread Roger Pau Monne
On Thu, Nov 03, 2016 at 06:52:16AM -0600, Jan Beulich wrote: > >>> On 03.11.16 at 13:35, wrote: > > --- a/docs/misc/hvmlite.markdown > > +++ b/docs/misc/hvmlite.markdown > > @@ -75,3 +75,38 @@ info structure that's passed at boot time (field > > rsdp_paddr). > > > > Description of paravirtuali

Re: [Xen-devel] [PATCH for-4.8] flask: build policy in different locations

2016-11-03 Thread Daniel De Graaf
On 10/28/2016 11:17 AM, Wei Liu wrote: The flask policy can be build twice -- one for hypervisor and one for tools. Before this patch, everything is built inside tools/flask/policy directory. It is possible to have a race to write to the same output file when running parallel builds. Prepend o

Re: [Xen-devel] Libvirt build broken

2016-11-03 Thread Pavel Hrdina
On Thu, Nov 03, 2016 at 01:50:17PM +, Wei Liu wrote: > Hi > > Xen Project's CI system found a build failure between libvirt changes > 06a7b1ff..478ddedc. I don't think this is Xen specific FWIW. > > The build log can be found at: > > http://logs.test-lab.xenproject.org/osstest/logs/101868/b

Re: [Xen-devel] [PATCH v6 3/4] * util/grub.d/20_linux_xen.in: Add xen_boot command support

2016-11-03 Thread Daniel Kiper
On Tue, Jul 26, 2016 at 05:13:42PM +0800, fu@linaro.org wrote: > 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 > --- > g

Re: [Xen-devel] [libvirt] Libvirt build broken

2016-11-03 Thread Olga Krishtal
On 03/11/16 16:50, Wei Liu wrote: Hi Xen Project's CI system found a build failure between libvirt changes 06a7b1ff..478ddedc. I don't think this is Xen specific FWIW. The build log can be found at: http://logs.test-lab.xenproject.org/osstest/logs/101868/build-amd64-libvirt/5.ts-libvirt-build

Re: [Xen-devel] [PATCH for-4.8] flask: build policy in different locations

2016-11-03 Thread Wei Liu
On Thu, Nov 03, 2016 at 11:17:59AM -0400, Daniel De Graaf wrote: > On 10/28/2016 11:17 AM, Wei Liu wrote: > >The flask policy can be build twice -- one for hypervisor and one for > >tools. > > > >Before this patch, everything is built inside tools/flask/policy > >directory. It is possible to have

[Xen-devel] [ovmf baseline-only test] 67987: regressions - FAIL

2016-11-03 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 67987 ovmf real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/67987/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-ovmf-amd64 9 debian-hvm-insta

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

2016-11-03 Thread Daniel Kiper
On Tue, Jul 26, 2016 at 05:13:43PM +0800, fu@linaro.org wrote: > 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 +0

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

2016-11-03 Thread osstest service owner
flight 101887 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/101887/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-debianhvm-i386 9 debian-hvm-install fail REGR. vs. 101834 build-

Re: [Xen-devel] [PATCH for-4.8] docs: document ACPI usage in PVHv2 guests

2016-11-03 Thread Roger Pau Monne
On Thu, Nov 03, 2016 at 07:06:14AM -0600, Jan Beulich wrote: > >>> On 03.11.16 at 13:19, wrote: > > --- a/docs/misc/hvmlite.markdown > > +++ b/docs/misc/hvmlite.markdown > > @@ -64,3 +64,14 @@ The following VCPU hypercalls can be used in order to > > bring up secondary vCPUs: > > * `VCPUOP_down

Re: [Xen-devel] Xen virtual IOMMU high level design doc V2

2016-11-03 Thread Lan, Tianyu
On 10/26/2016 5:39 PM, Jan Beulich wrote: On 22.10.16 at 09:32, wrote: On 10/21/2016 4:36 AM, Andrew Cooper wrote: 3.5 Implementation consideration VT-d spec doesn't define a capability bit for the l2 translation. Architecturally there is no way to tell guest that l2 translation capability i

Re: [Xen-devel] [PATCH v3.1 01/15] xen/x86: remove XENFEAT_hvm_pirqs for PVHv2 guests

2016-11-03 Thread Roger Pau Monne
On Thu, Nov 03, 2016 at 10:22:37AM -0400, Konrad Rzeszutek Wilk wrote: > On Thu, Nov 03, 2016 at 01:35:37PM +0100, Roger Pau Monne wrote: > > On Mon, Oct 31, 2016 at 10:32:47AM -0600, Jan Beulich wrote: > > > >>> On 29.10.16 at 10:59, wrote: > > > > PVHv2 guests, unlike HVM guests, won't have the

Re: [Xen-devel] [PATCH for-4.8] docs: document ACPI usage in PVHv2 guests

2016-11-03 Thread Jan Beulich
>>> On 03.11.16 at 16:38, wrote: > On Thu, Nov 03, 2016 at 07:06:14AM -0600, Jan Beulich wrote: >> >>> On 03.11.16 at 13:19, wrote: >> > --- a/docs/misc/hvmlite.markdown >> > +++ b/docs/misc/hvmlite.markdown >> > @@ -64,3 +64,14 @@ The following VCPU hypercalls can be used in order to > bring up

Re: [Xen-devel] [PATCH for-4.8] docs: document ACPI usage in PVHv2 guests

2016-11-03 Thread George Dunlap
On 03/11/16 15:55, Jan Beulich wrote: On 03.11.16 at 16:38, wrote: >> On Thu, Nov 03, 2016 at 07:06:14AM -0600, Jan Beulich wrote: >> On 03.11.16 at 13:19, wrote: --- a/docs/misc/hvmlite.markdown +++ b/docs/misc/hvmlite.markdown @@ -64,3 +64,14 @@ The following VCPU hyperc

Re: [Xen-devel] [PATCH for-4.8] docs: document ACPI usage in PVHv2 guests

2016-11-03 Thread George Dunlap
On 03/11/16 15:55, Jan Beulich wrote: On 03.11.16 at 16:38, wrote: >> On Thu, Nov 03, 2016 at 07:06:14AM -0600, Jan Beulich wrote: >> On 03.11.16 at 13:19, wrote: --- a/docs/misc/hvmlite.markdown +++ b/docs/misc/hvmlite.markdown @@ -64,3 +64,14 @@ The following VCPU hyperc

Re: [Xen-devel] [PATCH for-4.8] libxl: disallow enabling PoD and ALTP2M at the same time

2016-11-03 Thread Wei Liu
On Thu, Nov 03, 2016 at 11:10:44AM +, Wei Liu wrote: > On Wed, Nov 02, 2016 at 02:51:41PM +, Wei Liu wrote: > > On Wed, Nov 02, 2016 at 02:43:58PM +, Ian Jackson wrote: > > > Wei Liu writes ("[PATCH for-4.8] libxl: disallow enabling PoD and ALTP2M > > > at the same time"): > > > > That

[Xen-devel] [libvirt bisection] complete build-amd64-libvirt

2016-11-03 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job build-amd64-libvirt testid libvirt-build Tree: libvirt git://libvirt.org/libvirt.git Tree: libvirt_gnulib git://git.sv.gnu.org/gnulib.git Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git Tree: qemuu git://xenbits.xen.org/qemu-xen.git Tree: xe

[Xen-devel] [PATCH for-4.8 0/2] libxl: adjustment to initiate_domain_create

2016-11-03 Thread Wei Liu
Wei Liu (2): libxl: set ret in the check for nestedhvm and altp2m libxl: disallow enabling PoD and ALTP2M at the same time tools/libxl/libxl_create.c | 9 + 1 file changed, 9 insertions(+) -- 2.1.4 ___ Xen-devel mailing list Xen-devel@li

[Xen-devel] [PATCH for-4.8] docs: replace hint with pointer in PVHv2 ACPI documentation

2016-11-03 Thread Roger Pau Monne
Use pointer instead of hint, since this is the only way to get the address of the RSDP. Signed-off-by: Roger Pau Monné Reported-by: Jan Beulich --- Cc: Andrew Cooper Cc: George Dunlap Cc: Ian Jackson Cc: Jan Beulich Cc: Konrad Rzeszutek Wilk Cc: Stefano Stabellini Cc: Tim Deegan Cc: Wei L

[Xen-devel] [PATCH for-4.8 1/2] libxl: set ret in the check for nestedhvm and altp2m

2016-11-03 Thread Wei Liu
The error path expects ret to be set, otherwise an assertion is triggered. Signed-off-by: Wei Liu --- Cc: Ian Jackson Please backport to 4.6 and 4.7. --- tools/libxl/libxl_create.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/libxl/libxl_create.c b/tools/libxl/libxl_create.c index

[Xen-devel] [PATCH for-4.8 2/2] libxl: disallow enabling PoD and ALTP2M at the same time

2016-11-03 Thread Wei Liu
That combination would cause Xen to crash. Note that although this is a security issue, is not XSA-worthy because ALTP2M is experimental. Signed-off-by: Wei Liu --- Move the snippet to the correct location after altp2m is correctly initialised. Also correctly set ret before exiting. Cc: Ian Jac

Re: [Xen-devel] [PATCH for-4.8] docs: replace hint with pointer in PVHv2 ACPI documentation

2016-11-03 Thread Jan Beulich
>>> On 03.11.16 at 17:48, wrote: > Use pointer instead of hint, since this is the only way to get the address > of the RSDP. > > Signed-off-by: Roger Pau Monné > Reported-by: Jan Beulich Acked-by: Jan Beulich Thanks, Jan ___ Xen-devel mailing list

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

2016-11-03 Thread osstest service owner
flight 101888 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/101888/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-debianhvm-i386 9 debian-hvm-install fail REGR. vs. 101834 test-a

Re: [Xen-devel] [RFC PATCH 12/24] ARM: vGICv3: introduce basic ITS emulation bits

2016-11-03 Thread Julien Grall
Hi Andre, On 28/09/16 19:24, Andre Przywara wrote: Create a new file to hold the emulation code for the ITS widget. For now we emulate the memory mapped ITS registers and provide a stub to introduce the ITS command handling framework (but without actually emulating any commands at this time).

[Xen-devel] [PATCH for-4.8] git: Add metadata to the result of `git archive`

2016-11-03 Thread Andrew Cooper
When building Xen from a source tarball, commit information is usually lost, especially if the tarball was generated from a tag. Have `git archive` automatically fill in metadata at the point of creating the archive, which is especially useful when using web snapshot links such as: http://xenbi

Re: [Xen-devel] [RFC PATCH 12/24] ARM: vGICv3: introduce basic ITS emulation bits

2016-11-03 Thread Andre Przywara
Hi, On 24/10/16 16:31, Vijay Kilari wrote: > On Wed, Sep 28, 2016 at 11:54 PM, Andre Przywara > wrote: >> Create a new file to hold the emulation code for the ITS widget. >> For now we emulate the memory mapped ITS registers and provide a stub >> to introduce the ITS command handling framework (

Re: [Xen-devel] [RFC PATCH 07/24] ARM: GICv3 ITS: introduce device mapping

2016-11-03 Thread Andre Przywara
Hi, On 24/10/16 16:31, Vijay Kilari wrote: > On Wed, Sep 28, 2016 at 11:54 PM, Andre Przywara > wrote: >> The ITS uses device IDs to map LPIs to a device. Dom0 will later use >> those IDs, which we directly pass on to the host. >> For this we have to map each device that Dom0 may request to a ho

[Xen-devel] [xen-unstable-smoke test] 101892: tolerable all pass - PUSHED

2016-11-03 Thread osstest service owner
flight 101892 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/101892/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-libvirt 12 migrate-support-checkfail never pass test-armhf-armhf-xl 1

Re: [Xen-devel] [RFC PATCH 08/24] ARM: GICv3: introduce separate pending_irq structs for LPIs

2016-11-03 Thread Andre Przywara
Hi, On 24/10/16 16:31, Vijay Kilari wrote: > On Wed, Sep 28, 2016 at 11:54 PM, Andre Przywara > wrote: >> For the same reason that allocating a struct irq_desc for each >> possible LPI is not an option, having a struct pending_irq for each LPI >> is also not feasible. However we actually only ne

Re: [Xen-devel] [RFC PATCH 11/24] ARM: vGICv3: handle virtual LPI pending and property tables

2016-11-03 Thread Andre Przywara
Hi, On 24/10/16 16:32, Vijay Kilari wrote: > On Wed, Sep 28, 2016 at 11:54 PM, Andre Przywara > wrote: >> Allow a guest to provide the address and size for the memory regions >> it has reserved for the GICv3 pending and property tables. >> We sanitise the various fields of the respective redistr

[Xen-devel] [linux-3.10 test] 101865: regressions - FAIL

2016-11-03 Thread osstest service owner
flight 101865 linux-3.10 real [real] http://logs.test-lab.xenproject.org/osstest/logs/101865/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-amd64-pvgrub 6 xen-bootfail REGR. vs. 100648 test-amd64-i386-xl-x

[Xen-devel] [libvirt bisection] complete build-i386-libvirt

2016-11-03 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job build-i386-libvirt testid libvirt-build Tree: libvirt git://libvirt.org/libvirt.git Tree: libvirt_gnulib git://git.sv.gnu.org/gnulib.git Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git Tree: qemuu git://xenbits.xen.org/qemu-xen.git Tree: xen

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

2016-11-03 Thread osstest service owner
flight 101869 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/101869/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-armhf-armhf-xl-arndale 3 host-install(3) broken in 101861 pass in 101869 test-armhf-armhf-libvirt 15 gues

[Xen-devel] [linux-3.4 test] 101867: regressions - FAIL

2016-11-03 Thread osstest service owner
flight 101867 linux-3.4 real [real] http://logs.test-lab.xenproject.org/osstest/logs/101867/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl 6 xen-boot fail REGR. vs. 92983 test-amd64-i386-qemut

[Xen-devel] [qemu-mainline test] 101871: tolerable FAIL - PUSHED

2016-11-03 Thread osstest service owner
flight 101871 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/101871/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-amd64-xl-rtds 9 debian-install fail blocked in 101835 test-amd64-amd64-xl-qemuu-

Re: [Xen-devel] [PATCH 04/12] xen: make use of xenbus_read_unsigned() in xen-tpmfront

2016-11-03 Thread Jarkko Sakkinen
On Mon, Oct 31, 2016 at 05:48:22PM +0100, Juergen Gross wrote: > Use xenbus_read_unsigned() instead of xenbus_scanf() when possible. > This requires to change the type of one read from int to unsigned, > but this case has been wrong before: negative values are not allowed > for the modified case. >

Re: [Xen-devel] [PATCH for-4.8 2/2] libxl: disallow enabling PoD and ALTP2M at the same time

2016-11-03 Thread Tian, Kevin
> From: Wei Liu [mailto:wei.l...@citrix.com] > Sent: Friday, November 04, 2016 12:42 AM > > That combination would cause Xen to crash. > > Note that although this is a security issue, is not XSA-worthy because > ALTP2M is experimental. > > Signed-off-by: Wei Liu > --- > Move the snippet to the

Re: [Xen-devel] [PATCH v2] VMX: fix realmode emulation SReg handling

2016-11-03 Thread Tian, Kevin
> From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Saturday, October 29, 2016 12:21 AM > > Commit 0888d36bb2 ("x86/emul: Correct the decoding of SReg3 operands") > overlooked three places where x86_seg_cs was assumed to be zero. > > Signed-off-by: Jan Beulich > Reviewed-by: Andrew Cooper >