Re: [Xen-devel] [PATCH v3 (re-send)] xen/gntdev: Use mempolicy instead of VM_IO flag to avoid NUMA balancing

2016-11-18 Thread Olaf Hering
On Thu, Nov 17, Boris Ostrovsky wrote: > Commit 9c17d96500f7 ("xen/gntdev: Grant maps should not be subject to > NUMA balancing") set VM_IO flag to prevent grant maps from being > subjected to NUMA balancing. Thanks, this works for me in 4.4: Tested-by: Olaf Hering Olaf signature.asc Descrip

[Xen-devel] [qemu-mainline test] 102370: regressions - FAIL

2016-11-18 Thread osstest service owner
flight 102370 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/102370/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-libvirt-vhd 9 debian-di-installfail REGR. vs. 101909 test-amd64-amd64-

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

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

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

2016-11-18 Thread Jan Beulich
>>> On 18.11.16 at 06:22, wrote: >> From: Tian, Kevin >> Sent: Friday, November 18, 2016 12:59 PM >> > From: Wu, Feng >> > Sent: Friday, November 18, 2016 12:27 PM >> > > > diff --git a/xen/drivers/passthrough/pci.c >> > > > b/xen/drivers/passthrough/pci.c >> > > > index 8bce213..e71732f 100644 >

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

2016-11-18 Thread osstest service owner
flight 102376 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/102376/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf bd5ef82698e5e5931ae46e763187a472ce76b661 baseline version: ovmf ec16deeac90e4b8014394

Re: [Xen-devel] [PATCH] x86/cpuid: Add AVX512_4VNNIW and AVX512_4FMAPS support

2016-11-18 Thread Jan Beulich
>>> On 18.11.16 at 06:48, wrote: > Add two new AVX512 subfeatures support for guest. > > AVX512_4VNNIW: > Vector instructions for deep learning enhanced word variable precision. > > AVX512_4FMAPS: > Vector instructions for deep learning floating-point single precision. > > Signed-off-by: Luwei

[Xen-devel] [XTF PATCH v2] Add a Live Patch privilege check test

2016-11-18 Thread Ross Lagerwall
Add a test to check that Live Patch operations cannot be called from an unprivileged domain. Signed-off-by: Ross Lagerwall --- In v2: * Fixed review issues. * Rebased and added a test_title string. common/lib.c| 15 +++ docs/all-tests.dox | 2 + incl

[Xen-devel] [distros-debian-jessie test] 68060: tolerable FAIL

2016-11-18 Thread Platform Team regression test user
flight 68060 distros-debian-jessie real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/68060/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-i386-i386-jessie-netboot-pvgrub 10 guest-start fail like 68027 Tests which did

[Xen-devel] [libvirt test] 102375: tolerable all pass - PUSHED

2016-11-18 Thread osstest service owner
flight 102375 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/102375/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-armhf-armhf-libvirt 13 saverestore-support-checkfail like 102283 test-armhf-armhf-libvirt-xsm 13

[Xen-devel] [PATCH] xen_disk: convert discard input to byte ranges

2016-11-18 Thread Olaf Hering
The guest sends discard requests as u64 sector/count pairs, but the block layer operates internally with s64/s32 pairs. The conversion leads to IO errors in the guest, the discard request is not processed. domU.cfg: 'vdev=xvda, format=qcow2, backendtype=qdisk, target=/x.qcow2' domU: mkfs.e

[Xen-devel] Define a new Wiki part for Xen Project.

2016-11-18 Thread Jason Long
Hello developers. I have a request and please let me know your idea. Can Xen experts define a new part on Wiki about Xen developing for beginners? I mean is something like " kernelnewbies.org" but for Xen. For example, say to users which programming languages are necessary, which book is good for

Re: [Xen-devel] [PATCH] xen_disk: convert discard input to byte ranges

2016-11-18 Thread Olaf Hering
On Fri, Nov 18, Olaf Hering wrote: > @@ -708,12 +743,10 @@ static int ioreq_runio_qemu_aio(struct ioreq *ioreq) > +if (!blk_split_discard(ioreq, req->sector_number, req->nr_sectors)) { > +goto err; How is error handling supposed to work here? Initially I forgot the "!", which

Re: [Xen-devel] [PATCH] x86/cpuid: Deal with broken firmware once more

2016-11-18 Thread Thomas Gleixner
On Mon, 14 Nov 2016, Boris Ostrovsky wrote: > On 11/13/2016 06:42 PM, M. Vefa Bicakci wrote: > > > I found out that my domU kernels invoke the 'apic_disable' function > > because CONFIG_X86_MPPARSE was not enabled in my kernel configuration, > > which would cause the 'smp_found_config' bit to be u

Re: [Xen-devel] [PATCH] x86/cpuid: Add AVX512_4VNNIW and AVX512_4FMAPS support

2016-11-18 Thread Andrew Cooper
On 18/11/16 05:48, He Chen wrote: > Add two new AVX512 subfeatures support for guest. > > AVX512_4VNNIW: > Vector instructions for deep learning enhanced word variable precision. > > AVX512_4FMAPS: > Vector instructions for deep learning floating-point single precision. > > Signed-off-by: Luwei Kan

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

2016-11-18 Thread osstest service owner
flight 102380 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/102380/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 632dcfd6857b6211ce3fe9755d3c11e74ef5d447 baseline version: ovmf bd5ef82698e5e5931ae46

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

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

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

2016-11-18 Thread osstest service owner
flight 102372 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/102372/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-i386-xl-raw 10 guest-start fail in 102338 pass in 102372 test-armhf-armhf-libvirt 15 gues

[Xen-devel] [COVERITY ACCESS] for Embedded/Automotive team

2016-11-18 Thread Artem Mygaiev
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello I would like to request access to Coverity Scan project. Hereby, I: - agree to follow the security response process. - undertake to report security issues discovered to the security team (secur...@xenproject.org) within 3 days of discovery.

Re: [Xen-devel] [Qemu-devel] [PATCH] xen_disk: convert discard input to byte ranges

2016-11-18 Thread Eric Blake
On 11/18/2016 04:24 AM, Olaf Hering wrote: > The guest sends discard requests as u64 sector/count pairs, but the > block layer operates internally with s64/s32 pairs. The conversion > leads to IO errors in the guest, the discard request is not processed. Doesn't the block layer already split disca

Re: [Xen-devel] [COVERITY ACCESS] for Embedded/Automotive team

2016-11-18 Thread Andrew Cooper
On 18/11/16 13:36, Artem Mygaiev wrote: > Hello > > I would like to request access to Coverity Scan project. Hereby, I: > - agree to follow the security response process. > - undertake to report security issues discovered to the security team > (secur...@xenproject.org) within 3 days of discovery

Re: [Xen-devel] Error regarding filesystem in Dom0 in lager board

2016-11-18 Thread George John
Ok thanks for the reply, I have applied the dts file. My observations are: Adding hypervisor node has no effect on booting. For me even without hypervisor node it is getting booted up to mounting filesystem. After that point the system hangs as given in the log. Adding psci node results in breakd

Re: [Xen-devel] [Qemu-devel] [PATCH] xen_disk: convert discard input to byte ranges

2016-11-18 Thread Olaf Hering
Am 18. November 2016 14:43:18 MEZ, schrieb Eric Blake : >On 11/18/2016 04:24 AM, Olaf Hering wrote: >> The guest sends discard requests as u64 sector/count pairs, but the >> block layer operates internally with s64/s32 pairs. The conversion >> leads to IO errors in the guest, the discard request is

Re: [Xen-devel] [PATCH] x86/cpuid: Deal with broken firmware once more

2016-11-18 Thread Boris Ostrovsky
On 11/18/2016 06:16 AM, Thomas Gleixner wrote: > On Mon, 14 Nov 2016, Boris Ostrovsky wrote: >> On 11/13/2016 06:42 PM, M. Vefa Bicakci wrote: >> >>> I found out that my domU kernels invoke the 'apic_disable' function >>> because CONFIG_X86_MPPARSE was not enabled in my kernel configuration, >>> wh

[Xen-devel] [xtf test] 102385: all pass - PUSHED

2016-11-18 Thread osstest service owner
flight 102385 xtf real [real] http://logs.test-lab.xenproject.org/osstest/logs/102385/ Perfect :-) All tests in this flight passed as required version targeted for testing: xtf bd2a670f858314d28413ca577bb96ee249c4877d baseline version: xtf a8bca39aa38912c72eb7c2

Re: [Xen-devel] [Qemu-devel] [PATCH] xen_disk: convert discard input to byte ranges

2016-11-18 Thread Eric Blake
On 11/18/2016 08:19 AM, Olaf Hering wrote: > Am 18. November 2016 14:43:18 MEZ, schrieb Eric Blake : >> On 11/18/2016 04:24 AM, Olaf Hering wrote: >>> The guest sends discard requests as u64 sector/count pairs, but the >>> block layer operates internally with s64/s32 pairs. The conversion >>> leads

[Xen-devel] [qemu-mainline test] 102379: regressions - FAIL

2016-11-18 Thread osstest service owner
flight 102379 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/102379/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-libvirt-vhd 9 debian-di-installfail REGR. vs. 101909 test-amd64-amd64-

Re: [Xen-devel] Define a new Wiki part for Xen Project.

2016-11-18 Thread Geza Gemes
On 11/18/2016 11:25 AM, Jason Long wrote: Hello developers. I have a request and please let me know your idea. Can Xen experts define a new part on Wiki about Xen developing for beginners? I mean is something like " kernelnewbies.org" but for Xen. For example, say to users which programming lan

Re: [Xen-devel] [XTF PATCH v2] Add a Live Patch privilege check test

2016-11-18 Thread Konrad Rzeszutek Wilk
On Fri, Nov 18, 2016 at 09:36:06AM +, Ross Lagerwall wrote: > Add a test to check that Live Patch operations cannot be called from an > unprivileged domain. > > Signed-off-by: Ross Lagerwall > --- > > In v2: > * Fixed review issues. > * Rebased and added a test_title string. > > common/lib

Re: [Xen-devel] [COVERITY ACCESS] for Embedded/Automotive team

2016-11-18 Thread Konrad Rzeszutek Wilk
On Fri, Nov 18, 2016 at 01:56:38PM +, Andrew Cooper wrote: > On 18/11/16 13:36, Artem Mygaiev wrote: > > Hello > > > > I would like to request access to Coverity Scan project. Hereby, I: > > - agree to follow the security response process. > > - undertake to report security issues discovered

Re: [Xen-devel] [Qemu-devel] [PATCH] xen_disk: convert discard input to byte ranges

2016-11-18 Thread Kevin Wolf
Am 18.11.2016 um 15:35 hat Eric Blake geschrieben: > On 11/18/2016 08:19 AM, Olaf Hering wrote: > > Am 18. November 2016 14:43:18 MEZ, schrieb Eric Blake : > >> On 11/18/2016 04:24 AM, Olaf Hering wrote: > >>> The guest sends discard requests as u64 sector/count pairs, but the > >>> block layer ope

Re: [Xen-devel] Define a new Wiki part for Xen Project.

2016-11-18 Thread Konrad Rzeszutek Wilk
On Fri, Nov 18, 2016 at 04:22:07PM +0100, Geza Gemes wrote: > On 11/18/2016 11:25 AM, Jason Long wrote: > > Hello developers. > > I have a request and please let me know your idea. > > Can Xen experts define a new part on Wiki about Xen developing for > > beginners? I mean is something like " > >

Re: [Xen-devel] [PATCH v2 00/35] libxl LOG*D functions

2016-11-18 Thread Wei Liu
On Thu, Nov 17, 2016 at 06:35:42PM +0100, Cédric Bosdonnat wrote: > Hey all, > > Here is v2 addressing Wei's comments on patch #1. The 3 libxl.c > patches haven't been merged, but the commit message of the first > one has been slightly rewritten to help understanding the reason > of the split. >

Re: [Xen-devel] Define a new Wiki part for Xen Project.

2016-11-18 Thread Lars Kurth
On 18/11/2016 15:38, "Konrad Rzeszutek Wilk" wrote: >On Fri, Nov 18, 2016 at 04:22:07PM +0100, Geza Gemes wrote: >> On 11/18/2016 11:25 AM, Jason Long wrote: >> > Hello developers. >> > I have a request and please let me know your idea. >> > Can Xen experts define a new part on Wiki about Xen d

Re: [Xen-devel] [PATCHv1] MAINTAINERS: update EVENT CHANNEL and KEXEC maintainer

2016-11-18 Thread Wei Liu
On Thu, Nov 17, 2016 at 12:22:20PM +, Andrew Cooper wrote: > On 17/11/16 12:17, David Vrabel wrote: > > I am no longer in a position to be a Xen maintainer. Andrew has > > kindly volunteered to continue maintainance of the KEXEC subsystem. > > EVENT CHANNELS (FIFO-BASED ABI) will be maintained

Re: [Xen-devel] Define a new Wiki part for Xen Project.

2016-11-18 Thread Geza Gemes
On 11/18/2016 04:54 PM, Lars Kurth wrote: On 18/11/2016 15:38, "Konrad Rzeszutek Wilk" wrote: On Fri, Nov 18, 2016 at 04:22:07PM +0100, Geza Gemes wrote: On 11/18/2016 11:25 AM, Jason Long wrote: Hello developers. I have a request and please let me know your idea. Can Xen experts define a n

Re: [Xen-devel] Xen ARM community call

2016-11-18 Thread Julien Grall
Hello all, Based on the timezone given by each of you, the best time seems to be: Wednesday 23rd November at 4pm UTC. I will post an agenda beginning of next week. Use either of the following to join the call: Call+44 1223 406065 (Local dial in) and enter the access code below foll

[Xen-devel] [PATCH] MAINTAINERS: Add myself as the public API "Czar"

2016-11-18 Thread Konrad Rzeszutek Wilk
That way we have one person who can: a) poke other maintainers or pull them in with new drivers are introduced, b) we have one maintainer who can shepherd the patches along instead of depending on the REST maintainers which may be busy with other responsibilities. Signed-off-by: Konrad Rzeszutek W

Re: [Xen-devel] [PATCH] MAINTAINERS: Add myself as the public API "Czar"

2016-11-18 Thread George Dunlap
On 18/11/16 16:18, Konrad Rzeszutek Wilk wrote: > That way we have one person who can: a) poke other maintainers > or pull them in with new drivers are introduced, b) we have > one maintainer who can shepherd the patches along instead of > depending on the REST maintainers which may be busy with >

Re: [Xen-devel] [PATCH] MAINTAINERS: Add myself as the public API "Czar"

2016-11-18 Thread Konrad Rzeszutek Wilk
On Fri, Nov 18, 2016 at 11:18:24AM -0500, Konrad Rzeszutek Wilk wrote: > That way we have one person who can: a) poke other maintainers > or pull them in with new drivers are introduced, b) we have > one maintainer who can shepherd the patches along instead of > depending on the REST maintainers wh

Re: [Xen-devel] [Qemu-devel] [PATCH] xen_disk: convert discard input to byte ranges

2016-11-18 Thread Eric Blake
On 11/18/2016 04:24 AM, Olaf Hering wrote: > The guest sends discard requests as u64 sector/count pairs, but the > block layer operates internally with s64/s32 pairs. The conversion > leads to IO errors in the guest, the discard request is not processed. > > domU.cfg: > 'vdev=xvda, format=qcow

Re: [Xen-devel] [PATCH] MAINTAINERS: Add myself as the public API "Czar"

2016-11-18 Thread Wei Liu
On Fri, Nov 18, 2016 at 11:18:24AM -0500, Konrad Rzeszutek Wilk wrote: > That way we have one person who can: a) poke other maintainers > or pull them in with new drivers are introduced, b) we have > one maintainer who can shepherd the patches along instead of > depending on the REST maintainers wh

Re: [Xen-devel] [PATCH] MAINTAINERS: Add myself as the public API "Czar"

2016-11-18 Thread Jan Beulich
>>> On 18.11.16 at 17:18, wrote: > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -304,6 +304,11 @@ X: xen/arch/x86/acpi/lib.c > F: xen/drivers/cpufreq/ > F: xen/include/acpi/cpufreq/ > > +PUBLIC INTERFACES > +M: Konrad Rzeszutek Wilk > +S: Supported > +F: xen/include/public/ I thin

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

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

Re: [Xen-devel] [XTF PATCH v2] Add a Live Patch privilege check test

2016-11-18 Thread Andrew Cooper
On 18/11/16 09:36, Ross Lagerwall wrote: > Add a test to check that Live Patch operations cannot be called from an > unprivileged domain. > > Signed-off-by: Ross Lagerwall > --- > > In v2: > * Fixed review issues. > * Rebased and added a test_title string. > > common/lib.c

[Xen-devel] [PATCH-for-4.9 v1 0/8] New hypercall for device models

2016-11-18 Thread Paul Durrant
Following on from the design submitted by Jennifer Herbert to the list [1] this series provides an implementation of __HYPERCALL_dm_op followed by patches based on Jan Beulich's previous HVMCTL series [2] to convert tools-only HVMOPs used by device models to DMOPs. [1] https://lists.xenproject.org

[Xen-devel] [PATCH-for-4.9 v1 3/8] dm_op: convert HVMOP_track_dirty_vram

2016-11-18 Thread Paul Durrant
The patch changes the handle type passed to the underlying shadow and hap functions for compatibility with the new hypercall buffer. Suggested-by: Jan Beulich Signed-off-by: Paul Durrant --- Cc: Daniel De Graaf Cc: Ian Jackson Cc: Wei Liu Cc: Andrew Cooper Cc: George Dunlap Cc: Tim Deegan

[Xen-devel] [PATCH-for-4.9 v1 6/8] dm_op: convert HVMOP_set_mem_type

2016-11-18 Thread Paul Durrant
This patch also removes the need for handling HVMOP restarts, so that infrastructure is also removed. Suggested-by: Jan Beulich Signed-off-by: Paul Durrant --- Cc: Ian Jackson Cc: Wei Liu Cc: Andrew Cooper Cc: Daniel De Graaf --- tools/libxc/xc_misc.c | 28 +++- xen/arch/

[Xen-devel] [PATCH-for-4.9 v1 5/8] dm_op: convert HVMOP_modified_memory

2016-11-18 Thread Paul Durrant
Suggested-by: Jan Beulich Signed-off-by: Paul Durrant --- Cc: Ian Jackson Cc: Wei Liu Cc: Andrew Cooper Cc: Daniel De Graaf --- tools/libxc/xc_misc.c | 26 +--- xen/arch/x86/hvm/dm.c | 54 + xen/arch/x86/hvm/hvm.c

[Xen-devel] [PATCH-for-4.9 v1 8/8] x86/hvm: serialize trap injecting producer and consumer

2016-11-18 Thread Paul Durrant
Since injection works on a remote vCPU, and since there's no enforcement of the subject vCPU being paused, there's a potential race between the producing and consuming sides. Fix this by leveraging the vector field as synchronization variable. Signed-off-by: Jan Beulich [re-based] Signed-off-by:

[Xen-devel] [PATCH-for-4.9 v1 7/8] dm_op: convert HVMOP_inject_trap and HVMOP_inject_msi

2016-11-18 Thread Paul Durrant
NOTE: The definitions of HVMOP_TRAP_* have to persist for new interface versions as they are already in use by callers of the libxc interface. Suggested-by: Jan Beulich Signed-off-by: Paul Durrant --- Cc: Daniel De Graaf Cc: Ian Jackson Cc: Wei Liu Cc: Andrew Cooper --- tools/fl

[Xen-devel] [PATCH-for-4.9 v1 4/8] dm_op: convert HVMOP_set_pci_intx_level, HVMOP_set_isa_irq_level, and...

2016-11-18 Thread Paul Durrant
... HVMOP_set_pci_link_route Suggested-by: Jan Beulich Signed-off-by: Paul Durrant --- Cc: Daniel De Graaf Cc: Ian Jackson Cc: Wei Liu Cc: Andrew Cooper --- tools/flask/policy/modules/xen.if | 8 +-- tools/libxc/xc_misc.c | 81 +++-- xen/arch/x86/hvm/dm.c

[Xen-devel] [PATCH-for-4.9 v1 2/8] dm_op: convert HVMOP_*ioreq_server*

2016-11-18 Thread Paul Durrant
NOTE: The definitions of HVM_IOREQSRV_BUFIOREQ_*, HVMOP_IO_RANGE_* and HVMOP_PCI_SBDF have to persist for new interface versions as they are already in use by callers of the libxc interface. Suggested-by: Jan Beulich Signed-off-by: Paul Durrant -- Cc: Ian Jackson Cc: Wei Liu Cc: An

[Xen-devel] [PATCH-for-4.9 v1 1/8] public / x86: Introduce __HYPERCALL_dm_op...

2016-11-18 Thread Paul Durrant
...as a set of hypercalls to be used by a device model. As stated in the new docs/designs/dm_op.markdown: "The aim of DMOP is to prevent a compromised device model from compromising domains other then the one it is associated with. (And is therefore likely already compromised)." See that file fo

Re: [Xen-devel] [Qemu-devel] [PATCH] xen_disk: convert discard input to byte ranges

2016-11-18 Thread Olaf Hering
On Fri, Nov 18, Eric Blake wrote: > On 11/18/2016 04:24 AM, Olaf Hering wrote: > > +/* Overflowing byte limit? */ > > +if ((sec_start + sec_count) > ((INT64_MAX + INT_MAX) >> > > BDRV_SECTOR_BITS)) { > This is undefined. INT64_MAX + anything non-negative overflows int64, The expanded va

Re: [Xen-devel] [PATCH] MAINTAINERS: Add myself as the public API "Czar"

2016-11-18 Thread Konrad Rzeszutek Wilk
On Fri, Nov 18, 2016 at 10:06:59AM -0700, Jan Beulich wrote: > >>> On 18.11.16 at 17:18, wrote: > > --- a/MAINTAINERS > > +++ b/MAINTAINERS > > @@ -304,6 +304,11 @@ X: xen/arch/x86/acpi/lib.c > > F: xen/drivers/cpufreq/ > > F: xen/include/acpi/cpufreq/ > > > > +PUBLIC INTERFACES > > +M: K

Re: [Xen-devel] [XTF PATCH v2] Add a Live Patch privilege check test

2016-11-18 Thread Konrad Rzeszutek Wilk
> > +xen_sysctl_t op = > > +{ > > +.cmd = XEN_SYSCTL_livepatch_op, > > +.interface_version = interface_version, > > +.u.livepatch = { > > +.cmd = XEN_SYSCTL_LIVEPATCH_UPLOAD, > > +.u.upload = { > > +.name = { > > +

Re: [Xen-devel] [PATCH-for-4.9 v1 8/8] x86/hvm: serialize trap injecting producer and consumer

2016-11-18 Thread Razvan Cojocaru
On 11/18/2016 07:14 PM, Paul Durrant wrote: > Since injection works on a remote vCPU, and since there's no > enforcement of the subject vCPU being paused, there's a potential race > between the producing and consuming sides. Fix this by leveraging the > vector field as synchronization variable. >

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

2016-11-18 Thread osstest service owner
flight 102390 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/102390/ 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] [PATCH] MAINTAINERS: Add myself as the public API "Czar"

2016-11-18 Thread Stefano Stabellini
On Fri, 18 Nov 2016, Stefano Stabellini wrote: > On Fri, 18 Nov 2016, Konrad Rzeszutek Wilk wrote: > > On Fri, Nov 18, 2016 at 10:06:59AM -0700, Jan Beulich wrote: > > > >>> On 18.11.16 at 17:18, wrote: > > > > --- a/MAINTAINERS > > > > +++ b/MAINTAINERS > > > > @@ -304,6 +304,11 @@ X: xen/arch/x8

Re: [Xen-devel] [PATCH] MAINTAINERS: Add myself as the public API "Czar"

2016-11-18 Thread Stefano Stabellini
On Fri, 18 Nov 2016, Konrad Rzeszutek Wilk wrote: > On Fri, Nov 18, 2016 at 10:06:59AM -0700, Jan Beulich wrote: > > >>> On 18.11.16 at 17:18, wrote: > > > --- a/MAINTAINERS > > > +++ b/MAINTAINERS > > > @@ -304,6 +304,11 @@ X: xen/arch/x86/acpi/lib.c > > > F: xen/drivers/cpufreq/ > > >

Re: [Xen-devel] [PATCH] MAINTAINERS: Add myself as the public API "Czar"

2016-11-18 Thread George Dunlap
On 18/11/16 17:57, Stefano Stabellini wrote: > On Fri, 18 Nov 2016, Konrad Rzeszutek Wilk wrote: >> On Fri, Nov 18, 2016 at 10:06:59AM -0700, Jan Beulich wrote: >> On 18.11.16 at 17:18, wrote: --- a/MAINTAINERS +++ b/MAINTAINERS @@ -304,6 +304,11 @@ X:xen/arch/x86/acpi/lib.c

Re: [Xen-devel] [PATCH V4] xen/arm: domain_build: allocate lowmem for dom0 as much as possible

2016-11-18 Thread Stefano Stabellini
On Thu, 17 Nov 2016, Stefano Stabellini wrote: > > > I have just run the numbers on ARM64 (APM m400) and it is still much > > > faster than netfront/netback. This is what I get by running iperf -c in > > > a VM and iperf -s in Dom0: > > > > > > PVCalls Netfront/Netback > > > -P

[Xen-devel] Wondering about cirris and stdvga

2016-11-18 Thread Dario Faggioli
Sending again, this time, with Anthony's and xen-devel address spelled right. Sorry!! :-( --- Hello to you, various pseudo-random people, It's not my field of expertise, so bear with me, at least a little bit (and, Konrad, you help me, or there will be conse

Re: [Xen-devel] Define a new Wiki part for Xen Project.

2016-11-18 Thread Dario Faggioli
On Fri, 2016-11-18 at 10:25 +, Jason Long wrote: > Hello developers. > I have a request and please let me know your idea. > Can Xen experts define a new part on Wiki about Xen developing for > beginners? I mean is something like " > kernelnewbies.org" but for Xen. > Yeah, that indeed could be

Re: [Xen-devel] [RFC PATCH 21/24] ARM: vITS: handle INVALL command

2016-11-18 Thread Stefano Stabellini
On Fri, 11 Nov 2016, Stefano Stabellini wrote: > On Fri, 11 Nov 2016, Julien Grall wrote: > > Hi Stefano, > > > > On 10/11/16 20:42, Stefano Stabellini wrote: > > > On Thu, 10 Nov 2016, Julien Grall wrote: > > > > On 10/11/16 00:21, Stefano Stabellini wrote: > > > > > On Fri, 4 Nov 2016, Andre Prz

Re: [Xen-devel] Request for a repo on xenbits for the XenProject Openstack CI Loop

2016-11-18 Thread Ian Jackson
Anthony PERARD writes ("Re: Request for a repo on xenbits for the XenProject Openstack CI Loop"): > On Thu, Nov 17, 2016 at 04:34:16PM +, Ian Jackson wrote: > > I am happy with this. But there may be more openstack things. How > > about > > git://xenbits.xen.org/openstack/ci-loop-config.gi

Re: [Xen-devel] [Qemu-devel] [PATCH] xen_disk: convert discard input to byte ranges

2016-11-18 Thread Eric Blake
On 11/18/2016 11:41 AM, Olaf Hering wrote: > On Fri, Nov 18, Eric Blake wrote: > >> On 11/18/2016 04:24 AM, Olaf Hering wrote: >>> +/* Overflowing byte limit? */ >>> +if ((sec_start + sec_count) > ((INT64_MAX + INT_MAX) >> >>> BDRV_SECTOR_BITS)) { >> This is undefined. INT64_MAX + anythi

Re: [Xen-devel] [OSSTEST PATCH v7 1/3] ts-openstack-deploy: Deploy OpenStack on a host with devstack

2016-11-18 Thread Ian Jackson
Anthony PERARD writes ("[OSSTEST PATCH v7 1/3] ts-openstack-deploy: Deploy OpenStack on a host with devstack"): > This script installs any necessary packages and clones all of the OpenStack > trees which are used by devstack to deploy OpenStack. Thanks. I have only trivial comments. > +proc nee

Re: [Xen-devel] [OSSTEST PATCH v7 3/3] Create a flight to test OpenStack with xen-unstable and libvirt

2016-11-18 Thread Ian Jackson
Anthony PERARD writes ("[Xen-devel] [OSSTEST PATCH v7 3/3] Create a flight to test OpenStack with xen-unstable and libvirt"): > This patch should create a flight "openstack-nova", with those jobs: Did I already ask for a diff of the output of standalone-generate-dump-flight-runvars before and

Re: [Xen-devel] Xen ARM small task (WAS: Re: [Xen Question])

2016-11-18 Thread Stefano Stabellini
On Thu, 17 Nov 2016, Julien Grall wrote: > Hi Stefano, > > On 17/11/2016 11:26, Stefano Stabellini wrote: > > On Mon, 14 Nov 2016, Julien Grall wrote: > > > On 11/11/2016 13:55, Stefano Stabellini wrote: > > > > On Fri, 11 Nov 2016, Julien Grall wrote: > > > > > On 11/11/2016 02:24, Stefano Stabel

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

2016-11-18 Thread Julien Grall
Hi Lan, On 17/11/2016 09:36, Lan Tianyu wrote: 1) Definition of "struct xen_dmop_viommu_op" as new hypercall parameter. struct xen_dmop_viommu_op { u32 cmd; u32 domid; u32 viommu_id; union { struct { u32 capabilities; } query_capabilities; st

Re: [Xen-devel] [OSSTEST PATCH v7 3/3] Create a flight to test OpenStack with xen-unstable and libvirt

2016-11-18 Thread Konrad Rzeszutek Wilk
On Fri, Nov 18, 2016 at 06:57:52PM +, Ian Jackson wrote: > Anthony PERARD writes ("[Xen-devel] [OSSTEST PATCH v7 3/3] Create a flight to > test OpenStack with xen-unstable and libvirt"): > > This patch should create a flight "openstack-nova", with those jobs: > > Did I already ask for a diff

Re: [Xen-devel] Define a new Wiki part for Xen Project.

2016-11-18 Thread Jason Long
Thank you. I'm happy to see more info, but beginners like me need experts guidance. For example, nowadays experts were beginners like us and we need their experiences for improve ourselves. OK, C programming need but which book is recommended. Can you introduce any book that tech software develo

Re: [Xen-devel] Define a new Wiki part for Xen Project.

2016-11-18 Thread Jason Long
Thank you. I'm happy to see more info, but beginners like me need experts guidance. For example, nowadays experts were beginners like us and we need their experiences for improve ourselves. OK, C programming need but which book is recommended. Can you introduce any book that tech software develo

Re: [Xen-devel] Define a new Wiki part for Xen Project.

2016-11-18 Thread Jason Long
Thank you. If you find amy book or other useful information then inform me. On Fri, 11/18/16, Geza Gemes wrote: Subject: Re: [Xen-devel] Define a new Wiki part for Xen Project. To: xen-devel@lists.xen.org Date: Friday, November 18, 2016, 7:22 AM

Re: [Xen-devel] [COVERITY ACCESS] for Embedded/Automotive team

2016-11-18 Thread Julien Grall
Hello, On 18/11/2016 09:28, Konrad Rzeszutek Wilk wrote: On Fri, Nov 18, 2016 at 01:56:38PM +, Andrew Cooper wrote: On 18/11/16 13:36, Artem Mygaiev wrote: Hello I would like to request access to Coverity Scan project. Hereby, I: - agree to follow the security response process. - undert

Re: [Xen-devel] Error regarding filesystem in Dom0 in lager board

2016-11-18 Thread Julien Grall
On 16/11/2016 12:08, Iurii Mykhalskyi wrote: Hi, Hello, Try to use attached files as DTS. I didn't tested, but looks like there are few missed nodes: - hypervisor - psci I'm not sure, that Linux & Xen will correctly inter-works without them. They are not necessary in the HW DTS and will be

[Xen-devel] Opinions on removing the old, legacy libvirt Xen driver

2016-11-18 Thread Jim Fehlig
Hi All, I briefly mentioned this at an evening event during the KVM Forum / Xen Dev Summit, but the list is certainly a better place to discuss such a topic. What do folks think about finally removing the old, legacy, xend-based driver from the libvirt sources? The Xen community made xl/libx

Re: [Xen-devel] Error regarding filesystem in Dom0 in lager board

2016-11-18 Thread Julien Grall
On 16/11/2016 11:23, George John wrote: Hi, Hello George, I just bumped in to some errors related to filesystem . The following is the log. I am using xen 4.7.1 along with linux kernel 3.19.8 as Dom0 [...] sh_mobile_sdhi sh_mobile_sdhi.0: mmc1 base at 0xee10 clock rate 97 MHz ata1:

Re: [Xen-devel] Define a new Wiki part for Xen Project.

2016-11-18 Thread Konrad Rzeszutek Wilk
On Fri, Nov 18, 2016 at 08:45:44PM +, Jason Long wrote: > Thank you. > If you find amy book or other useful information then inform me. About C? I would recommend The C Programming Language by Brian W. Kernighan, Dennis M. Ritchie > > On Fri, 11/

[Xen-devel] [qemu-mainline test] 102388: regressions - FAIL

2016-11-18 Thread osstest service owner
flight 102388 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/102388/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-libvirt-vhd 9 debian-di-installfail REGR. vs. 101909 test-amd64-amd64-

[Xen-devel] [Fwd: Re: Wondering about cirris and stdvga]

2016-11-18 Thread Dario Faggioli
Forwarded Message From: Adam Jackson Subject: Re: Wondering about cirris and stdvga Date: Fri, 18 Nov 2016 15:19:08 -0500 Message-Id: <1479500348.16973.1.ca...@redhat.com> On Fri, 2016-11-18 at 13:32 -0500, Konrad Rzeszutek Wilk wrote: > > On Fri, Nov 18, 2016 at 06:08:57PM +00

[Xen-devel] [Fwd: Re: Wondering about cirris and stdvga]

2016-11-18 Thread Dario Faggioli
Forwarded Message From: Stefano Stabellini Subject: Re: Wondering about cirris and stdvga Date: Fri, 18 Nov 2016 11:26:07 -0800 Mailer: Alpine 2.10 (DEB 1266 2009-07-14) Message-Id: On Fri, 18 Nov 2016, Konrad Rzeszutek Wilk wrote: > > On Fri, Nov 18, 2016 at 06:08:57PM +,

[Xen-devel] [Fwd: Re: Wondering about cirris and stdvga]

2016-11-18 Thread Dario Faggioli
Forwarded Message From: Konrad Rzeszutek Wilk Subject: Re: Wondering about cirris and stdvga Date: Fri, 18 Nov 2016 13:32:24 -0500 Mailer: Mutt/1.7.1 (2016-10-04) Message-Id: <20161118183224.gb10...@x230.dumpdata.com> On Fri, Nov 18, 2016 at 06:08:57PM +, Ian Jackson wrote:

[Xen-devel] [Fwd: Re: Wondering about cirris and stdvga]

2016-11-18 Thread Dario Faggioli
Making the thread appear on xen-devel, as it actually was not there, because I can't type! :-/ Forwarded Message From: Ian Jackson Subject: Re: Wondering about cirris and stdvga Date: Fri, 18 Nov 2016 18:08:57 + Mailer: VM 8.2.0b under 24.4.1 (i586-pc-linux-gnu) Message-Id:

[Xen-devel] [Fwd: Re: Wondering about cirris and stdvga]

2016-11-18 Thread Dario Faggioli
Forwarded Message From: Adam Jackson Subject: Re: Wondering about cirris and stdvga Date: Fri, 18 Nov 2016 15:23:59 -0500 Message-Id: <1479500639.16973.3.ca...@redhat.com> On Fri, 2016-11-18 at 11:26 -0800, Stefano Stabellini wrote: > > I am no Xorg maintainer but back in the

Re: [Xen-devel] [PATCH v3 (re-send)] xen/gntdev: Use mempolicy instead of VM_IO flag to avoid NUMA balancing

2016-11-18 Thread Boris Ostrovsky
On 11/18/2016 04:51 PM, Hugh Dickins wrote: > On Thu, 17 Nov 2016, Boris Ostrovsky wrote: > >> Commit 9c17d96500f7 ("xen/gntdev: Grant maps should not be subject to >> NUMA balancing") set VM_IO flag to prevent grant maps from being >> subjected to NUMA balancing. >> >> It was discovered recently t

Re: [Xen-devel] [Fwd: Re: Wondering about cirris and stdvga]

2016-11-18 Thread Dario Faggioli
> On Fri, 2016-11-18 at 15:19 -0500, Adam Jackson wrote: > > On Fri, 2016-11-18 at 13:32 -0500, Konrad Rzeszutek Wilk wrote: > > On Fri, Nov 18, 2016 at 06:08:57PM +, Ian Jackson wrote: > > > > performance wise, that cirrus is broken and impossible to > > > > fix (because it is the hardware tha

Re: [Xen-devel] Opinions on removing the old, legacy libvirt Xen driver

2016-11-18 Thread Dario Faggioli
On Fri, 2016-11-18 at 14:25 -0700, Jim Fehlig wrote: > Hi All, > > I briefly mentioned this at an evening event during the KVM Forum / > Xen Dev  > Summit, but the list is certainly a better place to discuss such a > topic. What  > do folks think about finally removing the old, legacy, xend-based

Re: [Xen-devel] [PATCH v3 (re-send)] xen/gntdev: Use mempolicy instead of VM_IO flag to avoid NUMA balancing

2016-11-18 Thread Boris Ostrovsky
On 11/18/2016 05:27 PM, Hugh Dickins wrote: > On Fri, 18 Nov 2016, Boris Ostrovsky wrote: >> On 11/18/2016 04:51 PM, Hugh Dickins wrote: >>> Hmm, sorry, but this seems overcomplicated to me: ingenious, but an >>> unusual use of the ->get_policy method, which is a little worrying, >>> since it has o

Re: [Xen-devel] [xen-unstable test] 102372: tolerable FAIL

2016-11-18 Thread Dario Faggioli
On Fri, 2016-11-18 at 12:55 +, osstest service owner wrote: > flight 102372 xen-unstable real [real] > http://logs.test-lab.xenproject.org/osstest/logs/102372/ > > Failures :-/ but no regressions. > > Tests which are failing intermittently (not blocking): >  test-armhf-armhf-xl-credit2  16 gu

Re: [Xen-devel] Opinions on removing the old, legacy libvirt Xen driver

2016-11-18 Thread Konrad Rzeszutek Wilk
On Fri, Nov 18, 2016 at 02:25:18PM -0700, Jim Fehlig wrote: > Hi All, > > I briefly mentioned this at an evening event during the KVM Forum / Xen Dev > Summit, but the list is certainly a better place to discuss such a topic. > What do folks think about finally removing the old, legacy, xend-based

Re: [Xen-devel] [PATCH v2 4/4] xen: attach pvusb usb bus to backend qdev

2016-11-18 Thread Stefano Stabellini
On Wed, 2 Nov 2016, Juergen Gross wrote: > Attach the usb bus of a new pvusb controller to the qdev associated > with the Xen backend. Any device connected to that controller can now > specify the bus and port directly via its properties. > > Signed-off-by: Juergen Gross Reviewed-by: Stefano Sta

Re: [Xen-devel] [PATCH v2 3/4] xen: create qdev for each backend device

2016-11-18 Thread Stefano Stabellini
On Wed, 2 Nov 2016, Juergen Gross wrote: > Create a qdev plugged to the xen-sysbus for each new backend device. > This device can be used as a parent for all needed devices of that > backend. The id of the new device will be "xen--" with > being the xen backend type (e.g. "qdisk") and the xen > b

Re: [Xen-devel] [PATCH v2 2/4] qdev: add function qdev_set_id()

2016-11-18 Thread Stefano Stabellini
On Wed, 2 Nov 2016, Juergen Gross wrote: > In order to have an easy way to add a new qdev with a specific id > carve out the needed functionality from qdev_device_add() into a new > function qdev_set_id(). > > Signed-off-by: Juergen Gross Reviewed-by: Stefano Stabellini > include/monitor/qde

Re: [Xen-devel] [PATCH v2 1/4] xen: add an own bus for xen backend devices

2016-11-18 Thread Stefano Stabellini
On Wed, 2 Nov 2016, Juergen Gross wrote: > Add a bus for Xen backend devices in order to be able to establish a > dedicated device path for pluggable devices. > > Signed-off-by: Juergen Gross Reviewed-by: Stefano Stabellini > hw/xen/xen_backend.c | 19 --- > include/h

Re: [Xen-devel] [PATCH] xen/arm: Add support for 16 bit VMIDs

2016-11-18 Thread Stefano Stabellini
On Fri, 11 Nov 2016, Bhupinder Thakur wrote: > VMID space is increased to 16-bits from 8-bits in ARMv8 8.1 revision. > This allows more than 256 VMs to be supported by Xen. > > This change adds support for 16-bit VMIDs in Xen based on whether the > architecture supports it. > > Signed-off-by: Bhu

[Xen-devel] [xen-unstable test] 102393: regressions - FAIL

2016-11-18 Thread osstest service owner
flight 102393 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/102393/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-pair 22 guest-migrate/dst_host/src_host fail REGR. vs. 102338 test-amd64-i386-qe

Re: [Xen-devel] Define a new Wiki part for Xen Project.

2016-11-18 Thread Geza Gemes
On 11/18/2016 10:41 PM, Konrad Rzeszutek Wilk wrote: On Fri, Nov 18, 2016 at 08:45:44PM +, Jason Long wrote: Thank you. If you find amy book or other useful information then inform me. About C? I would recommend The C Programming Language by Brian W. Kernighan, Dennis M. Ritchie What I thi

[Xen-devel] [qemu-mainline test] 102396: regressions - FAIL

2016-11-18 Thread osstest service owner
flight 102396 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/102396/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-libvirt-vhd 9 debian-di-installfail REGR. vs. 101909 test-amd64-amd64-

  1   2   >