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

2015-05-10 Thread Jan Beulich
>>> On 11.05.15 at 00:04, wrote: > On Fri, May 8, 2015 at 2:49 AM, Jan Beulich wrote: >> >>> On 07.05.15 at 19:05, wrote: >> > @@ -1110,6 +1113,67 @@ rt_dom_cntl( >> > } >> > spin_unlock_irqrestore(&prv->lock, flags); >> > break; >> > +case XEN_DOMCTL_SCHEDOP_getvc

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

2015-05-10 Thread Zhang, Yang Z
Jan Beulich wrote on 2015-05-11: On 11.05.15 at 04:53, 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_do

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

2015-05-10 Thread Han, Huaitong
On Fri, 2015-05-08 at 11:11 +0100, Jan Beulich wrote: > >>> On 08.05.15 at 11:40, 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 pointed out before.

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

2015-05-10 Thread Jan Beulich
>>> On 08.05.15 at 22:51, wrote: > On Thu, May 07, 2015 at 06:47:12AM +0100, Jan Beulich wrote: >> >>> Elena Ufimtseva 05/06/15 6:50 PM >>> >> >In your proposed second valid case, segment 0001 should be assumed for >> > >> >second device as its own segment is not specified? >> >> Exactly

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

2015-05-10 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 and

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

2015-05-10 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. A

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

2015-05-10 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] [RFC][PATCH 03/13] tools/libxc: Expose new hypercall xc_reserved_device_memory_map

2015-05-10 Thread Chen, Tiejun
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 parameters. If flag == PCI_DEV_RDM_ALL, all entries should be ex

Re: [Xen-devel] [RFC][PATCH 01/13] tools: introduce some new parameters to set rdm policy

2015-05-10 Thread Chen, Tiejun
On 2015/5/8 21:04, Wei Liu wrote: Sorry for the late review. Really thanks for taking your time :) On Fri, Apr 10, 2015 at 05:21:52PM +0800, Tiejun Chen wrote: This patch introduces user configurable parameters to specify RDM resource and according policies, Global RDM parameter: rdm

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

2015-05-10 Thread Wei Liu
Please don't top post. On Mon, May 11, 2015 at 01:52:38AM +, lidonglin wrote: > Hi all: > Did you encounter this BSOD problem ? I try > git://xenbits.xen.org/ovmf.git and other ovmf repos. I found > installing win8 64bit os (memory > 4G) with OVMF on xen > hypervisor al

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

2015-05-10 Thread osstest service user
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 15 guest-localmigrate.2 fail in 53933 REGR. vs. 36608 Tests which are

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

2015-05-10 Thread Zhang, Yang Z
Jan Beulich wrote on 2015-05-07: > Handing INVALID_GFN to functions like hd->platform_ops->map_page() just > can't do any good, and the ioreq server code results in such pages being on > the > list of ones owned by a guest. > > While - as suggested by Tim - we should use get_gfn()/put_gfn() there

Re: [Xen-devel] [PATCH 0/3] Misc patches to aid migration v2 Remus support

2015-05-10 Thread Hongyang Yang
On 05/08/2015 09:15 PM, Andrew Cooper wrote: On 08/05/15 13:54, Andrew Cooper wrote: See individual patches for details. Git tree available at: git://xenbits.xen.org/people/andrewcoop/xen.git remus-migv2-v1 Yang: Please feel free to consume some of all of these patches as appropriate into

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

2015-05-10 Thread Hongyang Yang
On 05/08/2015 09:55 PM, Andrew Cooper wrote: On 08/05/15 14:50, Ian Campbell wrote: On Fri, 2015-05-08 at 14:37 +0100, Andrew Cooper wrote: Does Remus currently function if the sending toolstack suddenly disappears out of the mix? I would assume so, that's its entire purpose... But the sig

[Xen-devel] [XenRT] Cache-Aware Real-Time Xen: Partition shared cache for guest domains in Xen via page coloring

2015-05-10 Thread Meng Xu
Hi Dario and George, I'm working on considering the shared-cache interference effect into the schedulers (both in VMM and in VM) to improve the schedulability of the whole system. To be specific, I'm doing the following things: (1) Investigating the shared-cache interference on the real-time perfo

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

2015-05-10 Thread Hongyang Yang
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 HVM guests, the HVM context and params are

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

2015-05-10 Thread lidonglin
Hi all: Did you encounter this BSOD problem ? I try git://xenbits.xen.org/ovmf.git and other ovmf repos. I found installing win8 64bit os (memory > 4G) with OVMF on xen hypervisor always failed with BSOD. I also tried to do some thing on kvm, there is no this problem. I don't what's the

Re: [Xen-devel] [PATCH v7 00/14] enable Cache Allocation Technology (CAT) for VMs

2015-05-10 Thread Chao Peng
On Fri, May 08, 2015 at 03:11:27PM +0100, Ian Campbell wrote: > On Fri, 2015-05-08 at 14:48 +0100, Jan Beulich wrote: > > >>> On 08.05.15 at 15:41, wrote: > > > On Fri, 2015-05-08 at 16:56 +0800, Chao Peng wrote: > > >> Changes in v7: > > > > > > I've now acked the last of the tools stuff. > > >

Re: [Xen-devel] [PATCH v7 02/14] x86: improve psr scheduling code

2015-05-10 Thread Chao Peng
On Fri, May 08, 2015 at 11:20:45AM +0100, Jan Beulich wrote: > >>> On 08.05.15 at 10:56, wrote: > > Switching RMID from previous vcpu to next vcpu only needs to write > > MSR_IA32_PSR_ASSOC once. Write it with the value of next vcpu is enough, > > no need to write '0' first. Idle domain has RMID s

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

2015-05-10 Thread Hongyang Yang
On 05/08/2015 06:16 PM, Andrew Cooper wrote: On 08/05/15 10:33, 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 Signed-off-by: Yang Hongyang --- tools/libxc/include/xenctrl.h | 8 1

Re: [Xen-devel] [PATCH Remus v2 03/10] tools/libxc: rename send_some_pages to send_dirty_pages

2015-05-10 Thread Hongyang Yang
On 05/08/2015 06:11 PM, Andrew Cooper wrote: On 08/05/15 10:33, Yang Hongyang wrote: rename send_some_pages to send_dirty_pages, no functional change. Signed-off-by: Yang Hongyang --- tools/libxc/xc_sr_save.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/

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

2015-05-10 Thread Hongyang Yang
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 +--- 1 file changed, 44 insertions(+), 28 deletions(-) diff --git a/too

[Xen-devel] [qemu-mainline test] 54832: tolerable FAIL - PUSHED

2015-05-10 Thread osstest service user
flight 54832 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/54832/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-i386-xl-qemuu-win7-amd64 9 windows-install fail in 53914 pass in 54832 test-amd64-amd64-xl-multivcpu

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

2015-05-10 Thread Chong Li
On Fri, May 8, 2015 at 2:49 AM, Jan Beulich wrote: > >>> On 07.05.15 at 19:05, wrote: > > --- a/xen/common/sched_rt.c > > +++ b/xen/common/sched_rt.c > > @@ -1085,6 +1085,9 @@ rt_dom_cntl( > > struct list_head *iter; > > unsigned long flags; > > int rc = 0; > > +xen_domctl_sch

[Xen-devel] [xen-unstable test] 54309: regressions - trouble: blocked/broken/fail/pass

2015-05-10 Thread osstest service user
flight 54309 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/54309/ Regressions :-( 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

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

2015-05-10 Thread osstest service user
flight 54095 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/54095/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-rumpuserxen-i386 15 rumpuserxen-demo-xenstorels/xenstorels.repeat fail REGR. vs. 503

Re: [Xen-devel] pvgrub regression in xen.git 123c77937975

2015-05-10 Thread Ian Campbell
On Sun, 2015-05-10 at 13:20 +0100, Wei Liu wrote: > On Sun, May 10, 2015 at 07:19:09AM +0100, Ian Campbell wrote: > > On Fri, 2015-05-08 at 17:16 +0100, Ian Campbell wrote: > > > There seems to be a pvgrub regression somewhere in the range > > > 3a28f760508f..123c77937975 > > > > The bisector has

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

2015-05-10 Thread Wei Liu
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 Cc: Ian Campbell Cc: Ian Jackson --- stubdom/grub/kexec.c | 5 +++-- 1 file changed, 3 insertio

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

2015-05-10 Thread osstest service user
flight 53959 linux-3.4 real [real] http://logs.test-lab.xenproject.org/osstest/logs/53959/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-pair15 debian-install/dst_host fail REGR. vs. 32769-bisect test-amd64-amd64-xl

Re: [Xen-devel] pvgrub regression in xen.git 123c77937975

2015-05-10 Thread Wei Liu
On Sun, May 10, 2015 at 07:19:09AM +0100, Ian Campbell wrote: > On Fri, 2015-05-08 at 17:16 +0100, Ian Campbell wrote: > > There seems to be a pvgrub regression somewhere in the range > > 3a28f760508f..123c77937975 > > The bisector has fingered: > > commit 840837907c6186307c19abbec926852b

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

2015-05-10 Thread osstest service user
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 guest-localmigrate fail REGR. vs. 52776 Regressions which are regard