[Xen-devel] [ovmf test] 36087: tolerable FAIL - PUSHED

2015-03-11 Thread xen . org
flight 36087 ovmf real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/36087/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-amd64-xl-win7-amd64 7 windows-install fail pass in 35971 test-amd64-i386-libvirt 3

Re: [Xen-devel] [PATCH v3 4/4] libxl: add support for vscsi

2015-03-11 Thread Ian Campbell
On Fri, 2015-03-06 at 10:45 +0100, Olaf Hering wrote: diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h index 6bbc52d..1ad52e3 100644 --- a/tools/libxl/libxl.h +++ b/tools/libxl/libxl.h Needs a LIBXL_HAVE define too. @@ -1224,6 +1224,35 @@ int libxl_device_channel_getinfo(libxl_ctx

Re: [Xen-devel] [PATCH V13 2/7] xen/arm: Implement domain_get_maximum_gpfn

2015-03-11 Thread Stefano Stabellini
On Fri, 6 Mar 2015, Tamas K Lengyel wrote: From: Julien Grall julien.gr...@linaro.org The function domain_get_maximum_gpfn is returning the maximum gpfn ever mapped in the guest. We can use d-arch.p2m.max_mapped_gfn for this purpose. We use this in xenaccess as to avoid the user attempting

Re: [Xen-devel] [PATCH 8/9] xl: make error reporting of cpupool subcommands consistent

2015-03-11 Thread Dario Faggioli
On Wed, 2015-03-11 at 15:23 +, Wei Liu wrote: On Wed, Mar 11, 2015 at 03:13:33PM +, Dario Faggioli wrote: On Wed, 2015-03-11 at 15:04 +, Wei Liu wrote: Since we haven't explicitly defined any return value in xl manpage, I think we should use EXIT_SUCCESS and EXIT_FAILURE per

Re: [Xen-devel] [PATCH 2/2] CA-162192: Fix rebooting on some EFI-booted systems

2015-03-11 Thread Jan Beulich
On 11.03.15 at 15:36, konrad.w...@oracle.com wrote: @@ -504,10 +511,9 @@ void machine_restart(unsigned int delay_millisecs) tboot_shutdown(TB_SHUTDOWN_REBOOT); } -efi_reset_system(reboot_mode != 0); - /* Rebooting needs to touch the page at absolute address 0. */

Re: [Xen-devel] [PATCH] xen: postpone updating domains' node affinity when removing a CPU from a cpupool

2015-03-11 Thread Dario Faggioli
On Wed, 2015-03-11 at 15:01 +, George Dunlap wrote: On 03/09/2015 04:49 PM, Dario Faggioli wrote: 93be8285 (update domU's node-affinity on the cpupool_unassign_cpu() path) does the right thing, but does it too early. In fact, it is necessary to call domain_update_node_affinity() when a

Re: [Xen-devel] [PATCH V13 1/7] xen/arm: p2m changes for mem_access support

2015-03-11 Thread Stefano Stabellini
On Fri, 6 Mar 2015, Tamas K Lengyel wrote: Add necessary changes for page table construction routines to pass the default access information. We store the p2m_access_t info in a Radix tree as the PTE lacks enough software programmable bits. Signed-off-by: Tamas K Lengyel

Re: [Xen-devel] [PATCH 8/9] xl: make error reporting of cpupool subcommands consistent

2015-03-11 Thread Wei Liu
On Wed, Mar 11, 2015 at 04:22:00PM +, Dario Faggioli wrote: On Wed, 2015-03-11 at 15:23 +, Wei Liu wrote: On Wed, Mar 11, 2015 at 03:13:33PM +, Dario Faggioli wrote: On Wed, 2015-03-11 at 15:04 +, Wei Liu wrote: Since we haven't explicitly defined any return value in xl

Re: [Xen-devel] [PATCH OSSTEST 12/12] make-flight, mfi-common: create live migration test for libvirt

2015-03-11 Thread Ian Campbell
On Mon, 2015-02-09 at 11:10 +, Wei Liu wrote: Signed-off-by: Wei Liu wei.l...@citrix.com Cc: Ian Campbell ian.campb...@citrix.com Cc: Ian Jackson ian.jack...@eu.citrix.com --- make-flight | 13 +++-- mfi-common | 6 +- 2 files changed, 16 insertions(+), 3 deletions(-)

Re: [Xen-devel] [PATCH 5/9] libxl: introduce libxl_cpupool_cpu{add, remove}_cpumap()

2015-03-11 Thread Dario Faggioli
On Wed, 2015-03-11 at 16:42 +, Ian Campbell wrote: On Mon, 2015-03-09 at 10:39 +, Wei Liu wrote: rc = xc_cpupool_addcpu(ctx-xch, poolid, cpu); if (rc) { -LIBXL__LOG_ERRNOVAL(ctx, LIBXL__LOG_ERROR, rc, -Error moving cpu to cpupool); +

Re: [Xen-devel] [PATCH V6 00/13] xen: Clean-up of mem_event subsystem

2015-03-11 Thread Ian Campbell
On Wed, 2015-02-18 at 01:11 +0100, Tamas K Lengyel wrote: I think the tools aspects here are now all Acked-by Wei and/or myself. Do lets us know if we've missed anything. (and perhaps prod us if v7 gains anything new which need our attention since we might have stopped paying attention). Ian.

Re: [Xen-devel] [PATCHv1 net] xen-netback: notify immediately after pushing Tx response.

2015-03-11 Thread Zoltan Kiss
On 11/03/15 15:27, David Vrabel wrote: This fixes a performance regression introduced by 7fbb9d8415d4a51cf542e87cf3a717a9f7e6aedc (xen-netback: release pending index before pushing Tx responses) Moving the notify outside of the spin locks means it can be delayed a long time (if the dealloc

[Xen-devel] [PATCHv1 net] xen-netback: notify immediately after pushing Tx response.

2015-03-11 Thread David Vrabel
This fixes a performance regression introduced by 7fbb9d8415d4a51cf542e87cf3a717a9f7e6aedc (xen-netback: release pending index before pushing Tx responses) Moving the notify outside of the spin locks means it can be delayed a long time (if the dealloc thread is descheduled or there is an

Re: [Xen-devel] [PATCH 8/9] xl: make error reporting of cpupool subcommands consistent

2015-03-11 Thread Dario Faggioli
On Wed, 2015-03-11 at 16:24 +, Wei Liu wrote: On Wed, Mar 11, 2015 at 04:22:00PM +, Dario Faggioli wrote: On Wed, 2015-03-11 at 15:23 +, Wei Liu wrote: I think b) is good. Right. It was the only comment you made on this patch... does that means I can stick your

Re: [Xen-devel] [PATCH V6 01/13] xen/mem_event: Cleanup of mem_event structures

2015-03-11 Thread Ian Campbell
On Wed, 2015-02-18 at 01:11 +0100, Tamas K Lengyel wrote: tools/tests/xen-access/xen-access.c | 43 + tools/xenpaging/xenpaging.c | 49 ++- These bits: Acked-by: Ian Campbell ian.campb...@citrix.com (I only glanced at them, I assume they are mechanical in nature)

Re: [Xen-devel] [PATCH V13 1/7] xen/arm: p2m changes for mem_access support

2015-03-11 Thread Tamas K Lengyel
On Wed, Mar 11, 2015 at 5:07 PM, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: On Fri, 6 Mar 2015, Tamas K Lengyel wrote: Add necessary changes for page table construction routines to pass the default access information. We store the p2m_access_t info in a Radix tree as the PTE

Re: [Xen-devel] [PATCH 0/9] Some (not only) cpupool related fixes and improvements

2015-03-11 Thread Ian Campbell
On Fri, 2015-03-06 at 18:20 +0100, Dario Faggioli wrote: Hi everyone, The main goal of this series is making it possible to specify ranges of pCPUs when manipulating (creating, adding/removing pCPUs) cpupools. Something like this: xl cpupool-cpu-remove Pool-node0 6-10 while, right

Re: [Xen-devel] [PATCH 0/9] Some (not only) cpupool related fixes and improvements

2015-03-11 Thread Dario Faggioli
On Wed, 2015-03-11 at 14:56 +, Ian Campbell wrote: On Fri, 2015-03-06 at 18:20 +0100, Dario Faggioli wrote: --- Dario Faggioli (9): 1/9 docs: RTDS is a valid alternative as a scheduler for a cpupool 2/9 docs: fix `xl list' manpage entry Acked + applied these two. Thanks.

Re: [Xen-devel] PML (Page Modification Logging) design for Xen

2015-03-11 Thread George Dunlap
On Wed, Mar 11, 2015 at 11:11 AM, Andrew Cooper andrew.coop...@citrix.com wrote: On 11/03/15 10:59, George Dunlap wrote: On Tue, Feb 17, 2015 at 10:19 AM, Jan Beulich jbeul...@suse.com wrote: On 12.02.15 at 03:39, kai.hu...@linux.intel.com wrote: On 02/11/2015 07:52 PM, Andrew Cooper wrote:

Re: [Xen-devel] [PATCH OSSTEST 07/12] ts-xen-build-prep: install ebtables

2015-03-11 Thread Ian Campbell
On Mon, 2015-02-09 at 11:10 +, Wei Liu wrote: Libvirt's test suite needs it. Signed-off-by: Wei Liu wei.l...@citrix.com Acked-by: Ian Campbell ian.campb...@citrix.com But I think it will also want it at runtime, no? The libvirt logs whinge about such things (it was suggested this meant

Re: [Xen-devel] [PATCH OSSTEST 02/12] Introduce ts-saverestore-support-check

2015-03-11 Thread Ian Campbell
On Mon, 2015-02-09 at 11:09 +, Wei Liu wrote: Signed-off-by: Wei Liu wei.l...@citrix.com Acked-by: Ian Campbell ian.campb...@citrix.com ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v7 18/21] libxlu: record location when parsing values

2015-03-11 Thread Ian Campbell
On Mon, 2015-03-09 at 12:51 +, Wei Liu wrote: Originally only setting has line number recorded. Since we're moving to more sophisticated API, record the location for individual value. It is useful for error reporting. Signed-off-by: Wei Liu wei.l...@citrix.com Cc: Ian Campbell

Re: [Xen-devel] [PATCH v3 4/4] libxl: add support for vscsi

2015-03-11 Thread Ian Campbell
On Wed, 2015-03-11 at 17:02 +0100, Olaf Hering wrote: On Wed, Mar 11, Ian Campbell wrote: On Fri, 2015-03-06 at 10:45 +0100, Olaf Hering wrote: +void libxl_device_vscsi_append_dev(libxl_ctx *ctx, libxl_device_vscsi *hst, + libxl_vscsi_dev *dev);

Re: [Xen-devel] [PATCH OSSTEST 05/12] sg-run-job: remove save/restore dependency on local migration support

2015-03-11 Thread Ian Campbell
On Mon, 2015-02-09 at 11:09 +, Wei Liu wrote: Since we've introduced different checks for save / restore and local migration, it's possible to run save / restore tests without running local migration tests. I don't know if it matters or if it was deliberate, but we used to alternate

Re: [Xen-devel] [PATCH OSSTEST 11/12] make-flight, mfi-common: rename onetoolstack to pairtoolstack

2015-03-11 Thread Ian Campbell
On Mon, 2015-02-09 at 11:10 +, Wei Liu wrote: The name onetoolstack in confusing. Currently it's in fact referring to the toolstack used to test pair migration, so rename it to pairtoolstack. No functional changes introduced. Signed-off-by: Wei Liu wei.l...@citrix.com Acked-by: Ian

Re: [Xen-devel] [PATCH OSSTEST 06/12] toolstack/libvirt: guest migrate, save and restore support

2015-03-11 Thread Ian Campbell
On Mon, 2015-02-09 at 11:10 +, Wei Liu wrote: Signed-off-by: Wei Liu wei.l...@citrix.com Acked-by: Ian Campbell ian.campb...@citrix.com ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v7 18/21] libxlu: record location when parsing values

2015-03-11 Thread Wei Liu
On Wed, Mar 11, 2015 at 03:12:49PM +, Ian Campbell wrote: On Mon, 2015-03-09 at 12:51 +, Wei Liu wrote: Originally only setting has line number recorded. Since we're moving to more sophisticated API, record the location for individual value. It is useful for error reporting.

Re: [Xen-devel] [PATCH OSSTEST 03/12] osstest migrate support check catch - variables

2015-03-11 Thread Ian Campbell
On Mon, 2015-02-09 at 11:09 +, Wei Liu wrote: From: Ian Jackson ian.jack...@eu.citrix.com I remember the f2f discussion around this, but I cannot remember what this is actually supposed to do. Can you? If so could you write it down please ;-) Signed-off-by: Ian Jackson

Re: [Xen-devel] [PATCH OSSTEST 09/12] ts-debian-hvm-install: stub out libvirt + ovmf / rombios

2015-03-11 Thread Ian Campbell
On Mon, 2015-02-09 at 11:10 +, Wei Liu wrote: Libvirt's configuration converter doesn't know how to deal with BIOS selection. The end result is it always use the default one (seabios). Stub out ovmf and rombios to avoid false positive results. This restriction will be removed once

Re: [Xen-devel] [PATCH 1/2] tools: OVMF parallel build

2015-03-11 Thread Ian Campbell
On Mon, 2015-03-02 at 14:18 +, Ian Campbell wrote: On Mon, 2015-03-02 at 10:52 +, Wei Liu wrote: Though it doesn't work with make's -j option, the build system of OVMF has an option to specify parallel threads used to run the build. Using 4 threads to build OVMF looks like a

[Xen-devel] [PATCH] tools/firmware: fix OVMF clean and distclean

2015-03-11 Thread Wei Liu
They should have used -ovmf-dir suffix instead of -ovmf, as the directory in question is ovmf-dir. Signed-off-by: Wei Liu wei.l...@citrix.com Cc: Anthony Perard anthony.per...@citrix.com Cc: Ian Campbell ian.campb...@citrix.com Cc: Ian Jackson ian.jack...@eu.citrix.com ---

Re: [Xen-devel] [PATCH 1/2] tools: OVMF parallel build

2015-03-11 Thread Wei Liu
On Wed, Mar 11, 2015 at 04:41:32PM +, Ian Campbell wrote: On Mon, 2015-03-02 at 14:18 +, Ian Campbell wrote: On Mon, 2015-03-02 at 10:52 +, Wei Liu wrote: Though it doesn't work with make's -j option, the build system of OVMF has an option to specify parallel threads used to

[Xen-devel] Using kexec-crashdump with recent Xen and Linux HVM

2015-03-11 Thread Stefan Bader
After being asked about this I started to play around with Xen-4.4.1/4.5 together with HVM Linux guest running 3.13/3.16/3.19. With mixed success. Usually rather failing. From a bit of research most activity to enable things were back in 2011. There was a bit of a throwback around Linux 3.2[1]

Re: [Xen-devel] [PATCH 2/2] xen: arm: more flexible scheme for specifying early printk device

2015-03-11 Thread Ian Campbell
On Wed, 2015-03-11 at 14:47 +, Julien Grall wrote: Hi Ian, On 11/03/2015 14:11, Ian Campbell wrote: This allows for early-printk to be specified (for existing UARTS at least) without the need to edit Rules.mk. The existing shortcuts are retained, but in a much more compact

Re: [Xen-devel] [PATCH 8/9] xl: make error reporting of cpupool subcommands consistent

2015-03-11 Thread Dario Faggioli
On Wed, 2015-03-11 at 15:04 +, Wei Liu wrote: On Wed, Mar 11, 2015 at 02:52:31PM +, Ian Campbell wrote: I think having more consistent exist codes from xl would be nice, but I don't think the libxl error codes are the ones to use, since they don't really map semantically onto what

Re: [Xen-devel] [OSSTest PATCH v2 1/2] ts-cpupools: new test script

2015-03-11 Thread Ian Campbell
On Wed, 2015-02-04 at 15:27 +, Dario Faggioli wrote: + my $xlinfo= target_cmd_output_root($ho, xl info); + $xlinfo =~ /nr_cpus\s*:\s([0-9]*)/; I thought Perl needed a modifier to work in multiline mode? + $nr_cpus= $1; + logm(Found $nr_cpus pCPUs); + die Too few pCPUs to test

Re: [Xen-devel] [PATCH OSSTEST 04/12] toolstack: distinguish local and remote migration support

2015-03-11 Thread Ian Campbell
On Mon, 2015-02-09 at 11:09 +, Wei Liu wrote: Libvirt supports migrating a guest to remote host but not local host. Jim, is that right? (Or alternatively, Wei: Do you have a reference for that?) diff --git a/Osstest/Toolstack/libvirt.pm b/Osstest/Toolstack/libvirt.pm index

[Xen-devel] osstest going offline for a bit due to database server move

2015-03-11 Thread Ian Jackson
The db server for the production osstest instance needs to be physically moved. This is planned to take place on Friday. I have dropped a `stop' file in which will stop osstest taking on new work. The db server will be moved on Friday morning (and anything still running then will be killed).

Re: [Xen-devel] [PATCH 5/9] libxl: introduce libxl_cpupool_cpu{add, remove}_cpumap()

2015-03-11 Thread Ian Campbell
On Mon, 2015-03-09 at 10:39 +, Wei Liu wrote: rc = xc_cpupool_addcpu(ctx-xch, poolid, cpu); if (rc) { -LIBXL__LOG_ERRNOVAL(ctx, LIBXL__LOG_ERROR, rc, -Error moving cpu to cpupool); +LOGE(ERROR, Error moving cpu %d to cpupool, cpu); +

Re: [Xen-devel] [PATCH 5/9] libxl: introduce libxl_cpupool_cpu{add, remove}_cpumap()

2015-03-11 Thread Ian Campbell
On Wed, 2015-03-11 at 16:50 +, Dario Faggioli wrote: On Wed, 2015-03-11 at 16:42 +, Ian Campbell wrote: On Mon, 2015-03-09 at 10:39 +, Wei Liu wrote: rc = xc_cpupool_addcpu(ctx-xch, poolid, cpu); if (rc) { -LIBXL__LOG_ERRNOVAL(ctx, LIBXL__LOG_ERROR, rc,

[Xen-devel] [PATCH] flask/policy: fix static device labeling examples

2015-03-11 Thread Daniel De Graaf
The definitions of static device labels must be placed at the end of the policy.conf before passing it to checkpolicy; the existing examples (which are commented out) are in the wrong location. Create a new file for device contexts which will place them in the proper location. This also removes

Re: [Xen-devel] [PATCH] xen: postpone updating domains' node affinity when removing a CPU from a cpupool

2015-03-11 Thread George Dunlap
On 03/09/2015 04:49 PM, Dario Faggioli wrote: 93be8285 (update domU's node-affinity on the cpupool_unassign_cpu() path) does the right thing, but does it too early. In fact, it is necessary to call domain_update_node_affinity() when a pCPU is removed from a cpupool, but that must happen after

Re: [Xen-devel] [PATCH 8/9] xl: make error reporting of cpupool subcommands consistent

2015-03-11 Thread Wei Liu
On Wed, Mar 11, 2015 at 03:13:33PM +, Dario Faggioli wrote: On Wed, 2015-03-11 at 15:04 +, Wei Liu wrote: On Wed, Mar 11, 2015 at 02:52:31PM +, Ian Campbell wrote: I think having more consistent exist codes from xl would be nice, but I don't think the libxl error codes are

Re: [Xen-devel] [PATCH v3 3/4] docs: add pvscsi.txt

2015-03-11 Thread Ian Campbell
On Fri, 2015-03-06 at 16:11 +0100, Olaf Hering wrote: On Fri, Mar 06, Wei Liu wrote: On Fri, Mar 06, 2015 at 10:45:55AM +0100, Olaf Hering wrote: +== TODO === + +How to do live migration? + - pdev will likely be evaluated again on the target host if it came from + domU.cfg.

Re: [Xen-devel] [PATCHv1] xen/balloon: disable memory hotplug in PV guests

2015-03-11 Thread Boris Ostrovsky
On 03/11/2015 10:42 AM, David Vrabel wrote: On 10/03/15 13:35, Boris Ostrovsky wrote: On 03/10/2015 07:40 AM, David Vrabel wrote: On 09/03/15 14:10, David Vrabel wrote: Memory hotplug doesn't work with PV guests because: a) The p2m cannot be expanded to cover the new sections. Broken by

Re: [Xen-devel] [OSSTest PATCH v2 2/2] Testing cpupools: recipe for it and job definition

2015-03-11 Thread Ian Campbell
On Wed, 2015-02-04 at 15:28 +, Dario Faggioli wrote: Signed-off-by: Dario Faggioli dario.faggi...@citrix.com Acked-by: Ian Campbell ian.campb...@citrix.com ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH] flask/policy: fix static device labeling examples

2015-03-11 Thread Julien Grall
Hi Daniel, On 11/03/2015 14:59, Daniel De Graaf wrote: The definitions of static device labels must be placed at the end of the policy.conf before passing it to checkpolicy; the existing examples (which are commented out) are in the wrong location. Create a new file for device contexts which

Re: [Xen-devel] [PATCH OSSTEST 08/12] ts-libvirt-build: run libvirt test suite

2015-03-11 Thread Ian Campbell
On Mon, 2015-02-09 at 11:10 +, Wei Liu wrote: We're interested in xlconfigtest. Since we're running test anyway run the whole suite. This is run at build time? I take it doesn't (and will never) require an active system? @@ -69,7 +61,10 @@ END sub build() { target_cmd_build($ho,

Re: [Xen-devel] [PATCH] tools/firmware: fix OVMF clean and distclean

2015-03-11 Thread Ian Campbell
On Wed, 2015-03-11 at 16:48 +, Wei Liu wrote: They should have used -ovmf-dir suffix instead of -ovmf, as the directory in question is ovmf-dir. Signed-off-by: Wei Liu wei.l...@citrix.com Cc: Anthony Perard anthony.per...@citrix.com Cc: Ian Campbell ian.campb...@citrix.com Cc: Ian

Re: [Xen-devel] [PATCH V6 00/13] xen: Clean-up of mem_event subsystem

2015-03-11 Thread Tamas K Lengyel
On Wed, Mar 11, 2015 at 5:49 PM, Ian Campbell ian.campb...@citrix.com wrote: On Wed, 2015-02-18 at 01:11 +0100, Tamas K Lengyel wrote: I think the tools aspects here are now all Acked-by Wei and/or myself. Do lets us know if we've missed anything. (and perhaps prod us if v7 gains anything new

Re: [Xen-devel] [PATCH 9/9] xl: use libxl_cpupoolinfo_list_free() in main_cpupoolnumasplit

2015-03-11 Thread Ian Campbell
On Fri, 2015-03-06 at 18:22 +0100, Dario Faggioli wrote: instead manually free the elements of the list, which is ^of freeing exactly the purpose of the said function. Trade also a couple of 'return'-s with 'goto out'-s, which is more in line with libxl usage paradigm.

Re: [Xen-devel] [PATCH v7 21/21] xl: vNUMA support

2015-03-11 Thread Wei Liu
On Wed, Mar 11, 2015 at 03:12:06PM +, Ian Campbell wrote: On Mon, 2015-03-09 at 12:51 +, Wei Liu wrote: +Each BVNODE_CONFIG_OPTION is a quoted key=value pair. Supported +BVNODE_CONFIG_OPTIONs are: Which of these are optional and which are mandatory? All mandatory? Yes, all

Re: [Xen-devel] Using kexec-crashdump with recent Xen and Linux HVM

2015-03-11 Thread Vitaly Kuznetsov
Stefan Bader stefan.ba...@canonical.com writes: After being asked about this I started to play around with Xen-4.4.1/4.5 together with HVM Linux guest running 3.13/3.16/3.19. With mixed success. Usually rather failing. From a bit of research most activity to enable things were back in 2011.

Re: [Xen-devel] [PATCHv1 net] xen-netback: notify immediately after pushing Tx response.

2015-03-11 Thread Wei Liu
On Wed, Mar 11, 2015 at 03:27:59PM +, David Vrabel wrote: This fixes a performance regression introduced by 7fbb9d8415d4a51cf542e87cf3a717a9f7e6aedc (xen-netback: release pending index before pushing Tx responses) Moving the notify outside of the spin locks means it can be delayed a

[Xen-devel] [PATCH v2] xentop: add support for qdisks

2015-03-11 Thread Charles Arnold
Now that Xen uses qdisks by default and qemu does not write out statistics to sysfs this patch queries the QMP for disk statistics. This patch depends on libyajl for parsing statistics returned from QMP. The runtime requires libyajl 2.0.3 or newer for required bug fixes in yajl_tree_parse(). No

Re: [Xen-devel] [PATCH v4 1/5] Qemu-Xen-vTPM: Support for Xen stubdom vTPM command line options

2015-03-11 Thread Eric Blake
On 03/10/2015 06:14 AM, Quan Xu wrote: --Changes in v4: -qapi schema enhancement. -remove no need code. Patch history belongs... Signed-off-by: Quan Xu quan...@intel.com --- ...here. It is useful to reviewers to know what changed since your last submission, but not useful for the

Re: [Xen-devel] [Patch 2/2]xen/sched_credit2.c : Runqueue per core

2015-03-11 Thread Uma Sharma
Hi, I have been working on the patches and made them. But when I am trying to install xen again to test them changes are not getting included. What should I do ? I was on the working branch then did make debball and installed using dpkg. I even wrote printk statements to check but not getting

Re: [Xen-devel] RFC: [PATCH 1/3] Enhance platform support for PCI

2015-03-11 Thread Stefano Stabellini
On Mon, 23 Feb 2015, Jan Beulich wrote: On 20.02.15 at 18:33, ian.campb...@citrix.com wrote: On Fri, 2015-02-20 at 15:15 +, Jan Beulich wrote: That's the issue we are trying to resolve, with device tree there is no explicit segment ID, so we have an essentially unindexed set of PCI

Re: [Xen-devel] [PATCH 2/2] CA-162192: Fix rebooting on some EFI-booted systems

2015-03-11 Thread Konrad Rzeszutek Wilk
On Wed, Mar 11, 2015 at 03:19:28PM +, Jan Beulich wrote: On 11.03.15 at 15:36, konrad.w...@oracle.com wrote: @@ -504,10 +511,9 @@ void machine_restart(unsigned int delay_millisecs) tboot_shutdown(TB_SHUTDOWN_REBOOT); } -efi_reset_system(reboot_mode != 0); -

Re: [Xen-devel] Failed to launch xen on J6 evm

2015-03-11 Thread M A Young
On Wed, 11 Mar 2015, Korupol, Naveen (EXT) wrote: Hi Ian/Team It finally looks like xen and dom0 are stable, but the cli seems tricky. I can switch between xen/dom0 but cannot execute xm cmds... xm was dropped in xen 4.5. Use xl instead. Michael Young

Re: [Xen-devel] [PATCH] SeaBios/vTPM: Enable Xen stubdom vTPM for HVM virtual machine

2015-03-11 Thread Kevin O'Connor
On Tue, Mar 10, 2015 at 08:16:03AM -0400, Quan Xu wrote: This patch series are only the SeaBios part to enable stubdom vTPM for HVM virtual machine. It will work with Qemu patch series and Xen patch series. *INTRODUCTION* The goal of

[Xen-devel] [linux-next test] 36117: regressions - trouble: blocked/broken/fail/pass

2015-03-11 Thread xen . org
flight 36117 linux-next real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/36117/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl 9 guest-start fail REGR. vs. 35942

Re: [Xen-devel] [PATCHv5 12/14] xen-blkback: safely unmap grants in case they are still in use

2015-03-11 Thread Bob Liu
On 03/09/2015 07:02 PM, David Vrabel wrote: On 09/03/15 10:51, Bob Liu wrote: On 03/09/2015 05:30 PM, David Vrabel wrote: On 09/03/15 09:09, Bob Liu wrote: Hi David, Recently I met an issue which is likely related with this patch. It happened when running block benchmark on domU, the

[Xen-devel] [qemu-mainline test] 36080: trouble: blocked/broken/fail/pass

2015-03-11 Thread xen . org
flight 36080 qemu-mainline real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/36080/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-pvops 3 host-install(3) broken REGR. vs.

Re: [Xen-devel] [PATCH 2/4] libxl: vcpuset: Check max_vcpus argument against the maximum number of vCPUs the guest has set.

2015-03-11 Thread Ian Campbell
On Tue, 2015-02-03 at 10:45 -0500, Konrad Rzeszutek Wilk wrote: On Tue, Feb 03, 2015 at 03:11:11PM +, Ian Jackson wrote: Konrad Rzeszutek Wilk writes ([PATCH 2/4] libxl: vcpuset: Check max_vcpus argument against the maximum number of vCPUs the guest has set.): The maximum number of

Re: [Xen-devel] VM Migration on ARM

2015-03-11 Thread Julien Grall
Hi, On 11/03/2015 10:51, Andrew Cooper wrote: On 11/03/15 05:32, Vijay Kilari wrote: Hi Andrew, From Ian Stefano, I came to know that you have introduced Migration framework v2 under below patch series http://marc.info/?l=xen-develm=141036915311145 I have few queries: 1) Is there any

Re: [Xen-devel] [PATCH v4 9/9] libxl: Add interface for querying hypervisor about PCI topology

2015-03-11 Thread Ian Campbell
On Tue, 2015-03-10 at 13:51 +, Dario Faggioli wrote: On Mon, 2015-03-09 at 22:27 -0400, Boris Ostrovsky wrote: .. and use this new interface to display it along with CPU topology and NUMA information when 'xl info -n' command is issued The output will look like ... cpu_topology

Re: [Xen-devel] PML (Page Modification Logging) design for Xen

2015-03-11 Thread Andrew Cooper
On 11/03/15 10:59, George Dunlap wrote: On Tue, Feb 17, 2015 at 10:19 AM, Jan Beulich jbeul...@suse.com wrote: On 12.02.15 at 03:39, kai.hu...@linux.intel.com wrote: On 02/11/2015 07:52 PM, Andrew Cooper wrote: On 11/02/15 08:28, Kai Huang wrote: Design == - PML feature is used

Re: [Xen-devel] [PATCH v3 0/2] Add support for Xilinx ZynqMP SoC

2015-03-11 Thread Edgar E. Iglesias
Sorry for top post. That makes sense, thanks! Cheers, Edgar --- Sent from my phone On 11/03/2015 7:46 pm, Ian Campbell ian.campb...@citrix.com wrote: On Wed, 2015-03-11 at 09:59 +1000, Edgar E. Iglesias wrote: On Tue, Mar 10, 2015 at 11:30:10AM +, Julien Grall wrote: Hello Edgar,

Re: [Xen-devel] VM Migration on ARM

2015-03-11 Thread Andrew Cooper
On 11/03/15 05:32, Vijay Kilari wrote: Hi Andrew, From Ian Stefano, I came to know that you have introduced Migration framework v2 under below patch series http://marc.info/?l=xen-develm=141036915311145 I have few queries: 1) Is there any plans/timeline to support for ARM32/ARM64?.

Re: [Xen-devel] [PATCH v2] xen/iommu: fix usage of shared EPT/IOMMU page tables on PVH guests

2015-03-11 Thread Julien Grall
Hi Jan, On 10/03/2015 13:35, Jan Beulich wrote: Ah, right, I mixed this up with iommu_hap_pt_share. Roger - looks like this could indeed be replaced by if ( iommu_enabled iommu_use_hap_pt(d) ) ops-share_p2m(d); and the corresponding check in VT-d and AMD Vi code could then

Re: [Xen-devel] stubdom vtpm build failure in staging

2015-03-11 Thread Ian Campbell
On Fri, 2015-02-27 at 15:07 +, Xu, Quan wrote: -Original Message- From: Ian Campbell [mailto:ian.campb...@citrix.com] Sent: Wednesday, February 25, 2015 9:54 PM To: Xu, Quan Cc: Andrew Cooper; Olaf Hering; Daniel De Graaf; xen-devel@lists.xen.org Subject: Re: [Xen-devel]

Re: [Xen-devel] [Xen-users] Grant reference batch transmission

2015-03-11 Thread Ian Campbell
On Wed, 2015-03-11 at 10:40 +, Gareth Stockwell wrote: On Wed, Mar 11, 2015 at 10:24:48, Ian Campbell wrote: I think this gives us two options for grant reference batch transmission: 1. Send the grant references via the ring buffer. This doesn't require any additional allocations,

Re: [Xen-devel] PML (Page Modification Logging) design for Xen

2015-03-11 Thread George Dunlap
On Tue, Feb 17, 2015 at 10:19 AM, Jan Beulich jbeul...@suse.com wrote: On 12.02.15 at 03:39, kai.hu...@linux.intel.com wrote: On 02/11/2015 07:52 PM, Andrew Cooper wrote: On 11/02/15 08:28, Kai Huang wrote: Design == - PML feature is used globally A new Xen boot parameter, say

Re: [Xen-devel] [PATCH v4 8/9] libxl/libxc: Move libxl_get_numainfo()'s hypercall buffer management to libxc

2015-03-11 Thread Ian Campbell
On Tue, 2015-03-10 at 13:44 +, Dario Faggioli wrote: On Mon, 2015-03-09 at 22:27 -0400, Boris Ostrovsky wrote: xc_numainfo() is not expected to be used on a hot path and therefore hypercall buffer management can be pushed into libxc. This will simplify life for callers. Also update

[Xen-devel] [PATCH] xen/passthrough: share_p2m: fix build failure on ARM

2015-03-11 Thread Julien Grall
The commit 7978429 iommu: fix usage of shared EPT/IOMMU page tables on PVH guests breaks the hypervisor compilation on ARM. This is because the macro hap_enabled is not defined on ARM. On x86, the P2M can only be shared when hap is enabled and the user didn't deny it (via the command line).

Re: [Xen-devel] [PATCH 2/2] libxl: introduce gfx_passthru_kind

2015-03-11 Thread Ian Campbell
On Mon, 2015-03-09 at 14:45 +0800, Chen, Tiejun wrote: On 2015/3/6 20:55, Wei Liu wrote: On Fri, Mar 06, 2015 at 05:08:23PM +0800, Tiejun Chen wrote: Although we already have 'gfx_passthru' in b_info, this doesn' suffice ^t

Re: [Xen-devel] [v2][PATCH 2/2] libxl: introduce gfx_passthru_kind

2015-03-11 Thread Ian Campbell
On Tue, 2015-03-10 at 17:42 +0800, Tiejun Chen wrote: Although we already have 'gfx_passthru' in b_info, this doesn' suffice after we want to handle IGD specifically. Now we define a new field of type, gfx_passthru_kind, to indicate we're trying to pass IGD. Actually this means we can benefit

Re: [Xen-devel] [Xen-users] Grant reference batch transmission

2015-03-11 Thread Gareth Stockwell
On Wed, Mar 11, 2015 at 10:24:48, Ian Campbell wrote: I think this gives us two options for grant reference batch transmission: 1. Send the grant references via the ring buffer. This doesn't require any additional allocations, but means that if the number of grant references in the batch

Re: [Xen-devel] [Xen-users] Grant reference batch transmission

2015-03-11 Thread Wei Liu
On Wed, Mar 11, 2015 at 10:24:48AM +, Ian Campbell wrote: On Wed, 2015-03-11 at 10:12 +, Gareth Stockwell wrote: Hi Ian, Thanks for your reply. On Tue, Mar 10, 2015 at 16:22:40, Ian Campbell wrote: What is the recommended way for the donor to transmit a batch of

Re: [Xen-devel] [PATCH v4 1/3] xen/arm: Add Xilinx ZynqMP platform support

2015-03-11 Thread Julien Grall
Hi Edgar, On 11/03/2015 01:19, Edgar E. Iglesias wrote: diff --git a/xen/arch/arm/platforms/Makefile b/xen/arch/arm/platforms/Makefile index d9f98f9..315f3e8 100644 --- a/xen/arch/arm/platforms/Makefile +++ b/xen/arch/arm/platforms/Makefile @@ -8,3 +8,4 @@ obj-$(CONFIG_ARM_32) += rcar2.o

Re: [Xen-devel] [PATCH v4 4/9] sysctl: Make XEN_SYSCTL_numainfo a little more efficient

2015-03-11 Thread Ian Campbell
On Mon, 2015-03-09 at 22:27 -0400, Boris Ostrovsky wrote: Make sysctl NUMA topology query use fewer copies by combining some fields into a single structure and copying distances for each node in a single copy. Instead of using max_node_index for passing number of nodes keep this value in

Re: [Xen-devel] [PATCH v4 7/9] libxl/libxc: Move libxl_get_cpu_topology()'s hypercall buffer management to libxc

2015-03-11 Thread Ian Campbell
On Tue, 2015-03-10 at 13:40 +, Dario Faggioli wrote: On Mon, 2015-03-09 at 22:27 -0400, Boris Ostrovsky wrote: xc_cputopoinfo() is not expected to be used on a hot path and therefore hypercall buffer management can be pushed into libxc. This will simplify life for callers. Also

Re: [Xen-devel] [v2][PATCH 1/2] libxl: introduce libxl__is_igd_vga_passthru

2015-03-11 Thread Ian Campbell
On Tue, 2015-03-10 at 17:42 +0800, Tiejun Chen wrote: While working with qemu, IGD is a specific device in the case of pass through so we need to identify that to handle more later. Here we define a table to record all IGD types currently we can support. Also we need to introduce two helper

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

2015-03-11 Thread Ian Campbell
On Tue, 2015-03-10 at 17:59 +, xen.org wrote: flight 36071 libvirt real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/36071/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-libvirt 10 migrate-support-checkfail

Re: [Xen-devel] Failed to launch xen on J6 evm

2015-03-11 Thread Ian Campbell
On Tue, 2015-03-10 at 20:52 +, Korupol, Naveen (EXT) wrote: (XEN) (XEN) Panic on CPU 0: (XEN) GICv2: Cannot find the maintenance IRQ This suggests that your DTB does not describe the maintenance interrupt on the interrupt controller node. Ian.

Re: [Xen-devel] [PATCH 1/2] iommu VT-d: separate rmrr addition function

2015-03-11 Thread Jan Beulich
On 09.03.15 at 15:42, elena.ufimts...@oracle.com wrote: --- a/xen/drivers/passthrough/vtd/dmar.c +++ b/xen/drivers/passthrough/vtd/dmar.c @@ -567,6 +567,66 @@ out: return ret; } +int register_one_rmrr(struct acpi_rmrr_unit *rmrru) static - I don't see why the command line

Re: [Xen-devel] [PATCH v3 20/24] xen/passthrough: Extend XEN_DOMCTL_assign_device to support DT device

2015-03-11 Thread Jan Beulich
On 10.03.15 at 23:45, dgde...@tycho.nsa.gov wrote: In order to do static labeling for device passthrough, the nodes in a device tree need a 32-bit numeric identifier. IO memory uses the MFN, PCI devices use SBDF, and IRQs and x86 legacy IOs just use the number. A 32-bit number can't uniquely

Re: [Xen-devel] [PATCH v3 0/2] Add support for Xilinx ZynqMP SoC

2015-03-11 Thread Ian Campbell
On Wed, 2015-03-11 at 09:59 +1000, Edgar E. Iglesias wrote: On Tue, Mar 10, 2015 at 11:30:10AM +, Julien Grall wrote: Hello Edgar, Thank you for adding support of the ZynqMP. On 10/03/15 02:49, Edgar E. Iglesias wrote: From: Edgar E. Iglesias edgar.igles...@xilinx.com

Re: [Xen-devel] [xen-unstable test] 36062: trouble: broken/fail/pass

2015-03-11 Thread Ian Campbell
On Tue, 2015-03-10 at 19:54 +, xen.org wrote: flight 36062 xen-unstable real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/36062/ Failures and problems with tests :-( Seems there are two main classes of failure here. Tests which did not succeed and are blocking, including

[Xen-devel] [PATCH OSSTEST] start/stop the guest 10 times in the standard test jobs

2015-03-11 Thread Ian Campbell
The recent libvirt failures seemed to happen after a couple of stop/start pairs, so arrange to start/stop each guest 10 times. By cribbing from the existing use of repeat-ts I hope I've arranged for a new test with testid ts-guest-start/debian.repeat. We already arrange by more adhoc means to

Re: [Xen-devel] [Xen-users] Grant reference batch transmission

2015-03-11 Thread Ian Campbell
On Wed, 2015-03-11 at 10:12 +, Gareth Stockwell wrote: Hi Ian, Thanks for your reply. On Tue, Mar 10, 2015 at 16:22:40, Ian Campbell wrote: What is the recommended way for the donor to transmit a batch of grant references? I assume that this requires the donor to pack

Re: [Xen-devel] [PATCH] xen: postpone updating domains' node affinity when removing a CPU from a cpupool

2015-03-11 Thread Dario Faggioli
On Mon, 2015-03-09 at 17:49 +0100, Dario Faggioli wrote: 93be8285 (update domU's node-affinity on the cpupool_unassign_cpu() path) does the right thing, but does it too early. In fact, it is necessary to call domain_update_node_affinity() when a pCPU is removed from a cpupool, but that must

Re: [Xen-devel] [PATCH 1/4] x86/MSI-X: be more careful during teardown

2015-03-11 Thread Jan Beulich
On 10.03.15 at 22:05, andrew.coop...@citrix.com wrote: On 10/03/15 16:27, Jan Beulich wrote: When a device gets detached from a guest, pciback will clear its command register, thus disabling both memory and I/O decoding. The disabled memory decoding, however, has an effect on the MSI-X table

[Xen-devel] [PATCH] x86/domctl: Improve XEN_DOMCTL_hypercall_init error handling

2015-03-11 Thread Andrew Cooper
EACCES cannot be distinguished against an incorrect DOMCTL_INTERFACE_VERSION, and will cause an incorrect need to rebuild the user-space tool set? message from libxc. EINVAL is a perfectly reasonable alternative. On the libxc side, put the useful piece of information in the error message, rathe

Re: [Xen-devel] [PATCH v4 0/3] Add support for Xilinx ZynqMP SoC

2015-03-11 Thread Ian Campbell
On Wed, 2015-03-11 at 11:19 +1000, Edgar E. Iglesias wrote: From: Edgar E. Iglesias edgar.igles...@xilinx.com All applied, thanks. ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v1 1/1] xen/arm: Remove warning for platforms without platform specific code

2015-03-11 Thread Ian Campbell
On Mon, 2015-03-09 at 12:34 +0200, Julien Grall wrote: Hi Edgar, On 09/03/2015 07:23, Edgar E. Iglesias wrote: From: Edgar E. Iglesias edgar.igles...@xilinx.com Replace the warning with an info message stating that the platform is generic. Suggested-by: Ian Campbell

Re: [Xen-devel] [PATCH] tools: xl: handle unspecified extra= when dealing with root=

2015-03-11 Thread Ian Campbell
On Mon, 2015-03-09 at 13:00 +, Wei Liu wrote: On Mon, Mar 09, 2015 at 12:48:56PM +, Ian Campbell wrote: If the cfg file includes root= but not extra= (nor cmdline=, which supercedes both) then the command line will end up with an extra (null) on it (at least with glibc's

Re: [Xen-devel] [Xen-users] Grant reference batch transmission

2015-03-11 Thread Gareth Stockwell
On Wed, Mar 11, 2015 at 10:54:25, Ian Campbell wrote: What sorts of batch sizes are you expecting to see in your use case? We need to share hundreds of MB, so (assuming a 4kB guest page size) the batch size can be thousands of grant references. FWIW, the granularity of a gref is 4kB

Re: [Xen-devel] [PATCH v4 1/3] xen/arm: Add Xilinx ZynqMP platform support

2015-03-11 Thread Julien Grall
On 11/03/2015 12:00, Ian Campbell wrote: On Wed, 2015-03-11 at 10:49 +, Julien Grall wrote: Hi Edgar, On 11/03/2015 01:19, Edgar E. Iglesias wrote: diff --git a/xen/arch/arm/platforms/Makefile b/xen/arch/arm/platforms/Makefile index d9f98f9..315f3e8 100644 ---

  1   2   >