Re: [Xen-devel] [V3] x86/cpuidle: get accurate C0 value with xenpm tool

2015-05-11 Thread Han, Huaitong
On Fri, 2015-05-08 at 11:11 +0100, Jan Beulich wrote: On 08.05.15 at 11:40, huaitong@intel.com wrote: All comments has been addressed, just changelog is written partly. Certainly not. There are still hard tabs in the patch, and there was still a pointless initializer that I had

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

2015-05-11 Thread Razvan Cojocaru
On 05/11/2015 10:03 AM, Jan Beulich wrote: On 08.05.15 at 19:05, rcojoc...@bitdefender.com wrote: On 05/08/2015 07:23 PM, Jan Beulich wrote: On 06.05.15 at 19:12, rcojoc...@bitdefender.com wrote: --- a/xen/include/asm-x86/domain.h +++ b/xen/include/asm-x86/domain.h @@ -518,6 +518,11 @@

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

2015-05-11 Thread Jan Beulich
On 08.05.15 at 18:49, rcojoc...@bitdefender.com wrote: On 05/08/2015 07:07 PM, Jan Beulich wrote: On 06.05.15 at 19:12, rcojoc...@bitdefender.com wrote: @@ -193,6 +200,11 @@ struct vm_event_xsetbv { uint64_t value; }; +struct vm_event_emul_read_data { +uint32_t size; +

Re: [Xen-devel] [PATCH v2 1/6] xen/hvm: Permit HVM_PARAM_IDENT_PT to be set more than once

2015-05-11 Thread Hongyang Yang
I've reviewed all of the series, looks good to me in general, I will rebase my patches on top of this series. Would you like me to take this series and send it together with mine? On 05/09/2015 05:14 AM, Andrew Cooper wrote: There is no conceptual problem with setting this parameter more than

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

2015-05-11 Thread Chen, Tiejun
On 2015/5/8 13:21, Michael Dexter wrote: On 5/7/15 7:59 PM, Chen, Tiejun wrote: Are you running IGD passthrough with guest OS? Only as far as the PVH Xen kernel is passing through all hardware to Dom0. Roger can elaborate as needed. What is your CPU? BDW? HSW? And what is your FreeBSD Linux

Re: [Xen-devel] [PATCH v1 1/4] xen: enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-05-11 Thread Jan Beulich
On 11.05.15 at 00:04, lichong...@gmail.com wrote: On Fri, May 8, 2015 at 2:49 AM, Jan Beulich jbeul...@suse.com wrote: On 07.05.15 at 19:05, lichong...@gmail.com wrote: @@ -1110,6 +1113,67 @@ rt_dom_cntl( } spin_unlock_irqrestore(prv-lock, flags); break; +

Re: [Xen-devel] [PATCH] IOMMU/x86: avoid pages without GFN in page table creation/updating

2015-05-11 Thread Zhang, Yang Z
Jan Beulich wrote on 2015-05-11: On 11.05.15 at 04:53, yang.z.zh...@intel.com wrote: Jan Beulich wrote on 2015-05-07: --- a/xen/drivers/passthrough/x86/iommu.c +++ b/xen/drivers/passthrough/x86/iommu.c @@ -59,10 +59,17 @@ int arch_iommu_populate_page_table(struc if (

Re: [Xen-devel] [PATCH] IOMMU/x86: avoid pages without GFN in page table creation/updating

2015-05-11 Thread Jan Beulich
On 11.05.15 at 04:53, yang.z.zh...@intel.com wrote: Jan Beulich wrote on 2015-05-07: --- a/xen/drivers/passthrough/x86/iommu.c +++ b/xen/drivers/passthrough/x86/iommu.c @@ -59,10 +59,17 @@ int arch_iommu_populate_page_table(struc if ( has_hvm_container_domain(d) ||

Re: [Xen-devel] [PATCH v5 1/4] xen: introduce a helper to allocate non-contiguous memory

2015-05-11 Thread Jan Beulich
On 08.05.15 at 16:34, roger@citrix.com wrote: +void vfree(void *va) +{ +unsigned int i, pages = vm_size(va); + +if ( pages == 0 ) +return; + +for ( i = 0; i pages; i++ ) +free_domheap_pages(vmap_to_page(va + i * PAGE_SIZE), 1); + +vunmap(va); +}

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

2015-05-11 Thread Chen, Tiejun
On 2015/5/8 23:13, Wei Liu wrote: On Fri, May 08, 2015 at 09:24:56AM +0800, Chen, Tiejun wrote: Campbell, Jackson, Wei and Stefano, Any consideration? I can follow up Jan's idea but I need you guys make sure I'm going to do this properly. Look at my earlier reply. Thanks for your reply.

Re: [Xen-devel] [PATCH Remus v2 00/10] Remus support for Migration-v2

2015-05-11 Thread Hongyang Yang
On 05/09/2015 02:12 AM, Andrew Cooper wrote: On 08/05/15 10:33, Yang Hongyang wrote: This patchset implement the Remus support for Migration v2 but without memory compressing. The series can be found on github: https://github.com/macrosheep/xen/tree/Remus-newmig-v2 PATCH 1-7: Some refactor

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

2015-05-11 Thread Jan Beulich
On 08.05.15 at 22:51, elena.ufimts...@oracle.com wrote: On Thu, May 07, 2015 at 06:47:12AM +0100, Jan Beulich wrote: Elena Ufimtseva elena.ufimts...@oracle.com 05/06/15 6:50 PM In your proposed second valid case, segment 0001 should be assumed for second device as its own segment

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

2015-05-11 Thread Jan Beulich
On 08.05.15 at 19:05, rcojoc...@bitdefender.com wrote: On 05/08/2015 07:23 PM, Jan Beulich wrote: On 06.05.15 at 19:12, rcojoc...@bitdefender.com wrote: --- a/xen/include/asm-x86/domain.h +++ b/xen/include/asm-x86/domain.h @@ -518,6 +518,11 @@ struct arch_vcpu struct

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

2015-05-11 Thread Jan Beulich
On 09.05.15 at 08:55, rcojoc...@bitdefender.com wrote: On 05/09/2015 02:34 AM, Tamas K Lengyel wrote: @@ -193,6 +200,11 @@ struct vm_event_xsetbv { uint64_t value; }; +struct vm_event_emul_read_data { +uint32_t size; +uint8_t data[164]; This number needs an

[Xen-devel] [PATCH] xen/pcifront: Remove usage of struct timeval

2015-05-11 Thread Tina Ruchandani
struct timeval uses a 32-bit field for representing seconds, which will overflow in the year 2038 and beyond. This patch replaces struct timeval with 64-bit ktime_t which is 2038 safe. The patch is part of a larger effort to remove instances of 32-bit timekeeping variables (timeval, time_t and

Re: [Xen-devel] [V3] x86/cpuidle: get accurate C0 value with xenpm tool

2015-05-11 Thread Jan Beulich
On 11.05.15 at 08:50, huaitong@intel.com wrote: On Fri, 2015-05-08 at 11:11 +0100, Jan Beulich wrote: On 08.05.15 at 11:40, huaitong@intel.com wrote: All comments has been addressed, just changelog is written partly. Certainly not. There are still hard tabs in the patch, and there

Re: [Xen-devel] [PATCH v2 1/6] xen/hvm: Permit HVM_PARAM_IDENT_PT to be set more than once

2015-05-11 Thread Andrew Cooper
On 11/05/2015 08:51, Hongyang Yang wrote: I've reviewed all of the series, looks good to me in general, I will rebase my patches on top of this series. Would you like me to take this series and send it together with mine? Yes please - for ease of review it would be far easier to maintain one

Re: [Xen-devel] [PATCH v2 1/6] xen/hvm: Permit HVM_PARAM_IDENT_PT to be set more than once

2015-05-11 Thread Hongyang Yang
On 05/11/2015 04:00 PM, Andrew Cooper wrote: On 11/05/2015 08:51, Hongyang Yang wrote: I've reviewed all of the series, looks good to me in general, I will rebase my patches on top of this series. Would you like me to take this series and send it together with mine? Yes please - for ease of

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

2015-05-11 Thread Chen, Tiejun
On 2015/5/8 22:43, Wei Liu wrote: Sorry for the late review. This series fell through the crack. Thanks for your review. On Fri, Apr 10, 2015 at 05:21:55PM +0800, Tiejun Chen wrote: While building a VM, HVM domain builder provides struct hvm_info_table{} to help hvmloader. Currently it

Re: [Xen-devel] [xen-unstable test] 53884: regressions - FAIL

2015-05-11 Thread Jan Beulich
On 09.05.15 at 20:57, osst...@xenbits.xen.org wrote: flight 53884 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/53884/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 5

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

2015-05-11 Thread Ian Campbell
(Sending this to IanJ's inbox) On Wed, 2015-05-06 at 18:47 +0100, Thomas Leonard wrote: On 01/29/2015 05:04 PM, George Dunlap wrote: On Tue, Jan 27, 2015 at 6:49 AM, Ian Jackson ian.jack...@eu.citrix.com wrote: We are splitting minios out of xen.git (because we want to try to make it

Re: [Xen-devel] [xen-unstable test] 53884: regressions - FAIL

2015-05-11 Thread Jan Beulich
On 11.05.15 at 10:19, jbeul...@suse.com wrote: On 11.05.15 at 10:12, andrew.coop...@citrix.com wrote: On 11/05/2015 09:08, Jan Beulich wrote: On 09.05.15 at 20:57, osst...@xenbits.xen.org wrote: flight 53884 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/53884/

Re: [Xen-devel] [win-pv-devel] Question about windows domU long boot time in xen and help for update libxl virtio patch (for a test)

2015-05-11 Thread Ian Campbell
On Sat, 2015-05-09 at 14:28 +0100, Wei Liu wrote: On Fri, May 08, 2015 at 05:47:25PM +0100, Paul Durrant wrote: I'm using the seabios image from the Xen build. Turns out that it's built with CONFIG_ATA_DMA off (because that's not set when you run make defconfig). Turning that on manually in

Re: [Xen-devel] [PATCH 3/3] libxc/migrationv2: Split {start, end}_of_stream() to make checkpoint variants

2015-05-11 Thread Hongyang Yang
On 05/11/2015 05:02 PM, Andrew Cooper wrote: On 11/05/15 03:31, Hongyang Yang wrote: On 05/08/2015 09:30 PM, Ian Campbell wrote: On Fri, 2015-05-08 at 13:54 +0100, Andrew Cooper wrote: This is in preparation for supporting checkpointed streams in migration v2. - For PV guests, the VCPU

Re: [Xen-devel] [PATCH v2 2/6] libxc/restore: Bail if unknown options are found

2015-05-11 Thread David Vrabel
On 08/05/15 22:14, Andrew Cooper wrote: When restoring a domain, check for unknown options in Image Header. Nothing good will come from attempting to continue. Signed-off-by: Andrew Cooper andrew.coop...@citrix.com CC: David Vrabel david.vra...@citrix.com CC: Ian Campbell

Re: [Xen-devel] [xen-unstable test] 53884: regressions - FAIL

2015-05-11 Thread Julien Grall
Hi, On 11/05/15 10:05, Ian Campbell wrote: On Mon, 2015-05-11 at 09:32 +0100, Jan Beulich wrote: While it'd be really nice to do so, the flight here didn't test the tip of staging (onto which I'll push the revert in a few minutes), so a force push may be a little difficult to arrange. I'm

[Xen-devel] Fw: How to print mfn structure to print pages

2015-05-11 Thread Minalkumar Patel
 On Monday, 4 May 2015 10:11 AM, Minalkumar Patel patel...@yahoo.co.in wrote:   Dear all, Xenmaintains an address mapping table. How it works? How to map independent pfn tomachine dependent frame number (mfn) for each guest VM on real platform?  if physical page is copied from one to

Re: [Xen-devel] [PATCH] pvgrub: initialise p2m_size

2015-05-11 Thread Ian Campbell
On Sun, 2015-05-10 at 14:14 +0100, Wei Liu wrote: In 84083790 (libxc: add p2m_size to xc_dom_image) a new field is added. We should initialised this field in pvgrub as well, otherwise xc_dom_build_image won't work properly. Signed-off-by: Wei Liu wei.l...@citrix.com Cc: Ian Campbell

[Xen-devel] [PATCH OSSTEST] production-config: Correct syntax for clearing OsstestUpstream.

2015-05-11 Thread Ian Campbell
Previous syntax actually sets it to the literal string containing two quotation marks. Signed-off-by: Ian Campbell ian.campb...@citrix.com --- production-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/production-config b/production-config index 84a3bb7..8834110 100644

Re: [Xen-devel] [RFC][PATCH 08/13] tools: extend xc_assign_device() to support rdm reservation policy

2015-05-11 Thread Jan Beulich
On 11.05.15 at 11:45, tiejun.c...@intel.com wrote: On 2015/4/20 21:39, Jan Beulich wrote: On 10.04.15 at 11:21, tiejun.c...@intel.com wrote: --- a/tools/libxc/xc_domain.c +++ b/tools/libxc/xc_domain.c @@ -1654,13 +1654,15 @@ int xc_domain_setdebugging(xc_interface *xch, int

Re: [Xen-devel] [win-pv-devel] Question about windows domU long boot time in xen and help for update libxl virtio patch (for a test)

2015-05-11 Thread Paul Durrant
-Original Message- From: Fabio Fantoni [mailto:fabio.fant...@m2r.biz] Sent: 11 May 2015 11:27 To: Paul Durrant; Ian Campbell; Wei Liu Cc: xen-devel; win-pv-de...@lists.xenproject.org; Anthony Perard; Stefano Stabellini Subject: Re: [win-pv-devel] Question about windows domU long

Re: [Xen-devel] [xen-unstable test] 55228: regressions - trouble: blocked/fail/pass/preparing/running

2015-05-11 Thread Ian Campbell
On Mon, 2015-05-11 at 10:56 +, osstest service user wrote: flight 55228 xen-unstable running [real] http://logs.test-lab.xenproject.org/osstest/logs/55228/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm

Re: [Xen-devel] [V4] x86/cpuidle: get accurate C0 value with xenpm tool

2015-05-11 Thread Jan Beulich
On 11.05.15 at 11:34, huaitong@intel.com wrote: --- ChangeLog: V4: delete pointless initializers and hard tabs. Thanks, but ... V3: 1.Don't use tick_to_ns inside lock in print_acpi_power. ... note that this also was not fully done: --- a/xen/arch/x86/acpi/cpu_idle.c +++

Re: [Xen-devel] [xen-unstable test] 53884: regressions - FAIL

2015-05-11 Thread Ian Campbell
On Mon, 2015-05-11 at 09:12 +0100, Andrew Cooper wrote: On 11/05/2015 09:08, Jan Beulich wrote: On 09.05.15 at 20:57, osst...@xenbits.xen.org wrote: flight 53884 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/53884/ Regressions :-( Tests which did not

Re: [Xen-devel] [PATCH 3/3] libxc/migrationv2: Split {start, end}_of_stream() to make checkpoint variants

2015-05-11 Thread Andrew Cooper
On 11/05/15 03:31, Hongyang Yang wrote: On 05/08/2015 09:30 PM, Ian Campbell wrote: On Fri, 2015-05-08 at 13:54 +0100, Andrew Cooper wrote: This is in preparation for supporting checkpointed streams in migration v2. - For PV guests, the VCPU context is moved to end_of_checkpoint(). - For

Re: [Xen-devel] does libxl provides python interface?

2015-05-11 Thread Ian Campbell
On Mon, 2015-05-11 at 09:59 +0100, Stefano Stabellini wrote: A python binding existing under tools/python/xen/lowlevel/xl, but it has been a while since the last time that it was updated. The python bindings are broken and don't even build, plus has some conceptual issues in the design. It

[Xen-devel] [V4] x86/cpuidle: get accurate C0 value with xenpm tool

2015-05-11 Thread Huaitong Han
When checking the ACPI funciton of C-status, after 100 seconds sleep, the sampling value of C0 status from the xenpm tool decreases. Because C0=NOW()-C1-C2-C3-C4, when NOW() value is during idle time, NOW() value is bigger than last C-status update time, and C0 value is also bigger than ture

Re: [Xen-devel] [linux-3.14 test] 54831: regressions - trouble: broken/fail/pass

2015-05-11 Thread Ian Campbell
On Mon, 2015-05-11 at 03:52 +, osstest service user wrote: flight 54831 linux-3.14 real [real] http://logs.test-lab.xenproject.org/osstest/logs/54831/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-freebsd10-i386

Re: [Xen-devel] [win-pv-devel] Question about windows domU long boot time in xen and help for update libxl virtio patch (for a test)

2015-05-11 Thread Paul Durrant
-Original Message- From: Ian Campbell [mailto:ian.campb...@citrix.com] Sent: 11 May 2015 09:42 To: Wei Liu Cc: Paul Durrant; Fabio Fantoni; xen-devel; win-pv- de...@lists.xenproject.org; Anthony Perard; Stefano Stabellini Subject: Re: [win-pv-devel] Question about windows domU long

[Xen-devel] [ovmf test] 54839: regressions - trouble: fail/pass/preparing

2015-05-11 Thread osstest service user
flight 54839 ovmf running [real] http://logs.test-lab.xenproject.org/osstest/logs/54839/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-freebsd10-i386 13 guest-localmigrate fail REGR. vs. 53825

[Xen-devel] [PATCH] xen/xsm: Fix x86 XSM build after commit 6ea9f04

2015-05-11 Thread Julien Grall
Signed-off-by: Julien Grall julien.gr...@citrix.com --- xen/xsm/flask/flask_op.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xen/xsm/flask/flask_op.c b/xen/xsm/flask/flask_op.c index 802ffd4..8dee021 100644 --- a/xen/xsm/flask/flask_op.c +++

Re: [Xen-devel] [COVERITY ACCESS] Request for access to Coverity

2015-05-11 Thread Konrad Rzeszutek Wilk
On May 11, 2015 5:13:06 AM EDT, Wei Liu wei.l...@citrix.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 I agree to the conditions in the XenProject Coverity contribution guidelines [0]. I'm a developer working for Citrix Systems UK, Ltd. I've been active in the Xen community since

Re: [Xen-devel] [PATCH Remus v2 00/10] Remus support for Migration-v2

2015-05-11 Thread Andrew Cooper
On 11/05/15 11:48, Hongyang Yang wrote: On 05/11/2015 05:00 PM, Andrew Cooper wrote: On 11/05/15 07:28, Hongyang Yang wrote: On 05/09/2015 02:12 AM, Andrew Cooper wrote: On 08/05/15 10:33, Yang Hongyang wrote: This patchset implement the Remus support for Migration v2 but without memory

Re: [Xen-devel] [PATCH] xen/arm: gic-v3: Implement correctly the callback send_SGI

2015-05-11 Thread Ian Campbell
On Fri, 2015-05-08 at 17:55 +0100, Julien Grall wrote: Hi Ian, On 08/05/15 16:51, Ian Campbell wrote: On Fri, 2015-05-08 at 15:34 +0100, Julien Grall wrote: On 08/05/15 15:01, Ian Campbell wrote: I think you should just cast to uint64_t and WRITE_SYSREG64. Right, I blindly re-use the

Re: [Xen-devel] [V3] x86/cpuidle: get accurate C0 value with xenpm tool

2015-05-11 Thread Han, Huaitong
Get it, thanks On Mon, 2015-05-11 at 09:00 +0100, Jan Beulich wrote: On 11.05.15 at 08:50, huaitong@intel.com wrote: On Fri, 2015-05-08 at 11:11 +0100, Jan Beulich wrote: On 08.05.15 at 11:40, huaitong@intel.com wrote: All comments has been addressed, just changelog is written

Re: [Xen-devel] [xen-unstable test] 53884: regressions - FAIL

2015-05-11 Thread Jan Beulich
On 11.05.15 at 10:28, ian.campb...@citrix.com wrote: Flight 54309 tested a57b1fff48a8 which is the current staging, and it failed with the build-amd64-xsm and the freebsd migration thing (which IMHO we should just whitelist for the time being). For there to be any possibility of a force

Re: [Xen-devel] kexec's v1 compatibility code

2015-05-11 Thread Jan Beulich
On 08.05.15 at 17:53, dvra...@cantab.net wrote: On 08/05/15 14:34, Jan Beulich wrote: now that we're putting Xen 4.4.x underneath an older distro (SLE11) we've got to see that kexec doesn't work there. Initial investigation of our kexec person revealed that the destinations attempted to be

Re: [Xen-devel] [ovmf test] 53940: regressions - FAIL

2015-05-11 Thread Ian Campbell
On Sun, 2015-05-10 at 08:30 +, osstest service user wrote: flight 53940 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/53940/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-freebsd10-i386 13

Re: [Xen-devel] [PATCH v2 2/6] libxc/restore: Bail if unknown options are found

2015-05-11 Thread David Vrabel
On 11/05/15 10:23, David Vrabel wrote: The image header provides information about the format of the image. I suppose one could make an argument that an checkpointed stream is an infinite stream vs finite, but I think a CHECKPOINT_ENABLE record might be better? Sorry, this was supposed to

Re: [Xen-devel] [PATCH v1 0/4] Enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-05-11 Thread Dario Faggioli
On Thu, 2015-05-07 at 12:05 -0500, Chong Li wrote: [Goal] The current xl sched-rtds tool can only set the VCPUs of a domain to the same parameter although the scheduler supports VCPUs with different parameters. This patchset is to enable xl sched-rtds tool to configure the VCPUs of a

Re: [Xen-devel] [xen-unstable test] 53884: regressions - FAIL

2015-05-11 Thread Jan Beulich
On 11.05.15 at 10:12, andrew.coop...@citrix.com wrote: On 11/05/2015 09:08, Jan Beulich wrote: On 09.05.15 at 20:57, osst...@xenbits.xen.org wrote: flight 53884 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/53884/ Regressions :-( Tests which did not succeed

Re: [Xen-devel] [PATCH 4/4] xenconfig: fix spice mousemode and copypaste

2015-05-11 Thread Fabio Fantoni
Il 09/05/2015 00:40, Jim Fehlig ha scritto: Fabio Fantoni wrote: 2015-05-09 0:00 GMT+02:00 Jim Fehlig jfeh...@suse.com mailto:jfeh...@suse.com: From xl.cfg950 man page: spiceagent_mouse=BOOLEAN Whether SPICE agent is used for client mouse mode. The default is true (1)

Re: [Xen-devel] [RFC][PATCH 07/13] xen/passthrough: extend hypercall to support rdm reservation policy

2015-05-11 Thread Chen, Tiejun
On 2015/5/9 0:07, Julien Grall wrote: Hi, On 10/04/15 10:21, Tiejun Chen wrote: diff --git a/xen/include/public/domctl.h b/xen/include/public/domctl.h index ca0e51e..e5ba7cb 100644 --- a/xen/include/public/domctl.h +++ b/xen/include/public/domctl.h @@ -493,6 +493,10 @@

[Xen-devel] [COVERITY ACCESS] Request for access to Coverity

2015-05-11 Thread Wei Liu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 I agree to the conditions in the XenProject Coverity contribution guidelines [0]. I'm a developer working for Citrix Systems UK, Ltd. I've been active in the Xen community since late 2012; I'm now release manager for Xen 4.6 and a maintainer for

Re: [Xen-devel] [COVERITY ACCESS] Request for access to Coverity

2015-05-11 Thread Andrew Cooper
On 11/05/15 10:13, Wei Liu wrote: I agree to the conditions in the XenProject Coverity contribution guidelines [0]. I'm a developer working for Citrix Systems UK, Ltd. I've been active in the Xen community since late 2012; I'm now release manager for Xen 4.6 and a maintainer for Xen tool

Re: [Xen-devel] kexec's v1 compatibility code

2015-05-11 Thread David Vrabel
On 11/05/15 10:25, Jan Beulich wrote: On 08.05.15 at 17:53, dvra...@cantab.net wrote: On 08/05/15 14:34, Jan Beulich wrote: now that we're putting Xen 4.4.x underneath an older distro (SLE11) we've got to see that kexec doesn't work there. Initial investigation of our kexec person revealed

Re: [Xen-devel] [xen-unstable test] 53884: regressions - FAIL

2015-05-11 Thread Ian Campbell
On Mon, 2015-05-11 at 10:05 +0100, Ian Campbell wrote: On Mon, 2015-05-11 at 09:32 +0100, Jan Beulich wrote: While it'd be really nice to do so, the flight here didn't test the tip of staging (onto which I'll push the revert in a few minutes), so a force push may be a little difficult

[Xen-devel] [xen-unstable test] 55228: regressions - trouble: blocked/fail/pass/preparing/running

2015-05-11 Thread osstest service user
flight 55228 xen-unstable running [real] http://logs.test-lab.xenproject.org/osstest/logs/55228/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 5 xen-build fail REGR. vs. 50405

Re: [Xen-devel] [RFC][PATCH 07/13] xen/passthrough: extend hypercall to support rdm reservation policy

2015-05-11 Thread Jan Beulich
On 11.05.15 at 11:51, julien.gr...@citrix.com wrote: Hi, On 11/05/15 09:42, Chen, Tiejun wrote: diff --git a/xen/drivers/passthrough/arm/smmu.c b/xen/drivers/passthrough/arm/smmu.c index 8a9b58b..a3e6383 100644 --- a/xen/drivers/passthrough/arm/smmu.c +++

Re: [Xen-devel] [xen-unstable test] 53884: regressions - FAIL

2015-05-11 Thread Andrew Cooper
On 11/05/2015 09:08, Jan Beulich wrote: On 09.05.15 at 20:57, osst...@xenbits.xen.org wrote: flight 53884 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/53884/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run:

Re: [Xen-devel] [xen-unstable test] 53884: regressions - FAIL

2015-05-11 Thread Ian Campbell
On Mon, 2015-05-11 at 09:19 +0100, Jan Beulich wrote: On 11.05.15 at 10:12, andrew.coop...@citrix.com wrote: On 11/05/2015 09:08, Jan Beulich wrote: On 09.05.15 at 20:57, osst...@xenbits.xen.org wrote: flight 53884 xen-unstable real [real]

Re: [Xen-devel] [RFC][PATCH 07/13] xen/passthrough: extend hypercall to support rdm reservation policy

2015-05-11 Thread Chen, Tiejun
Sorry for this delay response. On 2015/4/20 21:36, Jan Beulich wrote: On 10.04.15 at 11:21, tiejun.c...@intel.com wrote: --- a/xen/drivers/passthrough/vtd/iommu.c +++ b/xen/drivers/passthrough/vtd/iommu.c @@ -1793,8 +1793,14 @@ static void iommu_set_pgd(struct domain *d)

Re: [Xen-devel] [xen-unstable test] 53884: regressions - FAIL

2015-05-11 Thread Ian Campbell
On Mon, 2015-05-11 at 09:32 +0100, Jan Beulich wrote: While it'd be really nice to do so, the flight here didn't test the tip of staging (onto which I'll push the revert in a few minutes), so a force push may be a little difficult to arrange. I'm also afraid that doing so would yield the

Re: [Xen-devel] does libxl provides python interface?

2015-05-11 Thread Sander Eikelenboom
Monday, May 11, 2015, 10:59:27 AM, you wrote: On Sun, 10 May 2015, big strong wrote: Just as the subject title: does libxl provides python interface? And where can I find the detailed API document of libxl? Thanks in advance Please send emails to xen-de...@lists.xenproject.org. Give a

[Xen-devel] [linux-3.14 test] 55251: trouble: fail/pass/preparing/running

2015-05-11 Thread osstest service user
flight 55251 linux-3.14 running [real] http://logs.test-lab.xenproject.org/osstest/logs/55251/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-xsm2 hosts-allocate running

Re: [Xen-devel] [RFC][PATCH 03/13] tools/libxc: Expose new hypercall xc_reserved_device_memory_map

2015-05-11 Thread Wei Liu
On Mon, May 11, 2015 at 01:36:49PM +0800, Chen, Tiejun wrote: On 2015/5/8 21:07, Wei Liu wrote: On Fri, Apr 10, 2015 at 05:21:54PM +0800, Tiejun Chen wrote: We will introduce the hypercall xc_reserved_device_memory_map approach to libxc. This helps us get rdm entry info according to different

Re: [Xen-devel] [COVERITY ACCESS] Request for access to Coverity

2015-05-11 Thread Ian Campbell
On Mon, 2015-05-11 at 10:13 +0100, Wei Liu wrote: I agree to the conditions in the XenProject Coverity contribution guidelines [0]. I'm a developer working for Citrix Systems UK, Ltd. I've been active in the Xen community since late 2012; I'm now release manager for Xen 4.6 and a

Re: [Xen-devel] [win-pv-devel] Question about windows domU long boot time in xen and help for update libxl virtio patch (for a test)

2015-05-11 Thread Fabio Fantoni
Il 11/05/2015 11:55, Paul Durrant ha scritto: -Original Message- From: Ian Campbell [mailto:ian.campb...@citrix.com] Sent: 11 May 2015 09:42 To: Wei Liu Cc: Paul Durrant; Fabio Fantoni; xen-devel; win-pv- de...@lists.xenproject.org; Anthony Perard; Stefano Stabellini Subject: Re:

Re: [Xen-devel] [PATCH v2 2/6] libxc/restore: Bail if unknown options are found

2015-05-11 Thread David Vrabel
On 08/05/15 22:14, Andrew Cooper wrote: When restoring a domain, check for unknown options in Image Header. Nothing good will come from attempting to continue. Section 2.3 (Fields) explicitly states that Padding and reserved fields are set to zero on save and must be ignored during restore. I

Re: [Xen-devel] [PATCH Remus v2 00/10] Remus support for Migration-v2

2015-05-11 Thread Andrew Cooper
On 11/05/15 07:28, Hongyang Yang wrote: On 05/09/2015 02:12 AM, Andrew Cooper wrote: On 08/05/15 10:33, Yang Hongyang wrote: This patchset implement the Remus support for Migration v2 but without memory compressing. The series can be found on github:

Re: [Xen-devel] does libxl provides python interface?

2015-05-11 Thread Stefano Stabellini
On Sun, 10 May 2015, big strong wrote: Just as the subject title: does libxl provides python interface? And where can I find the detailed API document of libxl? Thanks in advance Please send emails to xen-de...@lists.xenproject.org. Give a look under tools/libxl in the Xen repository

Re: [Xen-devel] [RFC][PATCH 08/13] tools: extend xc_assign_device() to support rdm reservation policy

2015-05-11 Thread Chen, Tiejun
On 2015/4/20 21:39, Jan Beulich wrote: On 10.04.15 at 11:21, tiejun.c...@intel.com wrote: --- a/tools/libxc/xc_domain.c +++ b/tools/libxc/xc_domain.c @@ -1654,13 +1654,15 @@ int xc_domain_setdebugging(xc_interface *xch, int xc_assign_device( xc_interface *xch, uint32_t domid, -

Re: [Xen-devel] [PATCH v5 1/4] xen: introduce a helper to allocate non-contiguous memory

2015-05-11 Thread Roger Pau Monné
Hello, El 11/05/15 a les 9.42, Jan Beulich ha escrit: On 08.05.15 at 16:34, roger@citrix.com wrote: +void vfree(void *va) +{ +unsigned int i, pages = vm_size(va); + +if ( pages == 0 ) +return; + +for ( i = 0; i pages; i++ ) +

Re: [Xen-devel] [RFC][PATCH 07/13] xen/passthrough: extend hypercall to support rdm reservation policy

2015-05-11 Thread Julien Grall
Hi, On 11/05/15 09:42, Chen, Tiejun wrote: diff --git a/xen/drivers/passthrough/arm/smmu.c b/xen/drivers/passthrough/arm/smmu.c index 8a9b58b..a3e6383 100644 --- a/xen/drivers/passthrough/arm/smmu.c +++ b/xen/drivers/passthrough/arm/smmu.c @@ -2599,7 +2599,7 @@ static void

Re: [Xen-devel] does libxl provides python interface?

2015-05-11 Thread Ian Campbell
On Mon, 2015-05-11 at 11:17 +0200, Sander Eikelenboom wrote: Monday, May 11, 2015, 10:59:27 AM, you wrote: On Sun, 10 May 2015, big strong wrote: Just as the subject title: does libxl provides python interface? And where can I find the detailed API document of libxl? Thanks in advance

Re: [Xen-devel] 答复: 答复: about xenalyze

2015-05-11 Thread George Dunlap
On Fri, May 8, 2015 at 3:41 AM, 蒋雄伟(蒋冲) xiongwei.ji...@alibaba-inc.com wrote: $xenalyze --summary trace_file_discuz.bin [snip] This is the full output. Don't top-post please. I probably should have said attach the full output, rather than including it inline. So actually -- it looks like

Re: [Xen-devel] [PATCH v5 1/4] xen: introduce a helper to allocate non-contiguous memory

2015-05-11 Thread Jan Beulich
On 11.05.15 at 11:52, roger@citrix.com wrote: El 11/05/15 a les 9.42, Jan Beulich ha escrit: On 08.05.15 at 16:34, roger@citrix.com wrote: +void vfree(void *va) +{ +unsigned int i, pages = vm_size(va); + +if ( pages == 0 ) +return; + +for ( i = 0; i pages;

Re: [Xen-devel] [PATCH] xen/xsm: Fix x86 XSM build after commit 6ea9f04

2015-05-11 Thread Ian Campbell
On Mon, 2015-05-11 at 11:09 +0100, Julien Grall wrote: Signed-off-by: Julien Grall julien.gr...@citrix.com Applied, thanks. (NB: I prefer commit logs which explain how they fix the build) --- xen/xsm/flask/flask_op.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

Re: [Xen-devel] [PATCH Remus v2 00/10] Remus support for Migration-v2

2015-05-11 Thread Hongyang Yang
On 05/11/2015 05:00 PM, Andrew Cooper wrote: On 11/05/15 07:28, Hongyang Yang wrote: On 05/09/2015 02:12 AM, Andrew Cooper wrote: On 08/05/15 10:33, Yang Hongyang wrote: This patchset implement the Remus support for Migration v2 but without memory compressing. [...] last iter of memory

Re: [Xen-devel] [PATCH] tools/libxc: Fix missing break from c/s b49a7517

2015-05-11 Thread Ian Campbell
On Sat, 2015-05-09 at 19:19 +0100, Julien Grall wrote: Hi Andrew, On 08/05/2015 21:59, Andrew Cooper wrote: Signed-off-by: Andrew Cooper andrew.coop...@citrix.com CC: Ian Campbell ian.campb...@citrix.com CC: Ian Jackson ian.jack...@eu.citrix.com CC: Wei Liu wei.l...@citrix.com CC:

[Xen-devel] [PATCH OSSTEST] allow.all: Ignore FreeBSD local migration failures

2015-05-11 Thread Ian Campbell
Until the issues with them are resolved Rerunning sg-report-flight for 54309 results in: @@ -5,11 +9,11 @@ Tests which did not succeed and are blocking, including tests which could not be run: - test-amd64-i386-freebsd10-amd64 13 guest-localmigrate fail REGR. vs. 50405 build-amd64-xsm

Re: [Xen-devel] [PATCH v2 3/6] libxc/migration: Be rather stricter with illformed callers

2015-05-11 Thread Andrew Cooper
On 11/05/15 12:33, Ian Campbell wrote: On Fri, 2015-05-08 at 22:14 +0100, Andrew Cooper wrote: The migration code itself should be able to validly assume all mandatory callbacks are set up. Signed-off-by: Andrew Cooper andrew.coop...@citrix.com CC: Ian Campbell ian.campb...@citrix.com CC:

Re: [Xen-devel] [PATCH Remus v2 02/10] tools/libxc: introduce setup() and cleanup() on save

2015-05-11 Thread Ian Campbell
On Mon, 2015-05-11 at 09:20 +0800, Hongyang Yang wrote: On 05/08/2015 06:08 PM, Andrew Cooper wrote: On 08/05/15 10:59, Hongyang Yang wrote: In general, a good change, but some comments... --- tools/libxc/xc_sr_save.c | 72 +---

Re: [Xen-devel] [PATCH Remus v2 02/10] tools/libxc: introduce setup() and cleanup() on save

2015-05-11 Thread Ian Campbell
On Mon, 2015-05-11 at 12:47 +0100, Ian Campbell wrote: Actually this is another trick that I need to deal with those hypercall macros. DECLARE_HYPERCALL_BUFFER_SHADOW will define a user pointer dirty_bitmap and a shadow buffer, although xc_hypercall_buffer_free_pages takes

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

2015-05-11 Thread osstest service user
flight 55257 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/55257/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-libvirt 11 guest-start fail REGR. vs. 53854 Tests which did not

Re: [Xen-devel] [PATCH v6 3/6] Qemu-Xen-vTPM: Xen frontend driver infrastructure

2015-05-11 Thread Xu, Quan
-Original Message- From: Stefan Berger [mailto:stef...@linux.vnet.ibm.com] Sent: Monday, May 04, 2015 11:36 PM To: Xu, Quan; stefano.stabell...@eu.citrix.com; ebl...@redhat.com Cc: qemu-de...@nongnu.org; wei.l...@citrix.com; dgde...@tycho.nsa.gov; xen-devel@lists.xen.org Subject:

Re: [Xen-devel] [PATCH Remus v2 04/10] tools/libxc: introduce DECLARE_HYPERCALL_BUFFER_USER_POINTER

2015-05-11 Thread Ian Campbell
On Fri, 2015-05-08 at 17:33 +0800, Yang Hongyang wrote: Define a user pointer that can access the hypercall buffer data Useful when you only need to access the hypercall buffer data Can you expand on this please, I think the context is a hypercall buffer passed as an argument or as a member of

[Xen-devel] [PATCH 1/2] tools/xenstored: Use XC_PAGE_SIZE rather than getpagesize()

2015-05-11 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org Linux may not use the same page granularity as Xen. This will result to a domain crash because it will try to map more page than required. As the xenstore page size willl always be equal to a Xen page size, use XC_PAGE_SIZE. Signed-off-by: Julien Grall

[Xen-devel] [PATCH 0/2] xen: Allow xen tools to run in guest using 64K page granularity

2015-05-11 Thread Julien Grall
Hi all, This small series are the only changes required in Xen in order to run a guest using 64K page granularity on top of an unmodified Xen. I'd like feedback from maintainers tools to know if it might be worth to introduce a function xc_pagesize() replicating the behavior of getpagesize() for

Re: [Xen-devel] [PATCH v2 4/6] libxc/save: Adjust stream-position callbacks for checkpointed streams

2015-05-11 Thread Andrew Cooper
On 11/05/15 12:36, Ian Campbell wrote: On Fri, 2015-05-08 at 22:14 +0100, Andrew Cooper wrote: There are some records which should only be sent once in the stream, and not repeated for each checkpoint. {start,end}_of_stream() become per-checkpoint, and a new start_of_stream() is introduced.

[Xen-devel] [PATCH 2/2] tools/xenconsoled: Use XC_PAGE_SIZE rather than getpagesize()

2015-05-11 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org Linux may not use the same page granularity as Xen. This will result to a domain crash because it will try to map more page than required. As the console page size will always be equal to a Xen page size, use XC_PAGE_SIZE. Signed-off-by: Julien Grall

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

2015-05-11 Thread Ian Campbell
On Fri, 2015-05-08 at 13:36 +0100, Stefano Stabellini wrote: Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- Changes in v3: - use $raisindir throughout ts-raisin-build - do not specify ENABLED_COMPONENTS so that empty REVISION variables can be used to disable

[Xen-devel] [PATCH] Make CONFIG_ATA_DMA and CONFIG_ATA_PIO32 default on

2015-05-11 Thread Paul Durrant
Currently running make defconfig will leave the above turned off which, at least for the Xen/QEMU use-case, means VMs will boot very slowly. There seems to have been some concern over non-QEMU use of ATA_DMA about five years ago, but I can find no particular concern over ATA_PIO32. Given the

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

2015-05-11 Thread Wei Liu
On Mon, May 11, 2015 at 04:09:53PM +0800, Chen, Tiejun wrote: On 2015/5/8 22:43, Wei Liu wrote: Sorry for the late review. This series fell through the crack. Thanks for your review. On Fri, Apr 10, 2015 at 05:21:55PM +0800, Tiejun Chen wrote: While building a VM, HVM domain builder

Re: [Xen-devel] [PATCH v2 3/6] libxc/migration: Be rather stricter with illformed callers

2015-05-11 Thread Ian Campbell
On Fri, 2015-05-08 at 22:14 +0100, Andrew Cooper wrote: The migration code itself should be able to validly assume all mandatory callbacks are set up. Signed-off-by: Andrew Cooper andrew.coop...@citrix.com CC: Ian Campbell ian.campb...@citrix.com CC: Ian Jackson ian.jack...@eu.citrix.com

Re: [Xen-devel] [PATCH v2 3/6] libxc/migration: Be rather stricter with illformed callers

2015-05-11 Thread Ian Campbell
On Mon, 2015-05-11 at 12:47 +0100, Andrew Cooper wrote: On 11/05/15 12:33, Ian Campbell wrote: On Fri, 2015-05-08 at 22:14 +0100, Andrew Cooper wrote: The migration code itself should be able to validly assume all mandatory callbacks are set up. Signed-off-by: Andrew Cooper

Re: [Xen-devel] [PATCH v2 4/6] libxc/save: Adjust stream-position callbacks for checkpointed streams

2015-05-11 Thread Andrew Cooper
On 11/05/15 13:05, Ian Campbell wrote: On Mon, 2015-05-11 at 12:56 +0100, Andrew Cooper wrote: On 11/05/15 12:36, Ian Campbell wrote: On Fri, 2015-05-08 at 22:14 +0100, Andrew Cooper wrote: There are some records which should only be sent once in the stream, and not repeated for each

Re: [Xen-devel] [PATCH v5 1/4] xen: introduce a helper to allocate non-contiguous memory

2015-05-11 Thread Roger Pau Monné
El 11/05/15 a les 12.41, Jan Beulich ha escrit: On 11.05.15 at 11:52, roger@citrix.com wrote: El 11/05/15 a les 9.42, Jan Beulich ha escrit: On 08.05.15 at 16:34, roger@citrix.com wrote: There actually is another problem here: You must not free the pages before having torn down the

Re: [Xen-devel] [PATCHv4 5/8] xen: use ticket locks for spin locks

2015-05-11 Thread David Vrabel
On 08/05/15 10:36, Jan Beulich wrote: +} +} smp_mb(); } The old code had smp_mb() before _and_ after the check - is it really correct to drop the one before (or effectively replace it by smp_rmb() in observe_{lock,head}())? Typical usage is: d-is_dying =

Re: [Xen-devel] [PATCH v2 4/6] libxc/save: Adjust stream-position callbacks for checkpointed streams

2015-05-11 Thread Ian Campbell
On Mon, 2015-05-11 at 12:56 +0100, Andrew Cooper wrote: On 11/05/15 12:36, Ian Campbell wrote: On Fri, 2015-05-08 at 22:14 +0100, Andrew Cooper wrote: There are some records which should only be sent once in the stream, and not repeated for each checkpoint. {start,end}_of_stream()

  1   2   >