[Xen-devel] [linux-mingo-tip-master test] 65418: regressions - FAIL

2015-12-06 Thread osstest service owner
flight 65418 linux-mingo-tip-master real [real] http://logs.test-lab.xenproject.org/osstest/logs/65418/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-multivcpu 6 xen-boot fail REGR. vs. 60684

Re: [Xen-devel] [PATCH] xen_pt: fix failure of attaching & detaching a PCI device to VM repeatedly

2015-12-06 Thread Li, Liang Z
> > Add pci = [ '$VF_BDF', '$VF_BDF', '$VF_BDF'] in > > This is a bit confusing: it is not actually correct to assign the same > device, even > an SR_IOV VF, multiple times, so these must be all different. More like: > > pci = [ '$VF_BDF1', '$VF_BDF2', '$VF_BDF3'] > > > > hvm guest

Re: [Xen-devel] [PATCH v2] libxl: free ifname on libxlDomainMigrationPrepareDef

2015-12-06 Thread Jim Fehlig
On 12/04/2015 12:45 PM, Joao Martins wrote: > Commit d2e5538b1 changes virDomainDef to include ifnames > that autogenerated by libxl, and that are also cleared > on domain cleanup. One place that's missing is on > migration, when domain xml is sent to dst libvirtd and > would contain ifnames from

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

2015-12-06 Thread osstest service owner
flight 65420 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/65420/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemut-winxpsp3 6 xen-boot fail REGR. vs. 59254

Re: [Xen-devel] [libvirt] [PATCH v2] libxl: free ifname on libxlDomainMigrationPrepareDef

2015-12-06 Thread Jim Fehlig
On 12/06/2015 10:04 AM, Jim Fehlig wrote: > On 12/04/2015 12:45 PM, Joao Martins wrote: >> Commit d2e5538b1 changes virDomainDef to include ifnames >> that autogenerated by libxl, and that are also cleared >> on domain cleanup. One place that's missing is on >> migration, when domain xml is sent

Re: [Xen-devel] [libvirt] [PATCH v2] libxl: free ifname on libxlDomainMigrationPrepareDef

2015-12-06 Thread Jim Fehlig
On 12/06/2015 10:59 AM, Jim Fehlig wrote: > On 12/06/2015 10:04 AM, Jim Fehlig wrote: >> On 12/04/2015 12:45 PM, Joao Martins wrote: >>> Commit d2e5538b1 changes virDomainDef to include ifnames >>> that autogenerated by libxl, and that are also cleared >>> on domain cleanup. One place that's

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

2015-12-06 Thread osstest service owner
flight 65412 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/65412/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-qemuu-nested-intel 16 debian-hvm-install/l1/l2 fail REGR. vs. 65114 Tests which

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

2015-12-06 Thread osstest service owner
flight 65419 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/65419/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-libvirt-pair 21 guest-migrate/src_host/dst_host fail REGR. vs. 63340

Re: [Xen-devel] [libvirt] [PATCH v2] libxl: free ifname on libxlDomainMigrationPrepareDef

2015-12-06 Thread Joao Martins
On 12/06/2015 06:11 PM, Jim Fehlig wrote: > On 12/06/2015 10:59 AM, Jim Fehlig wrote: >> On 12/06/2015 10:04 AM, Jim Fehlig wrote: >>> On 12/04/2015 12:45 PM, Joao Martins wrote: Commit d2e5538b1 changes virDomainDef to include ifnames that autogenerated by libxl, and that are also

Re: [Xen-devel] [PATCH v2 00/14] Add VMX TSC scaling support

2015-12-06 Thread Haozhong Zhang
I have tested this patchset on both Intel and AMD systems. For the test on AMD systems, I made two rounds of tests. The first round only applied bug-fix patches 1-6. The second round applied the entire series. In both rounds, I used the test process at

[Xen-devel] [libvirt bisection] complete test-amd64-amd64-libvirt-pair

2015-12-06 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job test-amd64-amd64-libvirt-pair testid guest-migrate/src_host/dst_host Tree: libvirt git://libvirt.org/libvirt.git Tree: libvirt_gnulib git://git.sv.gnu.org/gnulib.git Tree: linux git://xenbits.xen.org/linux-pvops.git Tree: linuxfirmware

[Xen-devel] [PATCH v2 11/14] x86/hvm: Move saving/loading vcpu's TSC to common code

2015-12-06 Thread Haozhong Zhang
Both VMX and SVM save/load vcpu's TSC when saving/loading vcpu's context, so this patch moves saving/loading vcpu's TSC to the common functions hvm_[save|load]_cpu_ctxt(). Signed-off-by: Haozhong Zhang Acked-by: Jan Beulich ---

[Xen-devel] [PATCH v2 10/14] x86/hvm: Replace architecture TSC scaling by a common function

2015-12-06 Thread Haozhong Zhang
This patch implements a common function hvm_scale_tsc() to scale TSC by using TSC scaling information collected by architecture code. Signed-off-by: Haozhong Zhang --- xen/arch/x86/hvm/hvm.c| 18 +-- xen/arch/x86/hvm/svm/svm.c| 12

[Xen-devel] [PATCH v2 14/14] docs: Add descriptions of TSC scaling in xl.cfg and tscmode.txt

2015-12-06 Thread Haozhong Zhang
Signed-off-by: Haozhong Zhang --- docs/man/xl.cfg.pod.5 | 15 ++- docs/misc/tscmode.txt | 14 ++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/docs/man/xl.cfg.pod.5 b/docs/man/xl.cfg.pod.5 index 2aca8dd..7e19a9b 100644 ---

[Xen-devel] [PATCH v2 12/14] x86/hvm: Detect TSC scaling through hvm_funcs

2015-12-06 Thread Haozhong Zhang
This patch uses hvm_funcs.tsc_scaling_supported instead of the architecture code to detect the TSC scaling support. Signed-off-by: Haozhong Zhang Acked-by: Jan Beulich --- xen/arch/x86/time.c | 9 - 1 file changed, 4 insertions(+), 5

[Xen-devel] [PATCH v2 09/14] x86/hvm: Setup TSC scaling ratio

2015-12-06 Thread Haozhong Zhang
This patch adds a field tsc_scaling_ratio in struct hvm_vcpu to record the TSC scaling ratio, and sets it up when tsc_set_info() is called for a vcpu or when a vcpu is restored or reset. Signed-off-by: Haozhong Zhang --- xen/arch/x86/hvm/hvm.c| 30

[Xen-devel] [PATCH v2 13/14] vmx: Add VMX RDTSC(P) scaling support

2015-12-06 Thread Haozhong Zhang
This patch adds the initialization and setup code for VMX TSC scaling. Signed-off-by: Haozhong Zhang --- xen/arch/x86/hvm/vmx/vmcs.c| 12 +--- xen/arch/x86/hvm/vmx/vmx.c | 15 +++ xen/include/asm-x86/hvm/vmx/vmcs.h | 7 +++ 3

[Xen-devel] [PATCH v2 00/14] Add VMX TSC scaling support

2015-12-06 Thread Haozhong Zhang
This patchset adds support for VMX TSC scaling feature which is available on Intel Skylake Server CPU. The specification of VMX TSC scaling can be found at http://www.intel.com/content/www/us/en/processors/timestamp-counter-scaling-virtualization-white-paper.html VMX TSC scaling allows guest TSC

[Xen-devel] [PATCH v2 01/14] svm: Fix incorrect TSC scaling

2015-12-06 Thread Haozhong Zhang
SVM TSC ratio is incorrectly used in the current svm_get_tsc_offset(). This patch replaces the scaling logic in svm_get_tsc_offset() with a correct implementation. Signed-off-by: Haozhong Zhang --- xen/arch/x86/hvm/svm/svm.c | 41

[Xen-devel] [PATCH v2 02/14] x86/time.c: Fix domain type check in tsc_set_info()

2015-12-06 Thread Haozhong Zhang
Replace is_hvm_domain() in tsc_set_info() by has_hvm_container_domain() to keep consistent with other domain type checks in tsc_set_info(). Signed-off-by: Haozhong Zhang --- xen/arch/x86/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[Xen-devel] [PATCH v2 03/14] x86/time.c: Use correct guest TSC frequency in tsc_set_info()

2015-12-06 Thread Haozhong Zhang
When TSC_MODE_PVRDTSCP is used for a HVM container and TSC scaling is available, use the non-zero value of argument gtsc_khz of tsc_set_info() as the guest TSC frequency rather than using the host TSC frequency. Otherwise, TSC scaling will not be able get the correct ratio between the host and

[Xen-devel] [PATCH v2 08/14] x86/hvm: Collect information of TSC scaling ratio

2015-12-06 Thread Haozhong Zhang
Both VMX TSC scaling and SVM TSC ratio use the 64-bit TSC scaling ratio, but the number of fractional bits of the ratio is different between VMX and SVM. This patch adds the architecture code to collect the number of fractional bits and other related information into fields of struct

[Xen-devel] [PATCH v2 04/14] x86/time.c: Use correct guest TSC frequency in tsc_get_info()

2015-12-06 Thread Haozhong Zhang
When the TSC mode of a HVM container is TSC_MODE_DEFAULT or TSC_MODE_PVRDTSCP and no TSC emulation is used, the existing tsc_get_info() uses the host TSC frequency (cpu_khz) as the guest TSC frequency. However, tsc_set_info() may set the guest TSC frequency to a value different than the host. In

[Xen-devel] [PATCH v2 05/14] x86/hvm: Scale host TSC when setting/getting guest TSC

2015-12-06 Thread Haozhong Zhang
The existing hvm_[set|get]_guest_tsc_fixed() calculate the guest TSC by adding the TSC offset to the host TSC. When the TSC scaling is enabled, the host TSC should be scaled first. This patch adds the scaling logic to those two functions. Signed-off-by: Haozhong Zhang

[Xen-devel] [PATCH v2 06/14] x86/time.c: Scale host TSC in pvclock properly

2015-12-06 Thread Haozhong Zhang
This patch makes the pvclock return the scaled host TSC and corresponding scaling parameters to HVM domains if guest TSC is not emulated and TSC scaling is enabled. Signed-off-by: Haozhong Zhang --- xen/arch/x86/time.c | 16 1 file changed, 12

[Xen-devel] [PATCH v2 07/14] svm: Remove redundant TSC scaling in svm_set_tsc_offset()

2015-12-06 Thread Haozhong Zhang
Now every caller passes an already scaled offset to svm_set_tsc_offset(), so it's not necessary to recalculate a scaled TSC offset in svm_set_tsc_offset(). Signed-off-by: Haozhong Zhang --- xen/arch/x86/hvm/svm/svm.c | 15 ++- 1 file changed, 2

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

2015-12-06 Thread osstest service owner
flight 65429 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/65429/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-qemuu-nested-intel 16 debian-hvm-install/l1/l2 fail REGR. vs. 65114 Tests which

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

2015-12-06 Thread osstest service owner
flight 65443 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/65443/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-qemuu-nested-intel 16 debian-hvm-install/l1/l2 fail REGR. vs. 65114 Tests which

Re: [Xen-devel] [PATCH] xen_pt: fix failure of attaching & detaching a PCI device to VM repeatedly

2015-12-06 Thread Chang, JianzhongX
>> An error message will be reported like this: >> "libxl: error: libxl_qmp.c:287:qmp_handle_error_response: received an >> error message from QMP server: Duplicate ID 'pci-pt-07_10.1' for device" >> >> When xen_pt_region_add/del() is called, MemoryRegion may not belong to >> the

[Xen-devel] [linux-linus bisection] complete test-amd64-i386-freebsd10-i386

2015-12-06 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job test-amd64-i386-freebsd10-i386 testid xen-boot Tree: linux git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git Tree: qemu