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

2015-05-06 Thread osstest service user
flight 53022 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/53022/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-win7-amd64 9 windows-install fail REGR. vs. 50405 build-armhf-pvops

[Xen-devel] [PATCH Remus v1 8/8] tools/libxc: X86_PV_INFO can be sent multiple times under Remus

2015-05-06 Thread Yang Hongyang
X86_PV_INFO can be sent multiple times under Remus Signed-off-by: Yang Hongyang --- tools/libxc/xc_sr_restore_x86_pv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxc/xc_sr_restore_x86_pv.c b/tools/libxc/xc_sr_restore_x86_pv.c index ef26c64..652b400 100644 --- a/

[Xen-devel] [PATCH Remus v1 2/8] tools/libxc: reuse send_some_pages() in send_all_pages()

2015-05-06 Thread Yang Hongyang
introduce bitmap_set() to set the entire bitmap. in send_all_pages(), set the entire bitmap and call send_some_pages(). Signed-off-by: Yang Hongyang --- tools/libxc/xc_bitops.h | 5 + tools/libxc/xc_sr_save.c | 41 +++-- 2 files changed, 16 insertions(+)

[Xen-devel] [PATCH Remus v1 6/8] tools/libxc: implement Remus checkpointed save

2015-05-06 Thread Yang Hongyang
With Remus, the save flow should be: live migration->{ periodically save(checkpointed save) } Signed-off-by: Yang Hongyang --- tools/libxc/include/xenguest.h | 1 + tools/libxc/xc_sr_common.h | 6 tools/libxc/xc_sr_save.c | 74 +- tools/li

[Xen-devel] [PATCH Remus v1 4/8] tools/libxc: split read/handle qemu info

2015-05-06 Thread Yang Hongyang
Split read/handle qemu info. The receiving of qemu info should be done while we receive the migration stream, handle_qemu will be called when the stream complete. Otherwise, it will break Remus because read_record() won't read qemu info and stream_complete will be called at failover. Signed-off-by

[Xen-devel] [PATCH Remus v1 0/8] Remus support for Migration-v2

2015-05-06 Thread Yang Hongyang
This patchset implement the Remus support for Migration v2 but without memory compressing. PATCH 1-5: Some refactor and prepare work. PATCH 6-7: The main Remus loop implement. PATCH 8: Fix for Remus. Yang Hongyang (8): tools/libxc: adjust the memory allocation for migration tools/libxc: reuse

[Xen-devel] [PATCH Remus v1 7/8] tools/libxc: implement Remus checkpointed restore

2015-05-06 Thread Yang Hongyang
With Remus, the restore flow should be: the first full migration stream -> { periodically restore stream } on failover: stream_complete() Signed-off-by: Yang Hongyang --- tools/libxc/xc_sr_common.h | 3 ++ tools/libxc/xc_sr_restore.c | 108 +--- 2 fil

[Xen-devel] [PATCH Remus v1 5/8] tools/libxc: defer the setting of HVM_PARAM_IDENT_PT

2015-05-06 Thread Yang Hongyang
Set the hvm param HVM_PARAM_IDENT_PT second time will fail. So defer the setting of HVM_PARAM_IDENT_PT. Signed-off-by: Yang Hongyang --- tools/libxc/xc_sr_common.h | 3 +++ tools/libxc/xc_sr_restore_x86_hvm.c | 16 2 files changed, 19 insertions(+) diff --git a/tools/

[Xen-devel] [PATCH Remus v1 1/8] tools/libxc: adjust the memory allocation for migration

2015-05-06 Thread Yang Hongyang
Move the memory allocation before the concrete live/nolive save in order to avoid the free/alloc memory loop when using Remus. Signed-off-by: Yang Hongyang --- tools/libxc/xc_sr_save.c | 53 +++- 1 file changed, 21 insertions(+), 32 deletions(-) diff

[Xen-devel] [PATCH Remus v1 3/8] tools/libxc: introduce process_record()

2015-05-06 Thread Yang Hongyang
Move record handle codes into a function process_record(). It will be used multiple times by Remus. No functional change. Signed-off-by: Yang Hongyang --- tools/libxc/xc_sr_restore.c | 77 + 1 file changed, 43 insertions(+), 34 deletions(-) diff --git

Re: [Xen-devel] FreeBSD Dom0 IOMMU issues

2015-05-06 Thread Jan Beulich
>>> Michael Dexter 05/06/15 6:29 PM >>> >I have been working with Roger Pau Monné to bring FreeBSD Dom0 support >to a production-ready state but we appear to have hit an IOMMU issue. > >Hardware: Lenovo ThinkPad T420 i7-2640M CPU @ 2.80GHz with 16GB RAM. > >I am attaching my console logs which fi

[Xen-devel] 答复: about xenalyze

2015-05-06 Thread 蒋雄伟(蒋冲)
Hi, George I deploy a Discuz application in a VM and use jmeter to stress the application. Meanwhile I use xentrace to trace. #xentrace -D -e 0x0008f000 -T 30 trace_file_discuz.bin Then I use xenalyze to analyze #xenalyze --summary trace_file_discuz.bin It tells me as follows: --- Log volume

Re: [Xen-devel] [RFC][PATCH 04/13] tools/libxl: detect and avoid conflicts with RDM

2015-05-06 Thread Jan Beulich
>>> "Chen, Tiejun" 05/07/15 4:22 AM >>> >On 2015/5/6 23:34, Jan Beulich wrote: > On 06.05.15 at 17:00, wrote: >>> On 2015/4/20 19:13, Jan Beulich wrote: >>> On 10.04.15 at 11:21, wrote: > +PERROR("Could not allocate memory."); Now that's exactly the kind of

[Xen-devel] Windows 8 64bit Guest BSOD when using OVMF to boot and *install* from CDROM(when configured with more than 4G memory)

2015-05-06 Thread lidonglin
Dear all: New issue: Guest BSOD and restart when using OVMF to boot and install windows8 64bit OS(which owns more than 4G memmory)。 My environment as below: xen 4.5.0 qemu 2.2.1 I just git clone xen from git://xenbits.xen.org/xen.git. configure it and parameters as below: ./confi

Re: [Xen-devel] [PATCH v4 2/2] iommu: add rmrr Xen command line option for misc rmrrs

2015-05-06 Thread Jan Beulich
>>> Elena Ufimtseva 05/06/15 6:50 PM >>> >On Tue, May 05, 2015 at 11:14:30AM +0100, Jan Beulich wrote: >> >>> On 28.04.15 at 01:50, wrote: >> > +if ( mfn_valid(rmrru->base_address << PAGE_SHIFT) || >> > + mfn_valid(rmrru->end_address << PAGE_SHIFT) ) >> >> Please use PFN_UP()

Re: [Xen-devel] [PATCH 2/3] xen: cpupool: assigning a CPU to a pool can fail

2015-05-06 Thread Juergen Gross
On 05/06/2015 05:10 PM, Dario Faggioli wrote: which means such an event must be handled at the call sites of cpupool_assign_cpu_locked(), and the error, if occurring, properly propagated. Signed-off-by: Dario Faggioli Cc: Juergen Gross Cc: George Dunlap Cc: Jan Beulich Cc: Andrew Cooper Cc:

Re: [Xen-devel] FreeBSD Dom0 IOMMU issues (resent)

2015-05-06 Thread Chen, Tiejun
On 2015/5/7 0:46, Michael Dexter wrote: Hello all, (Resend: I cropped out too much and have added 'pciconf -lv' output) I have been working with Roger Pau Monne to bring FreeBSD Dom0 support to a production-ready state but we appear to have hit an IOMMU issue. Hardware: Lenovo ThinkPad T420 i

Re: [Xen-devel] [RFC][PATCH 04/13] tools/libxl: detect and avoid conflicts with RDM

2015-05-06 Thread Chen, Tiejun
On 2015/5/6 23:34, Jan Beulich wrote: On 06.05.15 at 17:00, wrote: On 2015/4/20 19:13, Jan Beulich wrote: On 10.04.15 at 11:21, wrote: --- a/tools/libxc/xc_domain.c +++ b/tools/libxc/xc_domain.c @@ -1665,6 +1665,46 @@ int xc_assign_device( return do_domctl(xch, &domctl); } +struct

[Xen-devel] [xen-4.4-testing test] 53017: regressions - FAIL

2015-05-06 Thread osstest service user
flight 53017 xen-4.4-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/53017/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-win7-amd64 14 guest-localmigrate.2fail REGR. vs. 50429 build-armhf-libvi

[Xen-devel] [xen-4.5-testing test] 53019: tolerable FAIL - PUSHED

2015-05-06 Thread osstest service user
flight 53019 xen-4.5-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/53019/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-amd64-xl-credit2 16 guest-localmigrate.2 fail in 52649 pass in 53019 test-amd64-i386-qemut-rhel6hvm

Re: [Xen-devel] FreeBSD Dom0 IOMMU issues

2015-05-06 Thread Zhang, Yang Z
Michael Dexter wrote on 2015-05-07: > > Hello all, > > I have been working with Roger Pau Monné to bring FreeBSD Dom0 support > to a production-ready state but we appear to have hit an IOMMU issue. > > Hardware: Lenovo ThinkPad T420 i7-2640M CPU @ 2.80GHz with 16GB RAM. > > I am attaching my c

[Xen-devel] [xen-4.2-testing test] 53018: tolerable FAIL - PUSHED

2015-05-06 Thread osstest service user
flight 53018 xen-4.2-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/53018/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-amd64-pv 17 guest-localmigrate/x10 fail in 52651 pass in 53018 test-i386-i386-pv10

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

2015-05-06 Thread osstest service user
flight 53657 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/53657/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-libvirt 7 host-ping-check-xen fail REGR. vs. 53021 test-armhf-armhf-libvirt

[Xen-devel] [linux-linus test] 53016: regressions - FAIL

2015-05-06 Thread osstest service user
flight 53016 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/53016/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-multivcpu 13 guest-saverestorefail REGR. vs. 50329 test-amd64-amd64-xl-c

[Xen-devel] [OSSTEST PATCH 3/3] cs-bisection-step: Abandon repro attempts after a bit

2015-05-06 Thread Ian Jackson
If we have had a number of attempts at a repro, and none of them have produced a pass or fail, something is probably wrong and we should give up rather than carrying on. Handle this with the machinery we use for conflicting test results. Signed-off-by: Ian Jackson --- cs-bisection-step |4 +

[Xen-devel] [OSSTEST PATCH 0/3] Bisection fix

2015-05-06 Thread Ian Jackson
Thanks to Ian C for spotting that the bisector had gone rather awry. It's trying to reproduce on the new hardware passes (which were previously obtained on the old hardware) of tests that are affected by what seem to be hardware-specific bugs in the underlying software. These patches fix this. I'

[Xen-devel] [OSSTEST PATCH 1/3] cs-bisection-step: Break out report_conflict

2015-05-06 Thread Ian Jackson
We are going to want to reuse this. Also, explicitly return 0 (for false) from conflicted_warning when it doesn't apply. No resulting functional change. Signed-off-by: Ian Jackson --- cs-bisection-step | 31 +++ 1 file changed, 19 insertions(+), 12 deletions(-) d

[Xen-devel] [OSSTEST PATCH 2/3] cs-bisection-step: Report conflict if basis pass/fail are wrong

2015-05-06 Thread Ian Jackson
It can happen that the (for example) supposed basis pass (originally only tested on another host) failed (when reproduced, or for some other reason). When that happens do not attempt to get it to pass; instead, treat it the same way we would if we had actually got conflicting results at that revis

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

2015-05-06 Thread osstest service user
flight 53020 linux-3.4 real [real] http://logs.test-lab.xenproject.org/osstest/logs/53020/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl6 xen-boot fail REGR. vs. 32355-bisect test-amd64-i386-pair

[Xen-devel] [rumpuserxen test] 53466: regressions - FAIL

2015-05-06 Thread osstest service user
flight 53466 rumpuserxen real [real] http://logs.test-lab.xenproject.org/osstest/logs/53466/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-rumpuserxen 5 rumpuserxen-build fail REGR. vs. 33866 build-i386-rumpuserxe

Re: [Xen-devel] stable release cadence

2015-05-06 Thread Konrad Rzeszutek Wilk
On Tue, May 05, 2015 at 04:44:30PM +0100, Jan Beulich wrote: > All, > > on the hackathon we discussed this topic. With the rate of changes > going into the stable trees not being as high anymore as a few > years ago, we settled on trying to stick to a 4 month release > cycle going forward. Of cour

[Xen-devel] [PATCH] MAINTAINERS: Remove Frediano Ziglio from "HISILICON HIP04 Support"

2015-05-06 Thread Julien Grall
His email address is bouncing from more than a month. Signed-off-by: Julien Grall Cc: Ian Jackson Cc: Keir Fraser Cc: Jan Beulich Cc: Zoltan Kiss --- I've heard he left Huawei. --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index c714bc1..0402e

[Xen-devel] [PATCH] xen/arm: gic-hip04: Resync the driver with the GICv2

2015-05-06 Thread Julien Grall
The GIC hip04 driver was differring from GICv2. I suspect that some of the changes in the common GIC code make boot fail on hip04. Although, I don't have a platform to check so it has been only build tested. List of GICv2 commit ported to the HIP04: commit ce12e6dba4b2d120e35dffd95a745452224e7

[Xen-devel] [PATCH v8 0/5] Display IO topology when PXM data is available (plus some cleanup)

2015-05-06 Thread Boris Ostrovsky
Changes in v8: * Change sysctl's pcitopo interface such that if device is not found then XEN_INVALID_DEV is returned in nodes array. Changes to patches 1 and 5. * Get rid of first_dev and use num_devs in xen_sysctl_pcitopoinfo as an OUT argument that reports how many devices have been proces

[Xen-devel] [PATCH v8 4/5] libxc: Provide set_xen_guest_handle_offset macro

2015-05-06 Thread Boris Ostrovsky
Add set_xen_guest_handle_offset() macro that can be used for setting xen_guest_handle to an offset into hypercall buffer. Signed-off-by: Boris Ostrovsky --- tools/libxc/include/xenctrl.h | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/tools/libxc/include/xenctr

[Xen-devel] [PATCH v8 5/5] libxl: Add interface for querying hypervisor about PCI topology

2015-05-06 Thread Boris Ostrovsky
.. 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 : cpu:coresocket node 0: 000 ... device topology: device node

[Xen-devel] [PATCH v8 1/5] sysctl: Add sysctl interface for querying PCI topology

2015-05-06 Thread Boris Ostrovsky
Signed-off-by: Boris Ostrovsky Acked-by: Daniel De Graaf --- Changes in v8 * Report XEN_INVALID_DEV for unknown devices * Get rid of first_dev and use num_devs as an OUT argument that reports how many devices have been processed * Update comments in sysctl.h * Drop changes to xsm-flask.txt xe

[Xen-devel] [PATCH v8 3/5] libxl/libxc: Move libxl_get_numainfo()'s hypercall buffer management to libxc

2015-05-06 Thread Boris Ostrovsky
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 error logging macros. Signed-off-by: Boris Ostrovsky Acked-by: Ian Campbell --- Changes in v8: * Replace LOGEV with LOGE

[Xen-devel] [PATCH v8 2/5] libxl/libxc: Move libxl_get_cpu_topology()'s hypercall buffer management to libxc

2015-05-06 Thread Boris Ostrovsky
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 update error reporting macros. Signed-off-by: Boris Ostrovsky Acked-by: Ian Campbell --- Changes in v8: * Replace LOGEV with LO

Re: [Xen-devel] [PATCH] libxl: Disallow save or migrate when host devices are assigned to a guest.

2015-05-06 Thread Jim Fehlig
Dario Faggioli wrote: > On Fri, 2015-05-01 at 15:32 -0600, Jim Fehlig wrote: > >> Dario Faggioli wrote: >> > > >>> I mean what NUMA configuration are we talking about, and when and under >>> what circumstances would you consider it "migratable"? >>> >>> >> E.g. if a domain is c

Re: [Xen-devel] Mini-os mailing list

2015-05-06 Thread Thomas Leonard
On 01/29/2015 05:04 PM, George Dunlap wrote: > On Tue, Jan 27, 2015 at 6:49 AM, Ian Jackson > wrote: >> We are splitting minios out of xen.git (because we want to try to make >> it easier to un-fork it - there are about 3-4 forks that we are aware >> of). >> >> We think it should have its own mai

[Xen-devel] [PATCH] MAINTAINERS: Updated arinc653_sched maintainers

2015-05-06 Thread Robbie VanVossen
Removed Nathan Studer and added Josh Whitehead. Signed-off-by: Robert VanVossen --- MAINTAINERS |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index b744166..8799a66 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -118,7 +118,7 @@ S: Supported F:

Re: [Xen-devel] FreeBSD Dom0 IOMMU issues

2015-05-06 Thread Michael Dexter
On 5/6/15 9:50 AM, Andrew Cooper wrote: Are you using a full debug Xen? I have been working with binary packages and I will assume it has not been built with any debug options. Roger can elaborate on this. Michael ___ Xen-devel mailing list Xen-de

[Xen-devel] [PATCH 1/5] xen/vm_event: Added support for XSETBV events

2015-05-06 Thread Razvan Cojocaru
This patch adds XSETBV (XCR) vm_events. Signed-off-by: Razvan Cojocaru --- tools/libxc/include/xenctrl.h |2 ++ tools/libxc/xc_monitor.c| 15 +++ xen/arch/x86/hvm/event.c| 16 xen/arch/x86/hvm/hvm.c |2 ++ xen/arch/x86/monitor.c

[Xen-devel] [PATCH 4/5] xen/vm_event: Deny MSR writes if refused by vm_event reply

2015-05-06 Thread Razvan Cojocaru
Deny MSR writes if a vm_client subscribed to mov_to_msr events forbids them. Signed-off-by: Razvan Cojocaru --- xen/arch/x86/hvm/emulate.c|2 +- xen/arch/x86/hvm/hvm.c| 24 ++-- xen/arch/x86/hvm/svm/svm.c|2 +- xen/arch/x86/hvm/vmx/vmx.c

[Xen-devel] [PATCH 3/5] xen/vm_event: Support for guest-requested events

2015-05-06 Thread Razvan Cojocaru
Added support for a new class of vm_events: VM_EVENT_REASON_REQUEST, sent via HVMOP_request_vm_event. The guest can request that a generic vm_event (containing only the vm_event-filled guest registers as information) be sent to userspace by setting up the correct registers and doing a VMCALL. For e

[Xen-devel] [PATCH 5/5] xen: Write CR0, CR3 and CR4 in arch_set_info_guest()

2015-05-06 Thread Razvan Cojocaru
Arch_set_info_guest() doesn't set CR0, CR3 or CR4. Added code that does that. Signed-off-by: Razvan Cojocaru --- xen/arch/x86/domain.c |3 +++ xen/arch/x86/hvm/emulate.c|6 +++--- xen/arch/x86/hvm/hvm.c| 30 -- xen/arch/x86/hv

[Xen-devel] [PATCH 2/5] xen/vm_access: Support for memory-content hiding

2015-05-06 Thread Razvan Cojocaru
This patch adds support for memory-content hiding, by modifying the value returned by emulated instructions that read certain memory addresses that contain sensitive data. The patch only applies to cases where MEM_ACCESS_EMULATE or MEM_ACCESS_EMULATE_NOWRITE have been set to a vm_event response. S

[Xen-devel] [PATCH 0/5] Vm_event memory introspection helpers

2015-05-06 Thread Razvan Cojocaru
This series adds a number of useful tools for guest memory introspection: * XSETBV / XCR vm_events; * support for memory-content hiding (sending data back via the vm_event response, to be used as data read when emulating an instruction; * support for generic vm_events that the guest can reques

Re: [Xen-devel] FreeBSD Dom0 IOMMU issues

2015-05-06 Thread Andrew Cooper
On 06/05/15 17:29, Michael Dexter wrote: > > Hello all, > > I have been working with Roger Pau Monné to bring FreeBSD Dom0 support > to a production-ready state but we appear to have hit an IOMMU issue. > > Hardware: Lenovo ThinkPad T420 i7-2640M CPU @ 2.80GHz with 16GB RAM. > > I am attaching my c

Re: [Xen-devel] [PATCH v4 2/2] iommu: add rmrr Xen command line option for misc rmrrs

2015-05-06 Thread Elena Ufimtseva
On Tue, May 05, 2015 at 11:14:30AM +0100, Jan Beulich wrote: > >>> On 28.04.15 at 01:50, wrote: > > Format for rmrr Xen command line option: > > rmrr=start<-end>=[s1]bdf1[,[s1]bdf2[,...]];start<-end>=[s2]bdf1[,[s2]bdf2[,...]] > > If grub used and multiple ranges are specified, ';' should be > > q

Re: [Xen-devel] (release) versioning

2015-05-06 Thread Lars Kurth
On 06/05/2015 16:44, "Jan Beulich" wrote: On 06.05.15 at 17:01, wrote: >> Regarding 5.3.0.1 -- now once again you have a 4th digit where >> non-zero means "release"; and do we need RCs for this? Do we have >> 5.3.0.0.1-rc, and then 5,3,0.1 which is stable? > >No, in such cases I don't ex

Re: [Xen-devel] [PATCH] OSSTEST: introduce a raisin build test

2015-05-06 Thread Antti Kantee
On 06/05/15 11:03, Stefano Stabellini wrote: On Wed, 6 May 2015, Ian Jackson wrote: Stefano Stabellini writes ("Re: [PATCH] OSSTEST: introduce a raisin build test"): That's fine as there is no hidden git cloning with raisin. All the trees are specified explicitly in the config file. Is this

Re: [Xen-devel] [PATCH v2] OSSTEST: introduce a raisin build test

2015-05-06 Thread Stefano Stabellini
On Wed, 6 May 2015, Ian Campbell wrote: > On Wed, 2015-05-06 at 15:43 +0100, Stefano Stabellini wrote: > [...] > > +echo >>config ENABLED_COMPONENTS=\\"seabios ovmf xen qemu > > qemu_traditional libvirt\\" > [...] > > +echo >>config XEN_URL=\\"$r{tree_xen}\\" > > +echo >>config QEMU_UR

[Xen-devel] [PATCH v3 3/5] raisin: improve output

2015-05-06 Thread Stefano Stabellini
Introduce an error_echo function that prints to stderr. Call error_echo or verbose_echo, instead of echo, when possible and appropriate. Redirect build and tests output to /dev/null unless VERBOSE==1. Redirect apt-get and yum output to /dev/null. Fix echo arguments in check-package-deb. Signed-off

[Xen-devel] [PATCH v3 1/5] raisin: introduce tests

2015-05-06 Thread Stefano Stabellini
Introduce a new command to run functional tests and unit tests. Introduce a generic infrastrucutre to run tests on the local machine. Add a library of common functions that can be used by the test scripts to setup guest VMs. Add a simple test script that boots a single busybox based PV guest. Sig

[Xen-devel] [PATCH v3 4/5] raisin: small stlye improvement in for_each_component

2015-05-06 Thread Stefano Stabellini
Use the found variable as a boolean. Signed-off-by: Stefano Stabellini --- lib/common-functions.sh |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/common-functions.sh b/lib/common-functions.sh index f9febee..efde84c 100644 --- a/lib/common-functions.sh +++ b/lib/

[Xen-devel] [PATCH v3 5/5] raisin: introduce a local migration test

2015-05-06 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini --- tests/busybox-hvm-migrate | 33 + tests/series |1 + 2 files changed, 34 insertions(+) create mode 100755 tests/busybox-hvm-migrate diff --git a/tests/busybox-hvm-migrate b/tests/busybox-hvm-migrate new fil

[Xen-devel] [PATCH v3 2/5] raisin: add an hvm test

2015-05-06 Thread Stefano Stabellini
Add a few functions to create partitions, install and configure grub in the VM disk. Introduce a script to loopmount a partition within a VM disk. Add a new test that creates a local HVM guest, boots it and check the network. Signed-off-by: Stefano Stabellini --- Changes in v3: - expose a _te

[Xen-devel] [PATCH v3 0/5] raisin: introduce tests

2015-05-06 Thread Stefano Stabellini
Hi all, this patch series introduces a framework to execute simple unit and functional tests in raisin. It can be used by developers to validate their changes before submitting a patch series to xen-devel. It can also be used by OSSTest to test for regressions on one particular functionality. This

[Xen-devel] [CALL-FOR-AGENDA] Monthly Xen.org Technical Call (2015-05-13)

2015-05-06 Thread Ian Campbell
The next Xen technical call will be at: Wed 13 May 17:00:00 BST 2015 `date -d @1431532800` See http://lists.xen.org/archives/html/xen-devel/2015-01/msg00414.html for more information on the call. Please let me know (CC-ing the list) any topics which you would like to discuss. It might be

Re: [Xen-devel] [PATCH OSSTEST v2] grub: remove patch to disable submenu from 20_linux_xen overlay

2015-05-06 Thread Ian Campbell
On Wed, 2015-05-06 at 14:01 +0100, Wei Liu wrote: > On Wed, May 06, 2015 at 01:55:48PM +0100, Ian Campbell wrote: > > On Wed, 2015-05-06 at 13:52 +0100, Ian Campbell wrote: > > > > Can you please do that since you have the most up to date patch at hand. > > > > Thanks! > > > > > > Sure. > > > > A

Re: [Xen-devel] (release) versioning

2015-05-06 Thread Jan Beulich
>>> On 06.05.15 at 17:01, wrote: > Regarding 5.3.0.1 -- now once again you have a 4th digit where > non-zero means "release"; and do we need RCs for this? Do we have > 5.3.0.0.1-rc, and then 5,3,0.1 which is stable? No, in such cases I don't expect any RCs, just another release (just like was do

Re: [Xen-devel] [PATCH v3 2/3] xen/shadow: fix shadow_track_dirty_vram to work on hvm guests

2015-05-06 Thread Jan Beulich
>>> On 06.05.15 at 17:12, wrote: > El 14/04/15 a les 14.22, Jan Beulich ha escrit: > On 10.04.15 at 19:29, wrote: >>> Modify shadow_track_dirty_vram to use a local buffer and then flush to the >>> guest without the paging_lock held. This is modeled after >>> hap_track_dirty_vram. >> >> And h

Re: [Xen-devel] [PATCH v2 0/4] raisin: introduce tests

2015-05-06 Thread Ian Campbell
On Wed, 2015-05-06 at 16:11 +0100, George Dunlap wrote: > On 05/06/2015 03:46 PM, Ian Campbell wrote: > > On Wed, 2015-05-06 at 15:39 +0100, Stefano Stabellini wrote: > >> On Wed, 6 May 2015, George Dunlap wrote: > >>> On Tue, May 5, 2015 at 2:55 PM, Stefano Stabellini > >>> wrote: > On Tue,

Re: [Xen-devel] [PATCH v2] OSSTEST: introduce a raisin build test

2015-05-06 Thread Ian Campbell
On Wed, 2015-05-06 at 15:43 +0100, Stefano Stabellini wrote: [...] > +echo >>config ENABLED_COMPONENTS=\\"seabios ovmf xen qemu > qemu_traditional libvirt\\" [...] > +echo >>config XEN_URL=\\"$r{tree_xen}\\" > +echo >>config QEMU_URL=\\"$r{tree_qemuu}\\" > +echo >>config QEMU_TRADI

Re: [Xen-devel] [RFC][PATCH 04/13] tools/libxl: detect and avoid conflicts with RDM

2015-05-06 Thread Jan Beulich
>>> On 06.05.15 at 17:00, wrote: > On 2015/4/20 19:13, Jan Beulich wrote: > On 10.04.15 at 11:21, wrote: >>> --- a/tools/libxc/xc_domain.c >>> +++ b/tools/libxc/xc_domain.c >>> @@ -1665,6 +1665,46 @@ int xc_assign_device( >>> return do_domctl(xch, &domctl); >>> } >>> >>> +struct xen_r

Re: [Xen-devel] [PATCH v3 2/3] xen/shadow: fix shadow_track_dirty_vram to work on hvm guests

2015-05-06 Thread Roger Pau Monné
El 14/04/15 a les 14.22, Jan Beulich ha escrit: On 10.04.15 at 19:29, wrote: >> Modify shadow_track_dirty_vram to use a local buffer and then flush to the >> guest without the paging_lock held. This is modeled after >> hap_track_dirty_vram. > > And hence introduces the same issue: The HVMOP_

Re: [Xen-devel] [PATCH] libxl: include a XLU_Config in _libxlDriverConfig

2015-05-06 Thread Jim Fehlig
Olaf Hering wrote: > Upcoming changes for vscsi will use libxlutil.so to prepare the > configuration for libxl. The helpers needs a xlu struct for logging. > Provide one and reuse the existing output as log target. > > Signed-off-by: Olaf Hering > Cc: Jim Fehlig > --- > src/libxl/libxl_conf.c |

Re: [Xen-devel] (release) versioning

2015-05-06 Thread George Dunlap
On Wed, May 6, 2015 at 3:58 PM, Konrad Rzeszutek Wilk wrote: > I am OK with the mechanism as is and not sure why it would need > changing. I know you are saying that the existing mechanism > does not convery much information but I think the 'rcX'appended > to the version tag is enough to tell us w

Re: [Xen-devel] [PATCH v2 0/4] raisin: introduce tests

2015-05-06 Thread George Dunlap
On 05/06/2015 03:46 PM, Ian Campbell wrote: > On Wed, 2015-05-06 at 15:39 +0100, Stefano Stabellini wrote: >> On Wed, 6 May 2015, George Dunlap wrote: >>> On Tue, May 5, 2015 at 2:55 PM, Stefano Stabellini >>> wrote: On Tue, 5 May 2015, Ian Campbell wrote: > On Fri, 2015-05-01 at 16:48 +0

Re: [Xen-devel] [PATCH] libxl: include a XLU_Config in _libxlDriverConfig

2015-05-06 Thread Jim Fehlig
Wei Liu wrote: > On Wed, May 06, 2015 at 10:58:11AM +0200, Olaf Hering wrote: > >> On Wed, May 06, Olaf Hering wrote: >> >> >>> Since libvirtd runs forever there is very little code to undo most >>> things. But I will see if there is any unload function, did not actively >>> look for such t

Re: [Xen-devel] [PATCH 1/3] xen/vt-d: need barriers to workaround CLFLUSH

2015-05-06 Thread Boris Ostrovsky
On 05/06/2015 03:12 AM, Jan Beulich wrote: On 05.05.15 at 18:11, wrote: On 05/05/2015 11:58 AM, Jan Beulich wrote: On 05.05.15 at 17:46, wrote: On 05/04/2015 05:14 AM, Andrew Cooper wrote: On 04/05/2015 09:52, Jan Beulich wrote: On 04.05.15 at 04:16, wrote: --- a/xen/drivers/passthrough/

[Xen-devel] [PATCH 3/3] xen: cpupools: avoid crashing if shutting down with free CPUs

2015-05-06 Thread Dario Faggioli
in fact, before this change, shutting down or suspending the system with some CPUs not assigned to any cpupool, would crash as follows: (XEN) Xen call trace: (XEN)[] disable_nonboot_cpus+0xb5/0x138 (XEN)[] enter_state_helper+0xbd/0x369 (XEN)[] continue_hypercall_tasklet_handler

[Xen-devel] [PATCH 0/3] xen: cpupools: avoid crashing when shutting down/suspending with free CPUs

2015-05-06 Thread Dario Faggioli
In fact, in the following situation: root@Zhaman:~# xl cpupool-cpu-remove Pool-0 node:1,^9-11 root@Zhaman:~# xl cpupool-list -c Name CPU list Pool-0 0,1,2,3,4,5,6,7,9,10,11 Trying to power off the system would results in this splat: (XEN) Preparing system for ACPI S

[Xen-devel] [PATCH 2/3] xen: cpupool: assigning a CPU to a pool can fail

2015-05-06 Thread Dario Faggioli
which means such an event must be handled at the call sites of cpupool_assign_cpu_locked(), and the error, if occurring, properly propagated. Signed-off-by: Dario Faggioli Cc: Juergen Gross Cc: George Dunlap Cc: Jan Beulich Cc: Andrew Cooper Cc: Keir Fraser --- xen/common/cpupool.c | 15 +

[Xen-devel] [PATCH 1/3] xen: always print offending CPU on bringup/teardown failure

2015-05-06 Thread Dario Faggioli
In fact, before this change, if bringing up or tearing down a CPU fails with -EBUSY, we BUG_ON() and never get to see what CPU caused the problem. Signed-off-by: Dario Faggioli Cc: Jan Beulich Cc: Andrew Cooper Cc: Keir Fraser --- xen/common/cpu.c |4 ++-- 1 file changed, 2 insertions(+),

Re: [Xen-devel] [PATCH] libxl: include a XLU_Config in _libxlDriverConfig

2015-05-06 Thread Jim Fehlig
Olaf Hering wrote: > On Wed, May 06, Olaf Hering wrote: > > >> Since libvirtd runs forever there is very little code to undo most >> things. But I will see if there is any unload function, did not actively >> look for such thing. >> > > Looking through libxlStateDriver it seems that libxl a

Re: [Xen-devel] (release) versioning

2015-05-06 Thread Konrad Rzeszutek Wilk
On Tue, May 05, 2015 at 04:54:01PM +0100, Jan Beulich wrote: > All, > > on the hackathon we also discussed possibly changing the versioning > of Xen. The main rationale for the proposal is that (just like in many > other software projects) version numbers (in particular the major > one) currently

[Xen-devel] [PATCH v2] OSSTEST: introduce a raisin build test

2015-05-06 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini --- Changes in v2: - set revision_* variables in mfi-common; - in ts-raisin-build set the *_REVISION config options based on the revision_* variables; - in ts-raisin-build, call store_revision appropriately; - divide the output in an hypervisor and a tools tarb

Re: [Xen-devel] (release) versioning

2015-05-06 Thread George Dunlap
On Tue, May 5, 2015 at 4:54 PM, Jan Beulich wrote: > All, > > on the hackathon we also discussed possibly changing the versioning > of Xen. The main rationale for the proposal is that (just like in many > other software projects) version numbers (in particular the major > one) currently don't real

Re: [Xen-devel] [RFC][PATCH 04/13] tools/libxl: detect and avoid conflicts with RDM

2015-05-06 Thread Chen, Tiejun
On 2015/4/20 19:13, Jan Beulich wrote: On 10.04.15 at 11:21, wrote: --- a/tools/libxc/xc_domain.c +++ b/tools/libxc/xc_domain.c @@ -1665,6 +1665,46 @@ int xc_assign_device( return do_domctl(xch, &domctl); } +struct xen_reserved_device_memory +*xc_device_get_rdm(xc_interface *xch, +

Re: [Xen-devel] [PATCH v2 0/4] raisin: introduce tests

2015-05-06 Thread Ian Campbell
On Wed, 2015-05-06 at 15:39 +0100, Stefano Stabellini wrote: > On Wed, 6 May 2015, George Dunlap wrote: > > On Tue, May 5, 2015 at 2:55 PM, Stefano Stabellini > > wrote: > > > On Tue, 5 May 2015, Ian Campbell wrote: > > >> On Fri, 2015-05-01 at 16:48 +0100, Stefano Stabellini wrote: > > >> > Hi al

Re: [Xen-devel] [Linaro-uefi] [PATCH 0/5]arm64: Add multiboot support (via fdt) for Xen boot

2015-05-06 Thread Fu Wei
Hi Andrie, Great thanks for your reply! Please let me know your suggestion for my patch, then I can improve it ASAP! :-) Thanks! On 4 May 2015 at 02:55, Andrei Borzenkov wrote: > В Fri, 10 Apr 2015 10:32:15 +0800 > Fu Wei пишет: > > > Hi everybody, > > any suggestion for my patchset? > > Plea

Re: [Xen-devel] [PATCH v2 0/4] raisin: introduce tests

2015-05-06 Thread Stefano Stabellini
On Wed, 6 May 2015, George Dunlap wrote: > On Tue, May 5, 2015 at 2:55 PM, Stefano Stabellini > wrote: > > On Tue, 5 May 2015, Ian Campbell wrote: > >> On Fri, 2015-05-01 at 16:48 +0100, Stefano Stabellini wrote: > >> > Hi all, > >> > > >> > this patch series introduces a framework to execute simp

Re: [Xen-devel] [PATCH v2 0/4] raisin: introduce tests

2015-05-06 Thread George Dunlap
On Tue, May 5, 2015 at 2:55 PM, Stefano Stabellini wrote: > On Tue, 5 May 2015, Ian Campbell wrote: >> On Fri, 2015-05-01 at 16:48 +0100, Stefano Stabellini wrote: >> > Hi all, >> > >> > this patch series introduces a framework to execute simple unit and >> > functional tests in raisin. It can be

Re: [Xen-devel] [PATCH] [SCSI] libsas: Kconfig: Enable SATA compatibility by default

2015-05-06 Thread James Bottomley
On Fri, 2015-05-01 at 15:36 +0100, Ian Jackson wrote: > SATA controllers support SATA disks. The kernel should be able to > drive these, by default. It should not silently (apart from a > debugging-only printk) ignore them. To be honest, this is a bit pointless: no distribution takes the kernel

Re: [Xen-devel] [PATCH] [SCSI] libsas: Kconfig: Enable SATA compatibility by default

2015-05-06 Thread Ian Jackson
Julian Calaby writes ("Re: [PATCH] [SCSI] libsas: Kconfig: Enable SATA compatibility by default"): > On Sat, May 2, 2015 at 12:36 AM, Ian Jackson > wrote: > > SATA controllers support SATA disks. The kernel should be able to > > Do you mean SAS controllers? Yes, sorry. Do you want me to resu

[Xen-devel] [GIT PULL] xen: bug fixes for 4.1-rc2

2015-05-06 Thread David Vrabel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-4.1b-rc2-tag xen: bug fixes for 4.1-rc2 - - Fix blkback regression if using persistent grants. - - Fix various event channel related sus

Re: [Xen-devel] [PATCH v2 2/3] arm, arm64/xen: move Xen initialization earlier

2015-05-06 Thread Stefano Stabellini
Hi Russell, I am going to queue this up in the xentip tree for 4.2, let me know if you have any issues. Cheers, Stefano On Tue, 7 Apr 2015, Stefano Stabellini wrote: > Russell, > > I think that this patch should go via the Xen tree, however as it > touches arch/arm/kernel/setup.c, I would like

Re: [Xen-devel] Fwd: How to get real time in a xen vm?

2015-05-06 Thread George Dunlap
On Wed, Apr 29, 2015 at 2:43 PM, Meng Xu wrote: > > > 2015-04-28 22:46 GMT-04:00 Xuehan Xu : > >> -- Forwarded message -- >> From: "Xuehan Xu" >> Date: Apr 29, 2015 10:11 AM >> Subject: How to get real time in a xen vm? >> To: >> Cc: >> >> Hi, everyone >> >> Recently, I got a nee

Re: [Xen-devel] [PATCH 1/7] xenalyze: add to tools/misc

2015-05-06 Thread George Dunlap
On Mon, Apr 27, 2015 at 3:04 PM, David Vrabel wrote: > On 27/04/15 14:22, Olaf Hering wrote: >> This merges xenalyze.hg, changeset 150:24308507be1d into tools/misc >> to have the tool and public/trace.h in one place. > > Would this not be better in tools/xentrace/xenalyze ? +1 FWIW I approve of

[Xen-devel] [PATCH v5 4/5] vscsiif.h: add some notes about xenstore layout

2015-05-06 Thread Olaf Hering
Signed-off-by: Olaf Hering Cc: Ian Campbell Cc: Ian Jackson Cc: Jan Beulich Cc: Keir Fraser Cc: Tim Deegan --- xen/include/public/io/vscsiif.h | 68 + 1 file changed, 68 insertions(+) diff --git a/xen/include/public/io/vscsiif.h b/xen/include/public/i

[Xen-devel] [PATCH v5 1/5] vscsiif.h: fix WWN notation for p-dev property

2015-05-06 Thread Olaf Hering
The pvops kernel expects either "naa.WWN:LUN" or "h:c:t:l" in the p-dev property. Add the missing :LUN part to the comment. Signed-off-by: Olaf Hering Cc: Ian Campbell Cc: Ian Jackson Cc: Jan Beulich Cc: Keir Fraser Cc: Tim Deegan --- xen/include/public/io/vscsiif.h | 2 +- 1 file changed,

[Xen-devel] [PATCH v5 0/5] libbxl: add support for pvscsi, iteration 5

2015-05-06 Thread Olaf Hering
Port vscsi=[] and scsi-{attach,detach,list} commands from xend to libxl. libvirt uses its existing SCSI support: http://lists.xenproject.org/archives/html/xen-devel/2015-04/msg02963.html targetcli/rtslib has to be aware of xen-scsiback (upstream unresponsive): http://article.gmane.org/gmane.linux

[Xen-devel] [PATCH v5 3/5] libxl: add support for vscsi

2015-05-06 Thread Olaf Hering
Port pvscsi support from xend to libxl: vscsi=['pdev,vdev{,options}'] xl scsi-attach xl scsi-detach xl scsi-list Signed-off-by: Olaf Hering Cc: Ian Jackson Cc: Stefano Stabellini Cc: Ian Campbell Cc: Wei Liu --- docs/man/xl.cfg.pod.5| 55 +++ docs/man/xl.pod.1

[Xen-devel] [PATCH v5 5/5] Scripts to create and delete xen-scsiback nodes in Linux target framework

2015-05-06 Thread Olaf Hering
Just to make them public, not meant for merging: The scripts used during development to create a bunch of SCSI devices in dom0 using the Linux target framework. targetcli3 and rtslib3 is used. A patch is required for python-rtslib: http://article.gmane.org/gmane.linux.scsi.target.devel/8146 Signe

[Xen-devel] [PATCH v5 2/5] docs: add vscsi to xenstore-paths.markdown

2015-05-06 Thread Olaf Hering
Signed-off-by: Olaf Hering Cc: Ian Campbell Cc: Ian Jackson Cc: Jan Beulich Cc: Keir Fraser Cc: Tim Deegan --- docs/misc/xenstore-paths.markdown | 10 ++ 1 file changed, 10 insertions(+) diff --git a/docs/misc/xenstore-paths.markdown b/docs/misc/xenstore-paths.markdown index d94ea9

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

2015-05-06 Thread Elena Ufimtseva
On Wed, May 06, 2015 at 12:46:27PM +0100, Jan Beulich wrote: > >>> On 06.05.15 at 13:43, wrote: > > On Tue, May 05, 2015 at 10:50:56AM +0100, Jan Beulich wrote: > >> >>> On 28.04.15 at 01:50, wrote: > >> > +if ( ignore ) > >> > +{ > >> > +dprintk(XENLOG_WARNING VTDPREFIX, > >> > +

Re: [Xen-devel] [PATCH OSSTEST v2] grub: remove patch to disable submenu from 20_linux_xen overlay

2015-05-06 Thread Wei Liu
On Wed, May 06, 2015 at 01:55:48PM +0100, Ian Campbell wrote: > On Wed, 2015-05-06 at 13:52 +0100, Ian Campbell wrote: > > > Can you please do that since you have the most up to date patch at hand. > > > Thanks! > > > > Sure. > > Actually, I don't have a login for savanah.gnu.org, since I suppose

  1   2   3   >