[Xen-devel] Xen 4.12 release planning

2018-07-25 Thread Juergen Gross
Its time to plan the Xen 4.12 release dates. There have been concerns with the schedule of 6 months between releases, as this scheme is leading to too many supported versions of Xen at a time. The needed resources to backport bug fixes and security fixes as well as doing the tests for all those re

[Xen-devel] [PATCH] xen/blkfront: remove unused macros

2018-07-25 Thread Juergen Gross
Remove some macros not used anywhere. Signed-off-by: Juergen Gross --- drivers/block/xen-blkfront.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c index b5cedccb5d7d..94300dbe358b 100644 --- a/drivers/block/xen-blkfront.c +++ b

Re: [Xen-devel] [PATCH] automation: introduce a script for build test

2018-07-25 Thread Wei Liu
On Tue, Jul 24, 2018 at 01:01:52PM -0500, Doug Goldstein wrote: > On Tue, Jul 24, 2018 at 05:56:51PM +0100, Wei Liu wrote: > > Signed-off-by: Ian Jackson > > Signed-off-by: Wei Liu > > --- > > This is a script I wrote previously for build test. > > Goal here is to bisect a series to find the bui

Re: [Xen-devel] [PATCH] firmware/shim : filter output files during Xen tree setup

2018-07-25 Thread Jan Beulich
>>> On 25.07.18 at 02:21, wrote: > On Tue, Jul 24, 2018 at 2:43 AM, Jan Beulich wrote: > >> >>> On 20.07.18 at 23:15, wrote: >> > Exclude named output files from the Xen tree setup. >> > >> > The linkfarm.stamp content will differ between top level "make" >> > and "make install" invocations, du

Re: [Xen-devel] [PATCH] docs: use the make wildcard function instead of find

2018-07-25 Thread Wei Liu
On Mon, Jul 23, 2018 at 06:00:32PM +0200, Roger Pau Monne wrote: > The regexp used with find in order to list the man pages doesn't work > with FreeBSD find, so use a wildcard instead. No functional change. > > Signed-off-by: Roger Pau Monné Acked-by: Wei Liu __

Re: [Xen-devel] [PATCH v2] firmware/shim : filter output files during Xen tree setup

2018-07-25 Thread Jan Beulich
>>> On 25.07.18 at 02:28, wrote: > --- a/tools/firmware/xen-dir/Makefile > +++ b/tools/firmware/xen-dir/Makefile > @@ -11,6 +11,10 @@ D=xen-root > LINK_DIRS=config xen > LINK_FILES=Config.mk > > +# Files to exclude from the link farm > +EXCLUDE_FILES=xen xen.gz xen-syms xen-syms.map xen.efi xe

Re: [Xen-devel] Xen 4.12 release planning

2018-07-25 Thread Julien Grall
Hi Juergen, On 25/07/18 08:19, Juergen Gross wrote: Its time to plan the Xen 4.12 release dates. There have been concerns with the schedule of 6 months between releases, as this scheme is leading to too many supported versions of Xen at a time. The needed resources to backport bug fixes and sec

Re: [Xen-devel] Xen 4.12 release planning

2018-07-25 Thread Andrew Cooper
On 25/07/2018 09:15, Julien Grall wrote: > Hi Juergen, > > On 25/07/18 08:19, Juergen Gross wrote: >> Its time to plan the Xen 4.12 release dates. >> >> There have been concerns with the schedule of 6 months between releases, >> as this scheme is leading to too many supported versions of Xen at a >

[Xen-devel] [distros-debian-squeeze test] 75005: tolerable FAIL

2018-07-25 Thread Platform Team regression test user
flight 75005 distros-debian-squeeze real [real] http://osstest.xensource.com/osstest/logs/75005/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-i386-i386-squeeze-netboot-pygrub 10 debian-di-install fail like 74985 test-amd64-amd64-i386-squeeze-ne

Re: [Xen-devel] [PATCH] xen: correct DEFCONFIG_LIST Kconfig item

2018-07-25 Thread Wei Liu
On Tue, Jul 10, 2018 at 10:31:51AM +0200, Juergen Gross wrote: > The default value of DEFCONFIG_LIST is wrong: it should be the value of > the configured ARCH_DEFCONFIG item, not the string "$ARCH_DEFCONFIG". > > Signed-off-by: Juergen Gross Acked-by: Wei Liu > --- > xen/Kconfig | 2 +- > 1 f

Re: [Xen-devel] Build Inconsistencies

2018-07-25 Thread Roger Pau Monné
On Tue, Jul 24, 2018 at 11:46:31AM -0500, Brian Woods wrote: > I've discovered some inconsistencies when building Xen. With patch > e3f667bc5f51d0aa44357a64ca134cd952679c81, it seems 'make -j1 debball' > builds while 'make -j 120 debball' does not. I reverted to the > previous commit, c66d9982ebf

Re: [Xen-devel] [PATCH v4] x86/mm: Add mem access rights to NPT

2018-07-25 Thread Isaila Alexandru
> > > > +static void p2m_set_access(struct p2m_domain *p2m, unsigned long > > gfn, > > +  p2m_access_t a) > > +{ > > +int rc; > > + > > +if ( !p2m->mem_access_settings ) > > +return; > No error indication? I would say ASSERT is a better choice i

Re: [Xen-devel] [PATCH] VMX: fix vmx_{find,del}_msr() build

2018-07-25 Thread Wei Liu
On Tue, Jul 17, 2018 at 09:39:03AM +0100, Andrew Cooper wrote: > On 17/07/2018 07:57, Jan Beulich wrote: > On 16.07.18 at 18:56, wrote: > >> On 16/07/18 17:46, Jan Beulich wrote: > >>> For a reason that I can't explain, it is only the shim build that fails > >>> for me with an older gcc due t

Re: [Xen-devel] [PATCH v3 2/7] libxl: add backend type and id to vkb

2018-07-25 Thread Wei Liu
On Tue, Jul 17, 2018 at 07:07:35PM +0300, Oleksandr Grytsov wrote: > From: Oleksandr Grytsov > > New field backend_type is added to vkb device in order to have QEMU and user > space backend simultaneously. Each vkb backend shall read appropriate XS entry > and service only own frontends. Id is a

Re: [Xen-devel] [PATCH v3 7/7] libxl: add LIBXL_HAVE_EXTENDED_VKB define

2018-07-25 Thread Wei Liu
On Tue, Jul 17, 2018 at 07:07:40PM +0300, Oleksandr Grytsov wrote: > From: Oleksandr Grytsov > > LIBXL_HAVE_EXTENDED_VKB define indicates that libxl_device_vkb structure has > extended fields. > > Signed-off-by: Oleksandr Grytsov Acked-by: Wei Liu

Re: [Xen-devel] [PATCH] libxl: Handle deprecation of QEMU's -usbdevice

2018-07-25 Thread Wei Liu
On Thu, Jul 19, 2018 at 06:29:29PM +0100, Anthony PERARD wrote: > -usbdevice is deprecated as of QEMU 2.10. > > This patch replace the few options documented in xl.cfg(5) by the > recommanded syntax. And if the option isn't recognize, simply use > -usbdevice with a warning, the options isn't entir

Re: [Xen-devel] [PATCH v7 12/12] xen: clarify the security-support status of Kconfig options on ARM

2018-07-25 Thread Julien Grall
On 24/07/18 23:31, Stefano Stabellini wrote: On Mon, 23 Jul 2018, Julien Grall wrote: Hi, On 07/07/18 00:14, Stefano Stabellini wrote: Signed-off-by: Stefano Stabellini CC: george.dun...@eu.citrix.com CC: ian.jack...@eu.citrix.com CC: jbeul...@suse.com CC: andrew.coop...@citrix.com --- S

Re: [Xen-devel] [PATCH] xenconsole: add option to avoid escape sequences in log

2018-07-25 Thread Wei Liu
On Sat, Jul 21, 2018 at 02:14:12AM +0200, Marek Marczykowski-Górecki wrote: > Add --replace-escape, -e option to xenconsoled, which replaces ESC with > '.' in console output written to log file. This makes it slightly safer > to do tail -f on a console output of untrusted guest. > The pty output is

Re: [Xen-devel] [PATCH] xenconsole: add option to avoid escape sequences in log

2018-07-25 Thread Wei Liu
On Wed, Jul 25, 2018 at 09:49:39AM +0100, Wei Liu wrote: > On Sat, Jul 21, 2018 at 02:14:12AM +0200, Marek Marczykowski-Górecki wrote: > > Add --replace-escape, -e option to xenconsoled, which replaces ESC with > > '.' in console output written to log file. This makes it slightly safer > > to do ta

Re: [Xen-devel] [PATCH v7 12/12] xen: clarify the security-support status of Kconfig options on ARM

2018-07-25 Thread Andrew Cooper
On 25/07/2018 09:46, Julien Grall wrote: > > > On 24/07/18 23:31, Stefano Stabellini wrote: >> On Mon, 23 Jul 2018, Julien Grall wrote: >>> Hi, >>> >>> On 07/07/18 00:14, Stefano Stabellini wrote: Signed-off-by: Stefano Stabellini CC: george.dun...@eu.citrix.com CC: ian.jack...@eu.c

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

2018-07-25 Thread osstest service owner
flight 125562 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/125562/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf ef529e6ab7c31290a33045bb1f1837447cc0eb56 baseline version: ovmf 0f78fd73496f26d45516f

Re: [Xen-devel] [PATCH v7 12/12] xen: clarify the security-support status of Kconfig options on ARM

2018-07-25 Thread Jan Beulich
>>> On 25.07.18 at 10:46, wrote: > On 24/07/18 23:31, Stefano Stabellini wrote: >> Yes, memaccess will default to enable. However, SUPPORT.md says it is >> not security supported, hence, the result is that the .config is not >> security supported, according to (3). > > We really don't want that.

Re: [Xen-devel] [PATCH v4] x86/mm: Add mem access rights to NPT

2018-07-25 Thread Jan Beulich
>>> On 25.07.18 at 10:29, wrote: >> > >> > +static void p2m_set_access(struct p2m_domain *p2m, unsigned long >> > gfn, >> > + p2m_access_t a) >> > +{ >> > +int rc; >> > + >> > +if ( !p2m->mem_access_settings ) >> > +return; >> No error indicati

Re: [Xen-devel] [PATCH] xenstore-client: Add option for raw in-/output

2018-07-25 Thread Wei Liu
On Sat, Jul 21, 2018 at 04:35:37PM +0200, Marek Marczykowski-Górecki wrote: > From: Simon Gaiser > > Parsing/generating the escape sequences used by xenstore-client is non > trivial. So make scripting (for use in stubdom) easier by adding a raw > option. > > Signed-off-by: Marek Marczykowski-Gór

Re: [Xen-devel] [PATCH] xenstore-client: Add option for raw in-/output

2018-07-25 Thread Wei Liu
On Mon, Jul 23, 2018 at 12:10:13PM +0200, Marek Marczykowski-Górecki wrote: > On Mon, Jul 23, 2018 at 11:39:05AM +0200, Roger Pau Monné wrote: > > On Sat, Jul 21, 2018 at 04:35:37PM +0200, Marek Marczykowski-Górecki wrote: > > > From: Simon Gaiser > > > > > > Parsing/generating the escape sequenc

Re: [Xen-devel] Xen 4.12 release planning

2018-07-25 Thread Juergen Gross
On 25/07/18 10:19, Andrew Cooper wrote: > On 25/07/2018 09:15, Julien Grall wrote: >> Hi Juergen, >> >> On 25/07/18 08:19, Juergen Gross wrote: >>> Its time to plan the Xen 4.12 release dates. >>> >>> There have been concerns with the schedule of 6 months between releases, >>> as this scheme is lea

[Xen-devel] [PATCH v6] automation: introduce a script for build test

2018-07-25 Thread Wei Liu
Signed-off-by: Ian Jackson Signed-off-by: Wei Liu --- This is a script I wrote previously for build test. Given it basically runs a set of commands on every commit, maybe it should be named for-each-commit.sh ? Cc: Andrew Cooper Cc: George Dunlap Cc: Ian Jackson Cc: Jan Beulich Cc: Konrad R

Re: [Xen-devel] [PATCH v4] x86/mm: Add mem access rights to NPT

2018-07-25 Thread George Dunlap
On 07/24/2018 01:02 PM, Jan Beulich wrote: On 24.07.18 at 13:26, wrote: >> On 07/24/2018 09:55 AM, Jan Beulich wrote: >> On 23.07.18 at 15:48, wrote: --- a/xen/arch/x86/mm/mem_access.c +++ b/xen/arch/x86/mm/mem_access.c @@ -221,12 +221,12 @@ bool p2m_mem_access_check(paddr

Re: [Xen-devel] [PATCH v4] x86/mm: Add mem access rights to NPT

2018-07-25 Thread Isaila Alexandru
On Mi, 2018-07-25 at 03:14 -0600, Jan Beulich wrote: > > > > > > > > > > > > > On 25.07.18 at 10:29, wrote: > > > > > > > > +static void p2m_set_access(struct p2m_domain *p2m, unsigned > > > > long > > > > gfn, > > > > +  p2m_access_t a) > > > > +{ > > > > +

Re: [Xen-devel] [PATCH] xen/blkfront: remove unused macros

2018-07-25 Thread Roger Pau Monné
On Wed, Jul 25, 2018 at 09:42:07AM +0200, Juergen Gross wrote: > Remove some macros not used anywhere. > > Signed-off-by: Juergen Gross Acked-by: Roger Pau Monné Thanks, Roger. ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.

Re: [Xen-devel] [PATCH RFC V4 3/3] KVM: X86: Adding skeleton for Memory ROE

2018-07-25 Thread David Hildenbrand
> if (kvm_x86_ops->slot_disable_log_dirty) > kvm_x86_ops->slot_disable_log_dirty(kvm, new); > diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h > index 4ee7bc548a83..82c5780e11d9 100644 > --- a/include/linux/kvm_host.h > +++ b/include/linux/kvm_ho

Re: [Xen-devel] [PATCH] libgnttab: Add support for Linux dma-buf

2018-07-25 Thread Wei Liu
On Mon, Jul 23, 2018 at 03:27:25PM +0300, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > Add support for Linux grant device driver extension which allows > converting existing dma-buf's into an array of grant references > and vise versa. This is only implemented for Linux as o

Re: [Xen-devel] [PATCH] libgnttab: Add support for Linux dma-buf

2018-07-25 Thread Oleksandr Andrushchenko
On 07/25/2018 12:39 PM, Wei Liu wrote: On Mon, Jul 23, 2018 at 03:27:25PM +0300, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Add support for Linux grant device driver extension which allows converting existing dma-buf's into an array of grant references and vise versa. This is

Re: [Xen-devel] [PATCH v7 12/12] xen: clarify the security-support status of Kconfig options on ARM

2018-07-25 Thread Julien Grall
On 25/07/18 09:59, Andrew Cooper wrote: On 25/07/2018 09:46, Julien Grall wrote: On 24/07/18 23:31, Stefano Stabellini wrote: On Mon, 23 Jul 2018, Julien Grall wrote: Hi, On 07/07/18 00:14, Stefano Stabellini wrote: Signed-off-by: Stefano Stabellini CC: george.dun...@eu.citrix.com CC: i

Re: [Xen-devel] [PATCH] libgnttab: Add support for Linux dma-buf

2018-07-25 Thread Wei Liu
On Wed, Jul 25, 2018 at 12:49:29PM +0300, Oleksandr Andrushchenko wrote: > On 07/25/2018 12:39 PM, Wei Liu wrote: > > On Mon, Jul 23, 2018 at 03:27:25PM +0300, Oleksandr Andrushchenko wrote: > > > From: Oleksandr Andrushchenko > > > > > > Add support for Linux grant device driver extension which

Re: [Xen-devel] [PATCH] libgnttab: Add support for Linux dma-buf

2018-07-25 Thread Oleksandr Andrushchenko
On 07/25/2018 12:53 PM, Wei Liu wrote: On Wed, Jul 25, 2018 at 12:49:29PM +0300, Oleksandr Andrushchenko wrote: On 07/25/2018 12:39 PM, Wei Liu wrote: On Mon, Jul 23, 2018 at 03:27:25PM +0300, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Add support for Linux grant device dri

Re: [Xen-devel] PVH dom0 creation fails - the system freezes

2018-07-25 Thread Wei Liu
On Wed, Jul 25, 2018 at 01:06:43PM +0300, berca...@amazon.com wrote: > On 07/24/2018 12:54 PM, Jan Beulich wrote: > > > > > On 23.07.18 at 13:50, wrote: > > > For the last few days, I have been trying to get a PVH dom0 running, > > > however I encountered the following problem: the system seems to

Re: [Xen-devel] [PATCH v6] automation: introduce a script for build test

2018-07-25 Thread George Dunlap
On Wed, Jul 25, 2018 at 10:24 AM, Wei Liu wrote: > Signed-off-by: Ian Jackson > Signed-off-by: Wei Liu > --- > This is a script I wrote previously for build test. > > Given it basically runs a set of commands on every commit, maybe it should > be named for-each-commit.sh ? Except that you also

[Xen-devel] [xen-unstable-coverity test] 125568: all pass - PUSHED

2018-07-25 Thread osstest service owner
flight 125568 xen-unstable-coverity real [real] http://logs.test-lab.xenproject.org/osstest/logs/125568/ Perfect :-) All tests in this flight passed as required version targeted for testing: xen 173c7803592065d27bf2e60d50e08e197a0efa83 baseline version: xen 5437

Re: [Xen-devel] [PATCH v4] x86/mm: Add mem access rights to NPT

2018-07-25 Thread Jan Beulich
>>> On 25.07.18 at 11:25, wrote: > On 07/24/2018 01:02 PM, Jan Beulich wrote: > On 24.07.18 at 13:26, wrote: >>> On 07/24/2018 09:55 AM, Jan Beulich wrote: >>> On 23.07.18 at 15:48, wrote: > +{ > +xfree(d->arch.monitor.msr_bitmap); > +return -E

[Xen-devel] [ovmf baseline-only test] 75006: tolerable FAIL

2018-07-25 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 75006 ovmf real [real] http://osstest.xensource.com/osstest/logs/75006/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-xl-qemuu-ovmf-amd64 10 debian-hvm-install fail like 75004 test

Re: [Xen-devel] [PATCH] libxl: Handle deprecation of QEMU's -usbdevice

2018-07-25 Thread Anthony PERARD
On Wed, Jul 25, 2018 at 09:38:20AM +0100, Wei Liu wrote: > On Thu, Jul 19, 2018 at 06:29:29PM +0100, Anthony PERARD wrote: > > -usbdevice is deprecated as of QEMU 2.10. > > > > This patch replace the few options documented in xl.cfg(5) by the > > recommanded syntax. And if the option isn't recogni

Re: [Xen-devel] PVH dom0 creation fails - the system freezes

2018-07-25 Thread Juergen Gross
On 25/07/18 12:06, berca...@amazon.com wrote: > On 07/24/2018 12:54 PM, Jan Beulich wrote: > On 23.07.18 at 13:50, wrote: >>> For the last few days, I have been trying to get a PVH dom0 running, >>> however I encountered the following problem: the system seems to >>> freeze after the hyperviso

Re: [Xen-devel] [PATCH] automation: introduce a script for build test

2018-07-25 Thread Anthony PERARD
On Tue, Jul 24, 2018 at 01:01:52PM -0500, Doug Goldstein wrote: > On Tue, Jul 24, 2018 at 05:56:51PM +0100, Wei Liu wrote: > > Signed-off-by: Ian Jackson > > Signed-off-by: Wei Liu > > --- > > This is a script I wrote previously for build test. > > Goal here is to bisect a series to find the bui

[Xen-devel] [xen-4.9-testing test] 125529: regressions - FAIL

2018-07-25 Thread osstest service owner
flight 125529 xen-4.9-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/125529/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm broken in 125487 test-arm64-arm64-xl

Re: [Xen-devel] [PATCH] automation: introduce a script for build test

2018-07-25 Thread Wei Liu
On Wed, Jul 25, 2018 at 11:48:36AM +0100, Anthony PERARD wrote: > On Tue, Jul 24, 2018 at 01:01:52PM -0500, Doug Goldstein wrote: > > On Tue, Jul 24, 2018 at 05:56:51PM +0100, Wei Liu wrote: > > > Signed-off-by: Ian Jackson > > > Signed-off-by: Wei Liu > > > --- > > > This is a script I wrote pre

Re: [Xen-devel] [PATCH] automation: introduce a script for build test

2018-07-25 Thread George Dunlap
On 07/25/2018 11:53 AM, Wei Liu wrote: > On Wed, Jul 25, 2018 at 11:48:36AM +0100, Anthony PERARD wrote: >> On Tue, Jul 24, 2018 at 01:01:52PM -0500, Doug Goldstein wrote: >>> On Tue, Jul 24, 2018 at 05:56:51PM +0100, Wei Liu wrote: Signed-off-by: Ian Jackson Signed-off-by: Wei Liu

[Xen-devel] [freebsd-master test] 125569: regressions - trouble: blocked/fail

2018-07-25 Thread osstest service owner
flight 125569 freebsd-master real [real] http://logs.test-lab.xenproject.org/osstest/logs/125569/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-freebsd 7 freebsd-buildfail REGR. vs. 125317 Tests which did

Re: [Xen-devel] [PATCH v7 12/12] xen: clarify the security-support status of Kconfig options on ARM

2018-07-25 Thread George Dunlap
On Wed, Jul 25, 2018 at 10:50 AM, Julien Grall wrote: >> Anything you can select in menuconfig without passing >> XEN_CONFIG_EXPERT=y is security supported. Anything hidden behind >> XEN_CONFIG_EXPERT is security supported in its default configuration. > > > Could you clarify what you mean by sec

Re: [Xen-devel] automation: Creating a patchwork instance to improve pre-commit build testing - Summary of discussion so far

2018-07-25 Thread Lars Kurth
Hi all, given this was a fairly lengthy thread, I thought I'd summarize. Although I originally thought the proposal was uncontroversial, Jan has raised some concerns about extra e-mails that would be sent by the patch bot (aka 1 additional mail per series). From the discussion, I got the sense

[Xen-devel] [PATCH v3] x86/altp2m: Add a subop for obtaining the mem access of a page

2018-07-25 Thread Adrian Pop
Currently there is a subop for setting the memaccess of a page, but not for consulting it. The new HVMOP_altp2m_get_mem_access adds this functionality. Both altp2m get/set mem access functions use the struct xen_hvm_altp2m_mem_access which has now dropped the `set' part and has been renamed from

[Xen-devel] [PATCH v4 0/3] Add hvmops for setting and getting the suppress #VE bit

2018-07-25 Thread Adrian Pop
As the code stands right now, after DomU has enabled #VE using HVMOP_altp2m_vcpu_enable_notify, all its pages have the #VE suppress bit cleared, generating #VEs for any EPT violation. There is currently no way to change the value of the #VE suppress bit for a page from a domain; it can only be don

[Xen-devel] [PATCH v4 2/3] x86/altp2m: Add a hvmop for setting the suppress #VE bit

2018-07-25 Thread Adrian Pop
Introduce a new hvmop, HVMOP_altp2m_set_suppress_ve, which allows a domain to change the value of the #VE suppress bit for a page. Add a libxc wrapper for invoking this hvmop. Signed-off-by: Adrian Pop Acked-by: Wei Liu Acked-by: Tamas K Lengyel --- Changes in v4: - fix a deadlock: If p2m_

[Xen-devel] [PATCH v4 3/3] x86/altp2m: Add a hvmop for querying the suppress #VE bit

2018-07-25 Thread Adrian Pop
Signed-off-by: Adrian Pop --- tools/libxc/include/xenctrl.h | 2 ++ tools/libxc/xc_altp2m.c | 32 --- xen/arch/x86/hvm/hvm.c | 23 +++-- xen/arch/x86/mm/mem_access.c| 45 + xen/include/public/hvm/hvm_op.h | 6

[Xen-devel] [PATCH v4 1/3] x86/mm: Change default value for suppress #VE in set_mem_access()

2018-07-25 Thread Adrian Pop
From: Vlad Ioan Topan The default value for the "suppress #VE" bit set by set_mem_access() currently depends on whether the call is made from the same domain (the bit is set when called from another domain and cleared if called from the same domain). This patch changes that behavior to inherit th

Re: [Xen-devel] [PATCH] automation: introduce a script for build test

2018-07-25 Thread Anthony PERARD
On Wed, Jul 25, 2018 at 12:04:33PM +0100, George Dunlap wrote: > On 07/25/2018 11:53 AM, Wei Liu wrote: > > On Wed, Jul 25, 2018 at 11:48:36AM +0100, Anthony PERARD wrote: > >> git rebase --exec ./scripts/basic-build.sh > > > > To expound this a bit: > > > > That's what I used and told other

Re: [Xen-devel] Xen 4.12 release planning

2018-07-25 Thread George Dunlap
On Wed, Jul 25, 2018 at 10:22 AM, Juergen Gross wrote: > On 25/07/18 10:19, Andrew Cooper wrote: >> On 25/07/2018 09:15, Julien Grall wrote: >>> Hi Juergen, >>> >>> On 25/07/18 08:19, Juergen Gross wrote: Its time to plan the Xen 4.12 release dates. There have been concerns with the

Re: [Xen-devel] Xen 4.12 release planning

2018-07-25 Thread Andrew Cooper
On 25/07/18 12:24, George Dunlap wrote: > On Wed, Jul 25, 2018 at 10:22 AM, Juergen Gross wrote: >> On 25/07/18 10:19, Andrew Cooper wrote: >>> On 25/07/2018 09:15, Julien Grall wrote: Hi Juergen, On 25/07/18 08:19, Juergen Gross wrote: > Its time to plan the Xen 4.12 release da

Re: [Xen-devel] Xen 4.12 release planning

2018-07-25 Thread Juergen Gross
On 25/07/18 13:30, Andrew Cooper wrote: > On 25/07/18 12:24, George Dunlap wrote: >> On Wed, Jul 25, 2018 at 10:22 AM, Juergen Gross wrote: >>> On 25/07/18 10:19, Andrew Cooper wrote: On 25/07/2018 09:15, Julien Grall wrote: > Hi Juergen, > > On 25/07/18 08:19, Juergen Gross wrote

Re: [Xen-devel] Xen 4.12 release planning

2018-07-25 Thread George Dunlap
On Wed, Jul 25, 2018 at 12:30 PM, Andrew Cooper wrote: > On 25/07/18 12:24, George Dunlap wrote: >> On Wed, Jul 25, 2018 at 10:22 AM, Juergen Gross wrote: >>> On 25/07/18 10:19, Andrew Cooper wrote: On 25/07/2018 09:15, Julien Grall wrote: > Hi Juergen, > > On 25/07/18 08:19, Jue

Re: [Xen-devel] Xen 4.12 release planning

2018-07-25 Thread Andrew Cooper
On 25/07/18 12:34, George Dunlap wrote: > On Wed, Jul 25, 2018 at 12:30 PM, Andrew Cooper > wrote: >> On 25/07/18 12:24, George Dunlap wrote: >>> On Wed, Jul 25, 2018 at 10:22 AM, Juergen Gross wrote: On 25/07/18 10:19, Andrew Cooper wrote: > On 25/07/2018 09:15, Julien Grall wrote:

Re: [Xen-devel] Xen 4.12 release planning

2018-07-25 Thread Juergen Gross
On 25/07/18 13:34, Juergen Gross wrote: > On 25/07/18 13:30, Andrew Cooper wrote: >> On 25/07/18 12:24, George Dunlap wrote: >>> On Wed, Jul 25, 2018 at 10:22 AM, Juergen Gross wrote: On 25/07/18 10:19, Andrew Cooper wrote: > On 25/07/2018 09:15, Julien Grall wrote: >> Hi Juergen, >>>

Re: [Xen-devel] Xen 4.12 release planning

2018-07-25 Thread Lars Kurth
> On 25 Jul 2018, at 12:24, George Dunlap wrote: > > On Wed, Jul 25, 2018 at 10:22 AM, Juergen Gross > wrote: >> >> fFFR...ffFFR...ffFFR...f >> >> We can rule out several variants with release dates just before or in a >> holiday season: >> >>

Re: [Xen-devel] Xen 4.12 release planning

2018-07-25 Thread Juergen Gross
On 25/07/18 13:39, Lars Kurth wrote: > > >> On 25 Jul 2018, at 12:24, George Dunlap > > wrote: >> >> On Wed, Jul 25, 2018 at 10:22 AM, Juergen Gross > > wrote: >>> >>> fFFR...ffFFR...ffFFR...f >>> >>> We can rule out severa

[Xen-devel] [PATCH] x86/altp2m: Allow setting the #VE info page for an arbitrary VCPU

2018-07-25 Thread Adrian Pop
The intended use-case of this patch is to allow either Dom0 or a control domain to activate #VE for an introspected guest, and not having to do this necessarily from an in-guest agent. Signed-off-by: Adrian Pop --- tools/libxc/xc_altp2m.c | 1 - xen/arch/x86/hvm/hvm.c | 47

Re: [Xen-devel] Xen 4.12 release planning

2018-07-25 Thread Lars Kurth
> On 25 Jul 2018, at 12:45, Juergen Gross wrote: > > On 25/07/18 13:39, Lars Kurth wrote: >> >> >>> On 25 Jul 2018, at 12:24, George Dunlap >> > wrote: >>> >>> On Wed, Jul 25, 2018 at 10:22 AM, Juergen Gross >> > wrote: fFFR...

Re: [Xen-devel] Xen 4.12 release planning

2018-07-25 Thread Juergen Gross
On 25/07/18 13:51, Lars Kurth wrote: > > >> On 25 Jul 2018, at 12:45, Juergen Gross wrote: >> >> On 25/07/18 13:39, Lars Kurth wrote: >>> >>> On 25 Jul 2018, at 12:24, George Dunlap >>> > wrote: On Wed, Jul 25, 2018 at 10:22 AM, Juergen Gross >>>

[Xen-devel] Xen Project Developer Summit 2018: Slides and Video recordings

2018-07-25 Thread Lars Kurth
Dear community members, if you have not been able to attend the developer summit, you will find presentations, session recordings and design session notes in the following places: Slides: https://www.slideshare.net/search/slideshow?searchfrom=header&q=XPDDS18 Videos: https://www.youtube.com/wa

[Xen-devel] [PATCH] x86/pv: Deprecate support for paging out the LDT

2018-07-25 Thread Andrew Cooper
On 29/06/18 06:27, Jan Beulich wrote: Andrew Cooper 06/28/18 6:10 PM >>> >> On 28/06/18 14:35, Jan Beulich wrote: >> On 26.06.18 at 13:35, wrote: --- a/xen/arch/x86/Kconfig +++ b/xen/arch/x86/Kconfig @@ -161,3 +161,24 @@ endmenu source "common/Kconfig" s

[Xen-devel] [PATCH v14 02/11] x86/hvm: Introduce hvm_save_tsc_adjust_one() func

2018-07-25 Thread Alexandru Isaila
This is used to save data from a single instance. Signed-off-by: Alexandru Isaila --- Changes since V13: - Moved tsc_adjust to the initializer. --- xen/arch/x86/hvm/hvm.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch

[Xen-devel] [PATCH v14 04/11] x86/hvm: Introduce hvm_save_cpu_xsave_states_one

2018-07-25 Thread Alexandru Isaila
This is used to save data from a single instance. Signed-off-by: Alexandru Isaila --- Changes since V11: - hvm_save_cpu_xsave_states_one() returns the err from _hvm_init_entry(). - hvm_save_cpu_xsave_states() returns err from hvm_save_cpu_xsave_states_one(); -

[Xen-devel] [PATCH v14 05/11] x86/hvm: Introduce hvm_save_cpu_msrs_one func

2018-07-25 Thread Alexandru Isaila
This is used to save data from a single instance. Signed-off-by: Alexandru Isaila Reviewed-by: Paul Durrant --- Changes since V11: - hvm_save_cpu_msrs() returns err from hvm_save_cpu_msrs_one(). --- xen/arch/x86/hvm/hvm.c | 105 +++-- 1 file

[Xen-devel] [PATCH v14 01/11] x86/cpu: Introduce vmce_save_vcpu_ctxt_one() func

2018-07-25 Thread Alexandru Isaila
This is used to save data from a single instance. Signed-off-by: Alexandru Isaila --- Changes since V11: - Removed the memset and added init with {}. --- xen/arch/x86/cpu/mcheck/vmce.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/xen/arch/x8

[Xen-devel] [PATCH v14 07/11] x86/hvm: Introduce viridian_save_vcpu_ctxt_one() func

2018-07-25 Thread Alexandru Isaila
This is used to save data from a single instance. Signed-off-by: Alexandru Isaila Reviewed-by: Paul Durrant --- Changes since V13: - Fixed style. --- xen/arch/x86/hvm/viridian.c | 30 +++--- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/xen/arc

[Xen-devel] [PATCH v14 00/11] x86/domctl: Save info for one vcpu instance

2018-07-25 Thread Alexandru Isaila
Hi all, This patch series addresses the ideea of saving data from a single vcpu instance. First it starts by adding *save_one functions, then it introduces a handler for the new save_one* funcs and makes use of it in the hvm_save and hvm_save_one funcs. The final 2 patches are used for clean up.

[Xen-devel] [PATCH v14 08/11] x86/hvm: Add handler for save_one funcs

2018-07-25 Thread Alexandru Isaila
Signed-off-by: Alexandru Isaila --- Changes since V8: - Add comment for the handler return values. --- xen/arch/x86/cpu/mcheck/vmce.c | 1 + xen/arch/x86/hvm/hpet.c| 2 +- xen/arch/x86/hvm/hvm.c | 6 +- xen/arch/x86/hvm/i8254.c | 2 +- xen/arch/x86/hvm/irq.c

[Xen-devel] [PATCH v14 03/11] x86/hvm: Introduce hvm_save_cpu_ctxt_one func

2018-07-25 Thread Alexandru Isaila
This is used to save data from a single instance. Signed-off-by: Alexandru Isaila --- Changes since V12: - Changed memset to {} init. --- xen/arch/x86/hvm/hvm.c | 214 + 1 file changed, 111 insertions(+), 103 deletions(-) diff --git a/xen

[Xen-devel] [PATCH v14 06/11] x86/hvm: Introduce hvm_save_mtrr_msr_one func

2018-07-25 Thread Alexandru Isaila
This is used to save data from a single instance. Signed-off-by: Alexandru Isaila --- Changes since v11: - hvm_save_mtrr_msr() now returns err from hvm_save_mtrr_msr_one(). Note: This patch is based on Roger Pau Monne's series[1] --- xen/arch/x86/hvm/mtrr.c | 81 +++

[Xen-devel] [PATCH v14 09/11] x86/domctl: Don't pause the whole domain if only getting vcpu state

2018-07-25 Thread Alexandru Isaila
This patch is focused on moving the for loop to the caller so now we can save info for a single vcpu instance with the save_one handlers. Signed-off-by: Alexandru Isaila --- Changes since V11: - Changed the CONTINUE return to return 0. --- xen/arch/x86/hvm/hvm.c | 19 --- xen/arch

[Xen-devel] [PATCH v14 10/11] x86/hvm: Remove redundant save functions

2018-07-25 Thread Alexandru Isaila
This patch removes the redundant save functions and renames the save_one* to save. It then changes the domain param to vcpu in the save funcs. Signed-off-by: Alexandru Isaila --- Changes since V11: - Remove enum return type for save funcs. --- xen/arch/x86/cpu/mcheck/vmce.c | 19 ++-

[Xen-devel] [PATCH v14 11/11] x86/hvm: Remove save_one handler

2018-07-25 Thread Alexandru Isaila
Signed-off-by: Alexandru Isaila --- xen/arch/x86/cpu/mcheck/vmce.c | 1 - xen/arch/x86/hvm/hpet.c| 2 +- xen/arch/x86/hvm/hvm.c | 5 + xen/arch/x86/hvm/i8254.c | 2 +- xen/arch/x86/hvm/irq.c | 6 +++--- xen/arch/x86/hvm/mtrr.c| 2 +- xen/arch/x86/hv

Re: [Xen-devel] [PATCH] x86/pv: Deprecate support for paging out the LDT

2018-07-25 Thread Jan Beulich
>>> On 25.07.18 at 14:08, wrote: > On 29/06/18 06:27, Jan Beulich wrote: > Andrew Cooper 06/28/18 6:10 PM >>> >>> On 28/06/18 14:35, Jan Beulich wrote: >>> On 26.06.18 at 13:35, wrote: > --- a/xen/arch/x86/Kconfig > +++ b/xen/arch/x86/Kconfig > @@ -161,3 +161,24 @@ endmenu >>

Re: [Xen-devel] [PATCH] x86/pv: Deprecate support for paging out the LDT

2018-07-25 Thread Andrew Cooper
On 25/07/18 13:16, Jan Beulich wrote: On 25.07.18 at 14:08, wrote: >> On 29/06/18 06:27, Jan Beulich wrote: >> Andrew Cooper 06/28/18 6:10 PM >>> On 28/06/18 14:35, Jan Beulich wrote: On 26.06.18 at 13:35, wrote: >> --- a/xen/arch/x86/Kconfig >> +++ b/xen/arch/x86/

Re: [Xen-devel] [PATCH] libgnttab: Add support for Linux dma-buf

2018-07-25 Thread Boris Ostrovsky
On 07/25/2018 06:00 AM, Oleksandr Andrushchenko wrote: > On 07/25/2018 12:53 PM, Wei Liu wrote: >> On Wed, Jul 25, 2018 at 12:49:29PM +0300, Oleksandr Andrushchenko wrote: >>> On 07/25/2018 12:39 PM, Wei Liu wrote: On Mon, Jul 23, 2018 at 03:27:25PM +0300, Oleksandr Andrushchenko wrote: >

Re: [Xen-devel] [PATCH] x86/pv: Deprecate support for paging out the LDT

2018-07-25 Thread Jan Beulich
>>> On 25.07.18 at 14:18, wrote: > On 25/07/18 13:16, Jan Beulich wrote: > On 25.07.18 at 14:08, wrote: >>> On 29/06/18 06:27, Jan Beulich wrote: >>> Andrew Cooper 06/28/18 6:10 PM >>> > On 28/06/18 14:35, Jan Beulich wrote: > On 26.06.18 at 13:35, wrote: >>> --- a/xen/a

Re: [Xen-devel] [PATCH v14 00/11] x86/domctl: Save info for one vcpu instance

2018-07-25 Thread Jan Beulich
>>> On 25.07.18 at 14:14, wrote: > This patch series addresses the ideea of saving data from a single vcpu > instance. > First it starts by adding *save_one functions, then it introduces a handler > for the > new save_one* funcs and makes use of it in the hvm_save and hvm_save_one > funcs. > Th

Re: [Xen-devel] [PATCH v3 1/2] x86/efi: move the logic to detect PE build support

2018-07-25 Thread Daniel Kiper
On Wed, Jul 18, 2018 at 12:27:32PM +0200, Roger Pau Monne wrote: > So that it can be used by other components apart from the efi specific > code. By moving the detection code creating a dummy efi/disabled file > can be avoided. > > This is required so that the conditional used to define the efi sym

Re: [Xen-devel] [PATCH v3 2/2] x86/efi: split compiler vs linker support

2018-07-25 Thread Daniel Kiper
On Wed, Jul 18, 2018 at 05:29:27PM +0200, Roger Pau Monné wrote: > On Wed, Jul 18, 2018 at 08:41:30AM -0600, Jan Beulich wrote: > > >>> On 18.07.18 at 12:27, wrote: > > > So that an ELF binary with support for EFI services will be built when > > > the compiler supports the MS ABI, regardless of th

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

2018-07-25 Thread osstest service owner
flight 125571 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/125571/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-arm64-arm64-xl-xsm 13 migrate-support-checkfail never pass test-arm64-arm64-xl-xsm 1

Re: [Xen-devel] [PATCH] automation: introduce a script for build test

2018-07-25 Thread Wei Liu
On Wed, Jul 25, 2018 at 12:04:33PM +0100, George Dunlap wrote: > On 07/25/2018 11:53 AM, Wei Liu wrote: > > On Wed, Jul 25, 2018 at 11:48:36AM +0100, Anthony PERARD wrote: > >> On Tue, Jul 24, 2018 at 01:01:52PM -0500, Doug Goldstein wrote: > >>> On Tue, Jul 24, 2018 at 05:56:51PM +0100, Wei Liu wr

Re: [Xen-devel] [PATCH] x86/pv: Deprecate support for paging out the LDT

2018-07-25 Thread George Dunlap
On Wed, Jul 25, 2018 at 1:29 PM, Jan Beulich wrote: On 25.07.18 at 14:18, wrote: >> On 25/07/18 13:16, Jan Beulich wrote: >> On 25.07.18 at 14:08, wrote: On 29/06/18 06:27, Jan Beulich wrote: Andrew Cooper 06/28/18 6:10 PM >>> >> On 28/06/18 14:35, Jan Beulich wrote:

[Xen-devel] [PATCH] tools/helpers: don't hardcode domain type for dom0 and xenstore domain

2018-07-25 Thread Juergen Gross
Today when setting up a minimal domain configuration file for dom0 and eventually xenstore-domain the domain type is harcoded as PV. Change that by asking the hypervisor for the correct type. Signed-off-by: Juergen Gross --- tools/helpers/init-dom-json.c | 14 -- 1 file changed, 12 i

Re: [Xen-devel] [PATCH v6] automation: introduce a script for build test

2018-07-25 Thread Wei Liu
On Wed, Jul 25, 2018 at 11:27:16AM +0100, George Dunlap wrote: > On Wed, Jul 25, 2018 at 10:24 AM, Wei Liu wrote: > > Signed-off-by: Ian Jackson > > Signed-off-by: Wei Liu > > --- > > This is a script I wrote previously for build test. > > > > Given it basically runs a set of commands on every c

Re: [Xen-devel] [PATCH] tools/helpers: don't hardcode domain type for dom0 and xenstore domain

2018-07-25 Thread Wei Liu
On Wed, Jul 25, 2018 at 03:25:26PM +0200, Juergen Gross wrote: > Today when setting up a minimal domain configuration file for dom0 and > eventually xenstore-domain the domain type is harcoded as PV. Change > that by asking the hypervisor for the correct type. > > Signed-off-by: Juergen Gross >

Re: [Xen-devel] PVH dom0 creation fails - the system freezes

2018-07-25 Thread Roger Pau Monné
On Wed, Jul 25, 2018 at 01:06:43PM +0300, berca...@amazon.com wrote: > On 07/24/2018 12:54 PM, Jan Beulich wrote: > > > > > On 23.07.18 at 13:50, wrote: > > > For the last few days, I have been trying to get a PVH dom0 running, > > > however I encountered the following problem: the system seems to

Re: [Xen-devel] [PATCH v3 1/2] x86/efi: move the logic to detect PE build support

2018-07-25 Thread Roger Pau Monné
On Wed, Jul 25, 2018 at 02:48:28PM +0200, Daniel Kiper wrote: > On Wed, Jul 18, 2018 at 12:27:32PM +0200, Roger Pau Monne wrote: > > So that it can be used by other components apart from the efi specific > > code. By moving the detection code creating a dummy efi/disabled file > > can be avoided. >

Re: [Xen-devel] [PATCH] tools/helpers: don't hardcode domain type for dom0 and xenstore domain

2018-07-25 Thread Juergen Gross
On 25/07/18 15:31, Wei Liu wrote: > On Wed, Jul 25, 2018 at 03:25:26PM +0200, Juergen Gross wrote: >> Today when setting up a minimal domain configuration file for dom0 and >> eventually xenstore-domain the domain type is harcoded as PV. Change >> that by asking the hypervisor for the correct type.

Re: [Xen-devel] [PATCH v6] automation: introduce a script for build test

2018-07-25 Thread George Dunlap
On 07/25/2018 02:29 PM, Wei Liu wrote: > On Wed, Jul 25, 2018 at 11:27:16AM +0100, George Dunlap wrote: >> On Wed, Jul 25, 2018 at 10:24 AM, Wei Liu wrote: >>> Signed-off-by: Ian Jackson >>> Signed-off-by: Wei Liu >>> --- >>> This is a script I wrote previously for build test. >>> >>> Given it b

Re: [Xen-devel] PVH dom0 creation fails - the system freezes

2018-07-25 Thread Juergen Gross
On 25/07/18 15:35, Roger Pau Monné wrote: > On Wed, Jul 25, 2018 at 01:06:43PM +0300, berca...@amazon.com wrote: >> On 07/24/2018 12:54 PM, Jan Beulich wrote: >> On 23.07.18 at 13:50, wrote: For the last few days, I have been trying to get a PVH dom0 running, however I encountered th

Re: [Xen-devel] [PATCH] xen: correct DEFCONFIG_LIST Kconfig item

2018-07-25 Thread Doug Goldstein
On Tue, Jul 24, 2018 at 07:40:11AM -0600, Jan Beulich wrote: > >>> On 10.07.18 at 12:18, wrote: > On 10.07.18 at 10:31, wrote: > >> The default value of DEFCONFIG_LIST is wrong: it should be the value of > >> the configured ARCH_DEFCONFIG item, not the string "$ARCH_DEFCONFIG". > > > > Maks

  1   2   >