Re: [Xen-devel] [PATCH v2 1/2] x86/mem-sharing: Bulk mem-sharing entire domains

2015-10-11 Thread Jan Beulich
>>> On 09.10.15 at 19:55, wrote: > On Fri, Oct 9, 2015 at 1:51 AM, Jan Beulich wrote: > >> >>> On 08.10.15 at 22:57, wrote: >> > --- a/xen/arch/x86/mm/mem_sharing.c >> > +++ b/xen/arch/x86/mm/mem_sharing.c >> > @@ -1293,6 +1293,37 @@ int relinquish_shared_pages(struct domain *d) >> > retur

[Xen-devel] [V6 4/4] libxc: expose xsaves/xgetbv1/xsavec to hvm guest

2015-10-11 Thread Shuai Ruan
This patch exposes xsaves/xgetbv1/xsavec to hvm guest. The reserved bits of eax/ebx/ecx/edx must be cleaned up when call cpuid(0dh) with leaf 1 or 2..63. According to the spec the following bits must be reserved: For leaf 1, bits 03-04/08-31 of ecx is reserved. Edx is reserved. For leaf 2...63, bi

[Xen-devel] [V6 3/4] x86/xsaves: enable xsaves/xrstors for hvm guest

2015-10-11 Thread Shuai Ruan
This patch enables xsaves for hvm guest, includes: 1.handle xsaves vmcs init and vmexit. 2.add logic to write/read the XSS msr. Reviewed-by: Andrew Cooper Signed-off-by: Shuai Ruan --- xen/arch/x86/hvm/hvm.c | 27 +++ xen/arch/x86/hvm/vmx/vmcs.c| 5 +

[Xen-devel] [V6 2/4] x86/xsaves: enable xsaves/xrstors/xsavec in xen

2015-10-11 Thread Shuai Ruan
This patch uses xsaves/xrstors/xsavec instead of xsaveopt/xrstor to perform the xsave_area switching so that xen itself can benefit from them when available. For xsaves/xrstors/xsavec only use compact format. Add format conversion support when perform guest os migration. Also, pv guest will not s

[Xen-devel] [V6 0/4] add xsaves/xrstors support

2015-10-11 Thread Shuai Ruan
From: Shuai Ruan Changes in v6: * Address comments from Jan. * Rebase the code based on Andrew'patch "xen/x86: Record xsave features in c->x86_capabilities". * Re-split the patch to avoid building errors. Move some func definitions from patch1 to patch2. * Change func name load/save_xsave_state

[Xen-devel] [V6 1/4] x86/xsaves: add basic definitions/helpers to support xsaves

2015-10-11 Thread Shuai Ruan
This patch add basic definitions/helpers which will be used in later patches. Signed-off-by: Shuai Ruan --- xen/arch/x86/xstate.c | 16 xen/include/asm-x86/hvm/vcpu.h | 1 + xen/include/asm-x86/msr-index.h | 2 ++ xen/include/asm-x86/xstate.h| 25 +++

[Xen-devel] [qemu-mainline baseline-only test] 38154: tolerable FAIL

2015-10-11 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 38154 qemu-mainline real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/38154/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-amd64-xl-qemuu-winxpsp3 9 windows-install

Re: [Xen-devel] [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing

2015-10-11 Thread Hu, Robert
> -Original Message- > From: Ian Jackson [mailto:ian.jack...@eu.citrix.com] > Sent: Saturday, September 26, 2015 3:15 AM > To: xen-de...@lists.xenproject.org > Cc: Hu, Robert ; Ian Campbell > ; Ian Jackson > Subject: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing > > This is the s

Re: [Xen-devel] [OSSTEST PATCH 15/26] DhcpWatch::leases: Fix a reporting message

2015-10-11 Thread Hu, Robert
> -Original Message- > From: Ian Jackson [mailto:ian.jack...@eu.citrix.com] > Sent: Saturday, September 26, 2015 3:15 AM > To: xen-de...@lists.xenproject.org > Cc: Hu, Robert ; Ian Campbell > ; Ian Jackson ; Ian > Jackson > Subject: [OSSTEST PATCH 15/26] DhcpWatch::leases: Fix a reporting

Re: [Xen-devel] [OSSTest Nested v12 19/21] Selecthost uses dynamic IP address if the host is not configured static IP.

2015-10-11 Thread Hu, Robert
> -Original Message- > From: Ian Jackson [mailto:ian.jack...@eu.citrix.com] > Sent: Saturday, September 26, 2015 12:59 AM > To: Hu, Robert > Cc: xen-devel@lists.xen.org; ian.campb...@citrix.com; wei.l...@citrix.com; > Jin, Gordon ; Zheng, Di > Subject: Re: [OSSTest Nested v12 19/21] Selec

Re: [Xen-devel] [OSSTest Nested v12 16/21] Add PDU power method for nested L1 and L2 guest

2015-10-11 Thread Hu, Robert
> -Original Message- > From: Ian Jackson [mailto:ian.jack...@eu.citrix.com] > Sent: Saturday, September 26, 2015 12:36 AM > To: Hu, Robert > Cc: xen-devel@lists.xen.org; ian.campb...@citrix.com; wei.l...@citrix.com; > Jin, Gordon ; Zheng, Di > Subject: Re: [OSSTest Nested v12 16/21] Add P

Re: [Xen-devel] [Patch RFC 00/13] VT-d Asynchronous Device-TLB Flush for ATS Device

2015-10-11 Thread Zhang, Yang Z
Xu, Quan wrote on 2015-09-16: > Introduction > > >VT-d code currently has a number of cases where completion of > certain operations is being waited for by way of spinning. The > majority of instances use that variable indirectly through > IOMMU_WAIT_OP() macro , allowing for loop

[Xen-devel] [xen-4.4-testing test] 62811: tolerable FAIL - PUSHED

2015-10-11 Thread osstest service owner
flight 62811 xen-4.4-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/62811/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-amd64-xl-qemuu-win7-amd64 17 guest-stop fail like 62616 test-armhf-armhf-xl-multiv

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

2015-10-11 Thread osstest service owner
flight 62816 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/62816/ Perfect :-) All tests in this flight passed version targeted for testing: ovmf 8145b63e975f86fad6ae09185cd228415b07c7e7 baseline version: ovmf 64df44b7e5d005598828c990500c2427bb1

[Xen-devel] [libvirt test] 62807: tolerable FAIL - PUSHED

2015-10-11 Thread osstest service owner
flight 62807 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/62807/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-libvirt-raw 9 debian-di-installfail never pass test-armhf-armhf-libvirt-qcow2 9 debian-di

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

2015-10-11 Thread osstest service owner
flight 62802 xen-4.5-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/62802/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-i386-xl-raw3 host-install(3) broken in 62756 pass in 62802 test-amd64-i386-freebsd10-amd64

[Xen-devel] [linux-linus test] 62780: regressions - trouble: broken/fail/pass

2015-10-11 Thread osstest service owner
flight 62780 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/62780/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-rumpuserxen-i386 3 host-install(3) broken REGR. vs. 59254 test-amd64-i386-qemut

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

2015-10-11 Thread osstest service owner
flight 62795 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/62795/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-armhf-armhf-xl-rtds 11 guest-start fail like 62748 Tests which did not succeed,

Re: [Xen-devel] xen 4.6.0 on jessie dom0 unable to start domUs and questions about systemd and build deps

2015-10-11 Thread Fabio Fantoni
Il 11/10/2015 17:43, Fabio Fantoni ha scritto: Il 11/10/2015 16:54, Wei Liu ha scritto: On Sat, Oct 10, 2015 at 03:08:54PM +0200, Fabio Fantoni wrote: [...] there was an error in generated config/Tools.mk I solved manually (replacing @debug@ with y), already reported here: http://lists.xen.org

Re: [Xen-devel] [PATCH] build: don't shadow debug with "@debug@" in tools build

2015-10-11 Thread Fabio Fantoni
Il 11/10/2015 16:41, Wei Liu ha scritto: In 16181cbb (tools: Honor Config.mk debug value, rather than setting our own), configure doesn't set debug variable anymore. There is, however, one place that was missed. The file config/Tools.mk.in was still expecting a @debug@ value from configure. After

Re: [Xen-devel] xen 4.6.0 on jessie dom0 unable to start domUs and questions about systemd and build deps

2015-10-11 Thread Fabio Fantoni
Il 11/10/2015 16:54, Wei Liu ha scritto: On Sat, Oct 10, 2015 at 03:08:54PM +0200, Fabio Fantoni wrote: [...] there was an error in generated config/Tools.mk I solved manually (replacing @debug@ with y), already reported here: http://lists.xen.org/archives/html/xen-devel/2015-10/msg01184.html

[Xen-devel] [PATCH] Qemu/Xen: Fix early freeing MSIX MMIO memory region

2015-10-11 Thread Lan Tianyu
From: > msix->mmio is added to XenPCIPassthroughState's object as property. object_finalize_child_property is called for XenPCIPassthroughState's object, which calls object_property_del_all, which is going to try to delete msix->mmio. object_finalize_child_property() will access msix->mmio's obj.

[Xen-devel] [seabios test] 62793: regressions - trouble: blocked/broken/fail/pass

2015-10-11 Thread osstest service owner
flight 62793 seabios real [real] http://logs.test-lab.xenproject.org/osstest/logs/62793/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 3 host-install(3) broken REGR. vs. 62315 test-amd64-amd64-xl-qemuu

Re: [Xen-devel] xen 4.6.0 on jessie dom0 unable to start domUs and questions about systemd and build deps

2015-10-11 Thread Wei Liu
On Sat, Oct 10, 2015 at 03:08:54PM +0200, Fabio Fantoni wrote: [...] > there was an error in generated config/Tools.mk I solved manually (replacing > @debug@ with y), already reported here: > http://lists.xen.org/archives/html/xen-devel/2015-10/msg01184.html > That one is a real bug and I've post

[Xen-devel] [PATCH] build: don't shadow debug with "@debug@" in tools build

2015-10-11 Thread Wei Liu
In 16181cbb (tools: Honor Config.mk debug value, rather than setting our own), configure doesn't set debug variable anymore. There is, however, one place that was missed. The file config/Tools.mk.in was still expecting a @debug@ value from configure. After 16181cbb that value remained "debug := @de

Re: [Xen-devel] Regression: debug not setted correctly in config/Tools.mk of xen 4.6

2015-10-11 Thread Wei Liu
On Fri, Oct 09, 2015 at 05:13:20PM +0200, Fabio Fantoni wrote: > In latest weeks building xen 4.6 with debug enable qemu trace was missed, > today building xen 4.6.0 I found the cause. > Even if debug ?= y in Config.mk, config/Tools.mk is not generate correctly, > have this line: > debug

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

2015-10-11 Thread osstest service owner
flight 62771 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/62771/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemut-win7-amd64 9 windows-install fail REGR. vs. 62711 test-amd64-i386-xl-q

Re: [Xen-devel] [Patch RFC 00/13] VT-d Asynchronous Device-TLB Flush for ATS Device

2015-10-11 Thread Xu, Quan
On 11.10.2015 at 2:25, wrote: > At 17:02 + on 07 Oct (1444237344), Xu, Quan wrote: > > Q2: how do you know when to drop them? > >- log (or something) when the IOMMU entry is removed/overwritten; and > >- drop the entry when the flush completes. > > > >-- We can add a new page_list_

[Xen-devel] [linux-4.1 test] 62775: regressions - trouble: broken/fail/pass

2015-10-11 Thread osstest service owner
flight 62775 linux-4.1 real [real] http://logs.test-lab.xenproject.org/osstest/logs/62775/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemut-stubdom-debianhvm-amd64-xsm 13 guest-localmigrate fail REGR. vs. 62318 Tests