[Xen-devel] [RFC PATCH] p2m-pt: avoid get the pte falgs repeatedly.

2016-11-17 Thread Liang Li
There are a lot of code try to get the pte flags repeatedly, why not save the result and reuse it in the following code? It can help to save some CPU cycles and make the code cleaner, no? I am not sure if this is the right direction, just change one place. Signed-off-by: Liang Li --- xen/arch/x

[Xen-devel] [ovmf test] 102337: regressions - FAIL

2016-11-17 Thread osstest service owner
flight 102337 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/102337/ 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-install fail REGR. vs. 102292 test-amd64-i386-xl-qemuu-

[Xen-devel] [libvirt test] 102332: regressions - FAIL

2016-11-17 Thread osstest service owner
flight 102332 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/102332/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-libvirt-qcow2 14 guest-start/debian.repeat fail REGR. vs. 102283 Regressions which a

Re: [Xen-devel] [PULL 0/1] tags/xen-20161108-tag

2016-11-17 Thread Sander Eikelenboom
Tuesday, November 8, 2016, 8:59:46 PM, you wrote: > The following changes since commit 207faf24c58859f5240f66bf6decc33b87a1776e: > Merge remote-tracking branch 'pm215/tags/pull-target-arm-20161107' into > staging (2016-11-07 14:02:15 +) > are available in the git repository at: > git

Re: [Xen-devel] [DRAFT RFC] PVHv2 interaction with physical devices

2016-11-17 Thread Jan Beulich
>>> On 16.11.16 at 17:42, wrote: > I assume that temporary limiting PVHv2 Dom0 support to systems with 1 IO APIC > only is not going to be accepted, right? Well, as long as it's experimental (and the respective code clearly marked with fixme annotations) that would be acceptable imo. Jan

Re: [Xen-devel] [DRAFT RFC] PVHv2 interaction with physical devices

2016-11-17 Thread Jan Beulich
>>> On 16.11.16 at 17:49, wrote: > On Fri, Nov 11, 2016 at 03:04:49AM -0700, Jan Beulich wrote: >> >>> On 10.11.16 at 18:21, wrote: >> > On Thu, Nov 10, 2016 at 04:20:34PM +0100, Roger Pau Monné wrote: >> >> > 0a:11.4 Ethernet controller: Intel Corporation 82576 Virtual Function >> >> > (rev 01)

Re: [Xen-devel] [PATCH v3.1 10/15] xen/x86: split Dom0 build into PV and PVHv2

2016-11-17 Thread Jan Beulich
>>> On 16.11.16 at 19:02, wrote: > On Fri, Nov 11, 2016 at 09:53:49AM -0700, Jan Beulich wrote: >> >>> On 29.10.16 at 10:59, wrote: >> > --- a/xen/arch/x86/domain_build.c >> > +++ b/xen/arch/x86/domain_build.c >> > @@ -191,10 +191,8 @@ struct vcpu *__init alloc_dom0_vcpu0(struct domain > *dom0)

Re: [Xen-devel] [PATCH 2/6] x86/vpmu: Move vpmu_do_cpuid() handling into {pv, hvm}_cpuid()

2016-11-17 Thread Jan Beulich
>>> On 17.11.16 at 06:21, wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: Wednesday, November 16, 2016 9:34 PM >> >>> On 16.11.16 at 14:01, wrote: >> > On 16/11/16 12:53, Jan Beulich wrote: >> > On 16.11.16 at 13:31, wrote: >> >>> This reduces the net complexity of CPUID han

Re: [Xen-devel] [PATCH 4/6] x86/hvm: Move hvm_funcs.cpuid_intercept() handling into hvm_cpuid()

2016-11-17 Thread Jan Beulich
>>> On 16.11.16 at 18:07, wrote: > On 16/11/16 15:20, Jan Beulich wrote: > On 16.11.16 at 13:31, wrote: >>> @@ -3676,6 +3671,12 @@ void hvm_cpuid(unsigned int input, unsigned int >>> *eax, unsigned int *ebx, >>> if ( !(hvm_pae_enabled(v) || hvm_long_mode_enabled(v)) ) >>>

Re: [Xen-devel] [PATCH v2] xen/gntdev: Use mempolicy instead of VM_IO flag to avoid NUMA balancing

2016-11-17 Thread Olaf Hering
On Wed, Nov 16, Boris Ostrovsky wrote: > Unfortunately I haven't been able to trigger NUMA balancing > so while I tested this in general I am not sure I actually > exercised the code path. Thanks for the patch! Would be nice to actually test the code path which caused the initial addition of VM_

Re: [Xen-devel] [RFC PATCH] p2m-pt: avoid get the pte falgs repeatedly.

2016-11-17 Thread Jan Beulich
>>> On 17.11.16 at 09:24, wrote: > There are a lot of code try to get the pte flags repeatedly, why > not save the result and reuse it in the following code? It can help > to save some CPU cycles and make the code cleaner, no? > > I am not sure if this is the right direction, just change one plac

Re: [Xen-devel] [PATCH v1 1/7] ts-xen-build: Enable livepatch.

2016-11-17 Thread Ian Jackson
Konrad Rzeszutek Wilk writes ("[PATCH v1 1/7] ts-xen-build: Enable livepatch."): > Livepatch compiles and works on x86/ARM{32|64} so we can > unconditionaly enable it. Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lis

Re: [Xen-devel] [PATCH v1 3/7] ts-xen-build: Install livepatch regressions tests. [and 1 more messages]

2016-11-17 Thread Ian Jackson
Konrad Rzeszutek Wilk writes ("[PATCH v1 3/7] ts-xen-build: Install livepatch regressions tests."): > That come with the Xen git tree (see xen/test/). I think this and the "build them" patch should be combined. > +buildcmd_stamped_logged(600, 'xen', 'tests-install', '',< $dokconfig; Can you

Re: [Xen-devel] [PATCH v1 4/7] OssTest: Add target_cmd_root_rc which returns return code.

2016-11-17 Thread Ian Jackson
Konrad Rzeszutek Wilk writes ("[PATCH v1 4/7] OssTest: Add target_cmd_root_rc which returns return code."): > All the different target_cmd_* end up calling tcmdex > which has the unfortunate side-effect of calling 'die' if > the SSH sessions results in any return code not zero. ... > Also we make

Re: [Xen-devel] [PATCH for-4.9] x86/vmx: Shorten vmx_{get, set}_segment_register() for user segments

2016-11-17 Thread Andrew Cooper
On 17/11/16 05:10, Tian, Kevin wrote: >> From: Andrew Cooper [mailto:andrew.coop...@citrix.com] >> Sent: Wednesday, November 16, 2016 9:42 PM >> >> On 26/10/16 14:15, Andrew Cooper wrote: >>> The x86_segment enumeration matches hardware SReg encoding, which can be >>> used >>> to calculate the app

[Xen-devel] [PATCHv1] MAINTAINERS: update XEN HYPERVISOR INTERFACE

2016-11-17 Thread David Vrabel
I am no longer in a postion to be a maintainer of the Xen subsystem. Signed-off-by: David Vrabel --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 2a58eea..32a36da 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13196,7 +13196,6 @@ F: drivers/

Re: [Xen-devel] [PATCHv1] MAINTAINERS: update XEN HYPERVISOR INTERFACE

2016-11-17 Thread Juergen Gross
On 17/11/16 13:12, David Vrabel wrote: > I am no longer in a postion to be a maintainer of the Xen subsystem. > > Signed-off-by: David Vrabel Acked-by: Juergen Gross Thank you very much for your work Juergen > --- > MAINTAINERS | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/MAINT

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

2016-11-17 Thread David Vrabel
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 by the "Other" hypervisor maintainers. Signed-off-by: David Vrabel Cc: Andrew Cooper --- MAINTAINERS | 8 +-

Re: [Xen-devel] [PATCH v1 5/7] ts-livepatch: Initial test-cases.

2016-11-17 Thread Ian Jackson
Konrad Rzeszutek Wilk writes ("[PATCH v1 5/7] ts-livepatch: Initial test-cases."): > There are 32 test-cases in there. Before we run > any of them we verify that the payload files are present > in /usr/lib/debug. > > If so we go through all of the test-cases. > +my @livepatch_files = ("xen_hello

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

2016-11-17 Thread Andrew Cooper
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 by the "Other" > hypervisor maintainers. > > Signed-off-by: David Vrab

Re: [Xen-devel] [PATCH v1 6/7] sg-run-job: Add the test-livepatch.

2016-11-17 Thread Ian Jackson
Konrad Rzeszutek Wilk writes ("[PATCH v1 6/7] sg-run-job: Add the test-livepatch."): > +proc need-hosts/test-livepatch {} { return host } > +proc run-job/test-livepatch {} { > +run-ts . = ts-livepatch host +run-ts . = ts-livepatch + host Please. I think that will make a prettier testi

Re: [Xen-devel] [PATCH v1 7/7] make-flight/mfi-common: Add them in the matrix.

2016-11-17 Thread Ian Jackson
Konrad Rzeszutek Wilk writes ("[PATCH v1 7/7] make-flight/mfi-common: Add them in the matrix."): > Signed-off-by: Konrad Rzeszutek Wilk Can you accompany this with a diff of the output of standalone-generate-dump-flight-runvars before and after ? You probably want AP_FETCH_PLACEHOLDERS=y e

Re: [Xen-devel] [PATCH v1] OSSTest test-harness for livepatches.

2016-11-17 Thread Ian Jackson
Konrad Rzeszutek Wilk writes ("[PATCH v1] OSSTest test-harness for livepatches."): > With this test-harness I am able to run the regressions tests on livepatches > on Xen 4.8. I only used the standalone tests. The incantations was: Thanks. > There are still some TODOs such as: > - Test this on

Re: [Xen-devel] [PATCH] xen-platform: use builtin_pci_driver

2016-11-17 Thread Juergen Gross
On 14/11/16 13:52, Geliang Tang wrote: > Use builtin_pci_driver() helper to simplify the code. > > Signed-off-by: Geliang Tang Applied to xen/tip.git for-linus-4.10 Juergen > --- > drivers/xen/platform-pci.c | 6 +- > 1 file changed, 1 insertion(+), 5 deletions(-) > > diff --git a/drive

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

2016-11-17 Thread osstest service owner
flight 102329 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/102329/ 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] [PATCHv5 2/2] xenfs: Use proc_create_mount_point() to create /proc/xen

2016-11-17 Thread Juergen Gross
On 14/11/16 12:12, David Vrabel wrote: > From: Seth Forshee > > Mounting proc in user namespace containers fails if the xenbus > filesystem is mounted on /proc/xen because this directory fails > the "permanently empty" test. proc_create_mount_point() exists > specifically to create such mountpoin

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

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

Re: [Xen-devel] [RFC PATCH] p2m-pt: avoid get the pte falgs repeatedly.

2016-11-17 Thread Li, Liang Z
> >>> On 17.11.16 at 09:24, wrote: > > There are a lot of code try to get the pte flags repeatedly, why not > > save the result and reuse it in the following code? It can help to > > save some CPU cycles and make the code cleaner, no? > > > > I am not sure if this is the right direction, just chan

Re: [Xen-devel] [Qemu-devel] [PULL 0/1] tags/xen-20161108-tag

2016-11-17 Thread Wei Liu
Hi Peter and Stefan, can you merge this pull request? We want to backport this patch once it is merged. Thanks Wei. On Tue, Nov 08, 2016 at 11:59:46AM -0800, Stefano Stabellini wrote: > The following changes since commit 207faf24c58859f5240f66bf6decc33b87a1776e: > > Merge remote-tracking branc

Re: [Xen-devel] [PATCHv1] MAINTAINERS: update XEN HYPERVISOR INTERFACE

2016-11-17 Thread Boris Ostrovsky
On 11/17/2016 07:17 AM, Juergen Gross wrote: > On 17/11/16 13:12, David Vrabel wrote: >> I am no longer in a postion to be a maintainer of the Xen subsystem. >> >> Signed-off-by: David Vrabel > Acked-by: Juergen Gross > > Thank you very much for your work Regretfully, Acked-by: Boris Ostrovsky

Re: [Xen-devel] [PULL 0/1] tags/xen-20161108-tag

2016-11-17 Thread Wei Liu
On Thu, Nov 17, 2016 at 10:56:50AM +0100, Sander Eikelenboom wrote: > > Tuesday, November 8, 2016, 8:59:46 PM, you wrote: > > > The following changes since commit 207faf24c58859f5240f66bf6decc33b87a1776e: > > > Merge remote-tracking branch 'pm215/tags/pull-target-arm-20161107' into > > stagin

Re: [Xen-devel] [PATCH 01/35] libxl: add LIBXL_LOGD_* and LOG*D function families.

2016-11-17 Thread Wei Liu
On Tue, Nov 15, 2016 at 11:18:39AM +0100, Cédric Bosdonnat wrote: > From: Cédric Bosdonnat > > These functions should be used to log messages when the domain > id is known. libxl__log will now prepend the log message by > "Domain %PRIu32:" if the domain id is a valid one. > > This aims at helpin

[Xen-devel] [ovmf test] 102343: regressions - FAIL

2016-11-17 Thread osstest service owner
flight 102343 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/102343/ 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-install fail REGR. vs. 102292 test-amd64-i386-xl-qemuu-

Re: [Xen-devel] [PATCH 04/35] libxl.c: switch to LOG*D use

2016-11-17 Thread Wei Liu
On Tue, Nov 15, 2016 at 11:18:42AM +0100, Cédric Bosdonnat wrote: > Use LOG*D functions to output the domain ID in logs as much as > possible. This will help consumer code sorting the logs by > domain. > > This commit includes all LOG* to LOG*D changes where the domain > ID is not just a domid var

Re: [Xen-devel] ACPI fixmap overflow

2016-11-17 Thread Boris Ostrovsky
On 11/16/2016 05:08 AM, Jan Beulich wrote: On 15.11.16 at 21:51, wrote: >> On 11/15/2016 03:44 PM, Andrew Cooper wrote: >>> On 15/11/2016 20:39, Boris Ostrovsky wrote: On 11/15/2016 02:45 PM, Andrew Cooper wrote: > On 15/11/16 19:34, Boris Ostrovsky wrote: >> In addition to runni

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

2016-11-17 Thread Lan Tianyu
Change since V2: 1) Update motivation for Xen vIOMMU - 288 vcpus support part Add descriptor about plan of increasing vcpu from 128 to 255 and dependency between X2APIC and interrupt remapping. 2) Update 3.1 New vIOMMU hypercall interface Change vIOMMU hypercall fro

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

2016-11-17 Thread Ross Lagerwall
Add a test to check that Live Patch operations cannot be called from an unprivileged domain. Signed-off-by: Ross Lagerwall --- docs/all-tests.dox | 2 + include/xen/sysctl.h| 220 include/xtf/hypercall.h | 6 +

Re: [Xen-devel] [PATCH v2] xen/gntdev: Use mempolicy instead of VM_IO flag to avoid NUMA balancing

2016-11-17 Thread Boris Ostrovsky
On 11/17/2016 06:28 AM, Olaf Hering wrote: > On Wed, Nov 16, Boris Ostrovsky wrote: > >> Unfortunately I haven't been able to trigger NUMA balancing >> so while I tested this in general I am not sure I actually >> exercised the code path. > Thanks for the patch! > > Would be nice to actually test t

Re: [Xen-devel] [PATCH 01/35] libxl: add LIBXL_LOGD_* and LOG*D function families.

2016-11-17 Thread Cedric Bosdonnat
On Thu, 2016-11-17 at 14:41 +, Wei Liu wrote: > On Tue, Nov 15, 2016 at 11:18:39AM +0100, Cédric Bosdonnat wrote: > > From: Cédric Bosdonnat > > > > These functions should be used to log messages when the domain > > id is known. libxl__log will now prepend the log message by > > "Domain %PRIu

Re: [Xen-devel] [PATCH v2] xen/gntdev: Use mempolicy instead of VM_IO flag to avoid NUMA balancing

2016-11-17 Thread Olaf Hering
On Thu, Nov 17, Boris Ostrovsky wrote: > On 11/17/2016 06:28 AM, Olaf Hering wrote: > > ERROR: "__mpol_dup" [drivers/xen/xen-gntdev.ko] undefined! > > ERROR: "get_task_policy" [drivers/xen/xen-gntdev.ko] undefined! > I just built 4.4.11 with this patch applied and haven't had any problems. Are th

Re: [Xen-devel] [PATCH 04/35] libxl.c: switch to LOG*D use

2016-11-17 Thread Cedric Bosdonnat
On Thu, 2016-11-17 at 14:50 +, Wei Liu wrote: > On Tue, Nov 15, 2016 at 11:18:42AM +0100, Cédric Bosdonnat wrote: > > Use LOG*D functions to output the domain ID in logs as much as > > possible. This will help consumer code sorting the logs by > > domain. > > > > This commit includes all LOG*

Re: [Xen-devel] ACPI fixmap overflow

2016-11-17 Thread Alex Thorlton
On Thu, Nov 17, 2016 at 10:01:15AM -0500, Boris Ostrovsky wrote: > On 11/16/2016 05:08 AM, Jan Beulich wrote: > On 15.11.16 at 21:51, wrote: > >> On 11/15/2016 03:44 PM, Andrew Cooper wrote: > >>> On 15/11/2016 20:39, Boris Ostrovsky wrote: > On 11/15/2016 02:45 PM, Andrew Cooper wrote:

Re: [Xen-devel] [RFC PATCH 5/9] x86/HVM/SVM: Add AVIC initialization code

2016-11-17 Thread Suravee Suthikulpanit
Konrad, Thanks for the review comments. Got one quick question below. On 10/12/16 15:02, Konrad Rzeszutek Wilk wrote: +int svm_avic_init_vmcb(struct vcpu *v) > +{ > +paddr_t ma; > +u32 apic_id_reg; > +struct arch_svm_struct *s = &v->arch.hvm_svm; > +struct vmcb_struct *vmcb = s-

Re: [Xen-devel] [PATCH v2] xen/gntdev: Use mempolicy instead of VM_IO flag to avoid NUMA balancing

2016-11-17 Thread Boris Ostrovsky
On 11/17/2016 11:01 AM, Olaf Hering wrote: > On Thu, Nov 17, Boris Ostrovsky wrote: > >> On 11/17/2016 06:28 AM, Olaf Hering wrote: >>> ERROR: "__mpol_dup" [drivers/xen/xen-gntdev.ko] undefined! >>> ERROR: "get_task_policy" [drivers/xen/xen-gntdev.ko] undefined! >> I just built 4.4.11 with this pat

Re: [Xen-devel] [PATCH 01/35] libxl: add LIBXL_LOGD_* and LOG*D function families.

2016-11-17 Thread Wei Liu
On Thu, Nov 17, 2016 at 05:01:08PM +0100, Cedric Bosdonnat wrote: > On Thu, 2016-11-17 at 14:41 +, Wei Liu wrote: > > On Tue, Nov 15, 2016 at 11:18:39AM +0100, Cédric Bosdonnat wrote: > > > From: Cédric Bosdonnat > > > > > > These functions should be used to log messages when the domain > > >

Re: [Xen-devel] [PATCH 04/35] libxl.c: switch to LOG*D use

2016-11-17 Thread Wei Liu
On Thu, Nov 17, 2016 at 05:03:03PM +0100, Cedric Bosdonnat wrote: > On Thu, 2016-11-17 at 14:50 +, Wei Liu wrote: > > On Tue, Nov 15, 2016 at 11:18:42AM +0100, Cédric Bosdonnat wrote: > > > Use LOG*D functions to output the domain ID in logs as much as > > > possible. This will help consumer co

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

2016-11-17 Thread Andrew Cooper
On 17/11/16 15:40, Ross Lagerwall wrote: > +typedef struct { > +union { > +void *p; > +uint64_t __attribute__((aligned(8))) q; > +}; > +} guest_handle_64; > + > +#define XEN_SYSCTL_INTERFACE_VERSION 0x000E /sigh This is going to require some rethinking. We cannot have

Re: [Xen-devel] [PATCH 01/35] libxl: add LIBXL_LOGD_* and LOG*D function families.

2016-11-17 Thread Ian Jackson
Cedric Bosdonnat writes ("Re: [PATCH 01/35] libxl: add LIBXL_LOGD_* and LOG*D function families."): > On Thu, 2016-11-17 at 14:41 +, Wei Liu wrote: > > You should be able to use ao->domid here, right? > > Oh indeed. I discovered this one after writing this patch and forgot > about it here. Co

Re: [Xen-devel] [PATCH 04/35] libxl.c: switch to LOG*D use

2016-11-17 Thread Ian Jackson
Cedric Bosdonnat writes ("Re: [PATCH 04/35] libxl.c: switch to LOG*D use"): > On Thu, 2016-11-17 at 14:50 +, Wei Liu wrote: > > The only thing I don't understand is why you had patch 2-4 for libxl.c. > > These three patches can probably be merged into one patch. > > That was to ease the review

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

2016-11-17 Thread Anthony PERARD
Hi, I would like a new repo on xenbits to hold the configuration of our OpenStack CI loop. Its name could be: git://xenbits.xen.org/openstack-ci-loop-config.git Right now, the repo is at https://github.com/citrix-openstack/os-ext-testing The repo contain everything needed if someone wanted to red

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

2016-11-17 Thread Ian Jackson
Anthony PERARD writes ("Request for a repo on xenbits for the XenProject Openstack CI Loop"): > I would like a new repo on xenbits to hold the configuration of our > OpenStack CI loop. Its name could be: > git://xenbits.xen.org/openstack-ci-loop-config.git I am happy with this. But there may be

Re: [Xen-devel] [PATCH 01/35] libxl: add LIBXL_LOGD_* and LOG*D function families.

2016-11-17 Thread Wei Liu
On Thu, Nov 17, 2016 at 04:29:35PM +, Ian Jackson wrote: > Cedric Bosdonnat writes ("Re: [PATCH 01/35] libxl: add LIBXL_LOGD_* and LOG*D > function families."): > > On Thu, 2016-11-17 at 14:41 +, Wei Liu wrote: > > > You should be able to use ao->domid here, right? > > > > Oh indeed. I di

Re: [Xen-devel] [PATCH 01/35] libxl: add LIBXL_LOGD_* and LOG*D function families.

2016-11-17 Thread Ian Jackson
Wei Liu writes ("Re: [PATCH 01/35] libxl: add LIBXL_LOGD_* and LOG*D function families."): > Oh, yes. I misunderstood. In that case libxl_is_stubdom could be handy. How about this: check whether the ao is a nested ao, and if so, fish the domid out of its parent ? Ian. __

Re: [Xen-devel] [PATCH 01/35] libxl: add LIBXL_LOGD_* and LOG*D function families.

2016-11-17 Thread Wei Liu
On Thu, Nov 17, 2016 at 04:36:54PM +, Ian Jackson wrote: > Wei Liu writes ("Re: [PATCH 01/35] libxl: add LIBXL_LOGD_* and LOG*D function > families."): > > Oh, yes. I misunderstood. In that case libxl_is_stubdom could be handy. > > How about this: check whether the ao is a nested ao, and if s

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

2016-11-17 Thread Anthony PERARD
On Thu, Nov 17, 2016 at 04:34:16PM +, Ian Jackson wrote: > Anthony PERARD writes ("Request for a repo on xenbits for the XenProject > Openstack CI Loop"): > > I would like a new repo on xenbits to hold the configuration of our > > OpenStack CI loop. Its name could be: > > git://xenbits.xen.org

Re: [Xen-devel] [RFC PATCH 5/9] x86/HVM/SVM: Add AVIC initialization code

2016-11-17 Thread Suravee Suthikulpanit
Konrad, On 10/12/16 15:02, Konrad Rzeszutek Wilk wrote: + > +/* NOTE: Current max index allowed for physical APIC ID table is 255 */ > +#define AVIC_PHY_APIC_ID_MAX0xFF > + > +#define AVIC_DOORBELL 0xc001011b > +#define AVIC_HPA_MASK ~((0xFFFULL << 52) || 0xFFF) > +#defin

[Xen-devel] [xen-unstable test] 102338: tolerable FAIL - PUSHED

2016-11-17 Thread osstest service owner
flight 102338 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/102338/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-armhf-armhf-libvirt-xsm 6 xen-boot fail in 102318 pass in 102338 test-armhf-armhf-xl-cubietruck 1

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

2016-11-17 Thread osstest service owner
flight 102355 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/102355/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 2048ab4b3ec966183eb87d93d9cdab05fe9cc840 baseline version: ovmf e242cdfb307a6dfe2c0f7

Re: [Xen-devel] [RFC PATCH 5/9] x86/HVM/SVM: Add AVIC initialization code

2016-11-17 Thread Konrad Rzeszutek Wilk
On Thu, Nov 17, 2016 at 10:05:58AM -0600, Suravee Suthikulpanit wrote: > Konrad, > > Thanks for the review comments. Got one quick question below. > > On 10/12/16 15:02, Konrad Rzeszutek Wilk wrote: > > > +int svm_avic_init_vmcb(struct vcpu *v) > > > > +{ > > > > +paddr_t ma; > > > > +u32

Re: [Xen-devel] [RFC PATCH 5/9] x86/HVM/SVM: Add AVIC initialization code

2016-11-17 Thread Konrad Rzeszutek Wilk
On Thu, Nov 17, 2016 at 10:55:52AM -0600, Suravee Suthikulpanit wrote: > Konrad, > > On 10/12/16 15:02, Konrad Rzeszutek Wilk wrote: > > > + > > > > +/* NOTE: Current max index allowed for physical APIC ID table is 255 */ > > > > +#define AVIC_PHY_APIC_ID_MAX0xFF > > > > + > > > > +#define AVI

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

2016-11-17 Thread Stefano Stabellini
On Mon, 14 Nov 2016, Julien Grall wrote: > Hi Stefano, > > On 11/11/2016 13:55, Stefano Stabellini wrote: > > On Fri, 11 Nov 2016, Julien Grall wrote: > > > Hi Stefano, > > > > > > On 11/11/2016 02:24, Stefano Stabellini wrote: > > > > On Thu, 10 Nov 2016, Julien Grall wrote: > > > > > (CC Stefan

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

2016-11-17 Thread Stefano Stabellini
On Wed, 16 Nov 2016, Andrii Anisov wrote: > > For example, take a look at PVCalls which is entirely based on data > > copies: > > > > http://marc.info/?l=xen-devel&m=147639616310487 > > > > > > I have already shown that it performs better than netfront/netback on > > x86 in this blog post: > > > >

[Xen-devel] [PATCH v2 01/35] libxl: add LIBXL_LOGD_* and LOG*D function families.

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat These functions should be used to log messages when the domain id is known. libxl__log will now prepend the log message by "Domain %PRIu32:" if the domain id is a valid one. This aims at helping consumers filter logs on domain IDs. Signed-off-by: Cédric Bosdonnat --- v

[Xen-devel] [PATCH v2 02/35] libxl.c: switch to LOG*D use

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D functions to output the domain ID in logs as much as possible. This will help consumer code sorting the logs by domain. libxl.c changes have been split into 3 commits to help review them and isolate more instances that could be problematic. This commit, only cha

[Xen-devel] [PATCH v2 10/35] libxl/libxl_colo_qdisk.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_colo_qdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_colo_qdisk.c b/tools/libxl/libxl_colo_qdisk.c ind

[Xen-devel] [PATCH v2 07/35] libxl/libxl_colo.h: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_colo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_colo.h b/tools/libxl/libxl_colo.h index f0e438e..682275

[Xen-devel] [PATCH v2 20/35] libxl/libxl_linux.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_linux.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/tools/libxl/libxl_linux.c b/tools/libxl/libxl_l

[Xen-devel] [PATCH v2 14/35] libxl/libxl_device.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_device.c | 70 -- 1 file changed, 37 insertions(+), 33 deletions(-) diff --git a/tools/libxl/libxl_devi

[Xen-devel] [PATCH v2 05/35] libxl/libxl_bootloader.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D functions to output the domain ID in logs as much as possible. This will help consumer code sorting the logs by domain. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_bootloader.c | 84 -- 1 file changed, 49 insert

[Xen-devel] [PATCH v2 24/35] libxl/libxl_no_colo.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_no_colo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/libxl/libxl_no_colo.c b/tools/libxl/libxl_no_colo.c index 15

[Xen-devel] [PATCH v2 23/35] libxl/libxl_nic.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_nic.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/libxl/libxl_nic.c b/tools/libxl/libxl_nic.c index 220a028..

[Xen-devel] [PATCH v2 22/35] libxl/libxl_netbuffer.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_netbuffer.c | 43 --- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/tools/libxl/libxl_netb

[Xen-devel] [PATCH v2 21/35] libxl/libxl_netbsd.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_netbsd.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/libxl/libxl_netbsd.c b/tools/libxl/libxl_netbsd.c index

[Xen-devel] [PATCH v2 08/35] libxl/libxl_colo_nic.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_colo_nic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_colo_nic.c b/tools/libxl/libxl_colo_nic.c index 5e0

[Xen-devel] [PATCH v2 18/35] libxl/libxl_freebsd.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_freebsd.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/libxl/libxl_freebsd.c b/tools/libxl/libxl_freebsd.c inde

[Xen-devel] [PATCH v2 13/35] libxl/libxl_create.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_create.c | 119 +++-- 1 file changed, 60 insertions(+), 59 deletions(-) diff --git a/tools/libxl/libxl_crea

[Xen-devel] [PATCH v2 03/35] libxl.c: switch to LOG*D use (refactored messages)

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D functions to output the domain ID in logs as much as possible. This will help consumer code sorting the logs by domain. This commit, only changes LOG*() into LOG*D() and adds a domid parameter. The message of these LOG* calls has been altered to remove the domain

[Xen-devel] [PATCH v2 09/35] libxl/libxl_colo_proxy.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_colo_proxy.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tools/libxl/libxl_colo_proxy.c b/tools/l

[Xen-devel] [PATCH v2 30/35] libxl/libxl_save_callout.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_save_callout.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/libxl/libxl_save_callout.c b/tools/libxl/libxl_save

[Xen-devel] [PATCH v2 11/35] libxl/libxl_colo_restore.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_colo_restore.c | 57 1 file changed, 28 insertions(+), 29 deletions(-) diff --git a/tools/libxl/libxl_colo

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

2016-11-17 Thread Cédric Bosdonnat
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. Cedric Bosdonnat (35): libxl: add LIBXL_LOGD_* and LOG*D function families.

[Xen-devel] [PATCH v2 17/35] libxl/libxl_dom_suspend.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_dom_suspend.c | 45 - 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/tools/libxl/libxl_dom_

[Xen-devel] [PATCH v2 12/35] libxl/libxl_colo_save.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_colo_save.c | 49 ++- 1 file changed, 25 insertions(+), 24 deletions(-) diff --git a/tools/libxl/libxl_colo

[Xen-devel] [PATCH v2 26/35] libxl/libxl_psr.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_psr.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/libxl/libxl_psr.c b/tools/libxl/libxl_psr.c index 78618

[Xen-devel] [PATCH v2 19/35] libxl/libxl_internal.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_internal.c | 29 ++--- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/tools/libxl/libxl_internal.c b/tools/

[Xen-devel] [PATCH v2 06/35] libxl/libxl_checkpoint_device.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_checkpoint_device.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/libxl/libxl_checkpoint_device.c b/tool

[Xen-devel] [PATCH v2 04/35] libxl.c: switch to LOG*D use

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D functions to output the domain ID in logs as much as possible. This will help consumer code sorting the logs by domain. This commit includes all LOG* to LOG*D changes where the domain ID is not just a domid variable. We want the domain ID provided to the LOG*D f

[Xen-devel] [PATCH v2 15/35] libxl/libxl_dm.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_dm.c | 111 ++--- 1 file changed, 59 insertions(+), 52 deletions(-) diff --git a/tools/libxl/libxl_dm.c

[Xen-devel] [PATCH v2 28/35] libxl/libxl_qmp.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_qmp.c | 56 - 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/tools/libxl/libxl_qmp.

[Xen-devel] [PATCH v2 27/35] libxl/libxl_pvusb.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_usb.c | 57 ++--- 1 file changed, 30 insertions(+), 27 deletions(-) diff --git a/tools/libxl/libxl_usb.

[Xen-devel] [PATCH v2 34/35] libxl/libxl_x86.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_x86.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/libxl/libxl_x86.c b/tools/libxl/libxl_x86.c index e1844c8..5da

[Xen-devel] [PATCH v2 33/35] libxl/libxl_vtpm.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_vtpm.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/libxl/libxl_vtpm.c b/tools/libxl/libxl_vtpm.c index 8588569

[Xen-devel] [PATCH v2 31/35] libxl/libxl_stream_write.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_stream_write.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/libxl/libxl_stream_write.c b/tools/libxl/libxl_s

[Xen-devel] [PATCH v2 32/35] libxl/libxl_vnuma.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_vnuma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_vnuma.c b/tools/libxl/libxl_vnuma.c index db22799..8ec

[Xen-devel] [PATCH v2 16/35] libxl/libxl_dom_save.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_dom_save.c | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/tools/libxl/libxl_dom_save.c b/tools/

[Xen-devel] [PATCH v2 35/35] libxl/libxl_xshelp.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_xshelp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/libxl/libxl_xshelp.c b/tools/libxl/libxl_xshelp.c index b3bac

[Xen-devel] [PATCH v2 25/35] libxl/libxl_pci.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_pci.c | 153 +--- 1 file changed, 79 insertions(+), 74 deletions(-) diff --git a/tools/libxl/libxl_pci.

[Xen-devel] [PATCH v2 29/35] libxl/libxl_remus.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_remus.c | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/tools/libxl/libxl_remus.c b/tools/libxl/li

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

2016-11-17 Thread Julien Grall
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 Stabellini wrote: On Thu, 10 Nov 2016, Julien Grall wrote: (CC Stefano and

Re: [Xen-devel] [RFC PATCH 5/9] x86/HVM/SVM: Add AVIC initialization code

2016-11-17 Thread Suravee Suthikulpanit
On 11/17/16 11:18, Konrad Rzeszutek Wilk wrote: On Thu, Nov 17, 2016 at 10:05:58AM -0600, Suravee Suthikulpanit wrote: Konrad, Thanks for the review comments. Got one quick question below. On 10/12/16 15:02, Konrad Rzeszutek Wilk wrote: +int svm_avic_init_vmcb(struct vcpu *v) +{ +paddr

  1   2   >