xen.org | 18 May 2013 16:22

[linux-linus test] 17981: regressions - trouble: broken/fail/pass

flight 17981 linux-linus real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/17981/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
 test-amd64-i386-rhel6hvm-amd  7 redhat-install            fail REGR. vs. 12557
 test-amd64-i386-pair   17 guest-migrate/src_host/dst_host fail REGR. vs. 12557

Regressions which are regarded as allowable (not blocking):
 test-amd64-i386-qemut-rhel6hvm-amd  7 redhat-install     fail blocked in 12557
 test-amd64-i386-pv            6 leak-check/basis(6)      fail blocked in 12557

Tests which did not succeed, but are not blocking:
 test-amd64-amd64-xl-pcipt-intel  9 guest-start                 fail never pass
 test-amd64-i386-xl-qemut-win7-amd64 13 guest-stop              fail never pass
 test-amd64-i386-xl-win7-amd64 13 guest-stop                   fail  never pass
 test-amd64-amd64-xl-qemut-win7-amd64 13 guest-stop             fail never pass
 test-amd64-amd64-xl-win7-amd64 13 guest-stop                   fail never pass
 test-amd64-i386-xend-qemut-winxpsp3 16 leak-check/check        fail never pass
 test-amd64-i386-xl-winxpsp3-vcpus1 13 guest-stop               fail never pass
 test-amd64-amd64-xl-qemut-winxpsp3 13 guest-stop               fail never pass
 test-amd64-amd64-xl-qemuu-win7-amd64 13 guest-stop             fail never pass
 test-amd64-i386-xl-qemut-winxpsp3-vcpus1 13 guest-stop         fail never pass
 test-amd64-i386-xend-winxpsp3 16 leak-check/check             fail  never pass
 test-amd64-amd64-xl-winxpsp3 13 guest-stop                   fail   never pass
 test-amd64-amd64-xl-qemuu-winxpsp3 13 guest-stop               fail never pass

version targeted for testing:
(Continue reading)

Alex Bligh | 18 May 2013 12:11
Picon

Xen 4.2 / Xen 4.3 ABI compatibility

Is there meant to be sufficient ABI compatibility between 4.2 and 4.3
that a program compiled and linked against 4.2 will run with 4.3's
dynamic libraries?

If the answer to this is 'yes', I think I may have some bugs to report.

--

-- 
Alex Bligh
xen.org | 18 May 2013 06:06

[xen-unstable test] 17977: regressions - FAIL

flight 17977 xen-unstable real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/17977/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
 build-i386                    4 xen-build                 fail REGR. vs. 17975
 build-i386-pvops              4 kernel-build              fail REGR. vs. 17975
 build-i386-oldkern            4 xen-build                 fail REGR. vs. 17975

Tests which did not succeed, but are not blocking:
 test-amd64-amd64-xl-pcipt-intel  9 guest-start                 fail never pass
 test-amd64-i386-xl-multivcpu  1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-xl-credit2    1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-qemuu-rhel6hvm-intel  1 xen-build-check(1)         blocked n/a
 test-amd64-i386-qemuu-rhel6hvm-amd  1 xen-build-check(1)           blocked n/a
 test-amd64-i386-qemut-rhel6hvm-intel  1 xen-build-check(1)         blocked n/a
 test-amd64-i386-rhel6hvm-amd  1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-xl            1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-qemut-rhel6hvm-amd  1 xen-build-check(1)           blocked n/a
 test-amd64-i386-pair          1 xen-build-check(1)           blocked  n/a
 test-amd64-amd64-xl-qemuu-winxpsp3 13 guest-stop               fail never pass
 test-amd64-amd64-xl-qemut-win7-amd64 13 guest-stop             fail never pass
 test-amd64-i386-xend-winxpsp3  1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-xl-win7-amd64  1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-pv            1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-rhel6hvm-intel  1 xen-build-check(1)           blocked  n/a
 test-amd64-amd64-xl-winxpsp3 13 guest-stop                   fail   never pass
 test-amd64-i386-xl-qemut-win7-amd64  1 xen-build-check(1)          blocked n/a
(Continue reading)

Gordan Bobic | 17 May 2013 22:14
Gravatar

Re: GPU passthrough with xen-unstable-atipassthrough patch

I'm trying to patch 4.2.2 using this patch, provided on a recent thread:

http://lists.xen.org/archives/html/xen-users/2013-03/msg00127.html

but the build fails:

ld: warning: section `.bss' type changed to PROGBITS
/root/rpmbuild/BUILD/xen-4.2.2/stubdom/mini-os-x86_64-ioemu/mini-os.o: 
In function `ati_hw_out':
/root/rpmbuild/BUILD/xen-4.2.2/stubdom/../tools/qemu-xen-traditional/hw/pt-graphics.c:82: 
undefined reference to `iopl'
/root/rpmbuild/BUILD/xen-4.2.2/stubdom/../tools/qemu-xen-traditional/hw/pt-graphics.c:84: 
undefined reference to `iopl'
/root/rpmbuild/BUILD/xen-4.2.2/stubdom/mini-os-x86_64-ioemu/mini-os.o: 
In function `ati_hw_in':
/root/rpmbuild/BUILD/xen-4.2.2/stubdom/../tools/qemu-xen-traditional/hw/pt-graphics.c:72: 
undefined reference to `iopl'
/root/rpmbuild/BUILD/xen-4.2.2/stubdom/../tools/qemu-xen-traditional/hw/pt-graphics.c:74: 
undefined reference to `iopl'
make[2]: *** 
[/root/rpmbuild/BUILD/xen-4.2.2/stubdom/mini-os-x86_64-ioemu/mini-os] 
Error 1
make[2]: Leaving directory `/root/rpmbuild/BUILD/xen-4.2.2/extras/mini-os'
make[1]: *** [ioemu-stubdom] Error 2
make[1]: Leaving directory `/root/rpmbuild/BUILD/xen-4.2.2/stubdom'
make: *** [install-stubdom] Error 2

Is there a patch against 4.2.2 somewhere, before I dig into the source?

Where is iopl() defined?
(Continue reading)

Guido Trotter | 16 May 2013 14:00
Picon
Favicon

[PATCH] Fix obscure domain creation fail error

Author: Ian Jackson <ian.jackson <at> eu.citrix.com>

Ian Jackson wrote this on my laptop during the hackathon to fix some
obscure error message I was getting. Note that:

1) There are other parts that do the same, so perhaps they are worth
looking at
2) The error is still quite obscure, as the actual issue was
"virtualization extension disabled" while using xen-hvm, but the errno
choosen was about "allocating memory" and libxl complains about "parsing
the config file" which are not actual problems.

---
 tools/libxl/libxl_create.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/libxl/libxl_create.c b/tools/libxl/libxl_create.c
index b0939cc..0be7de5 100644
--- a/tools/libxl/libxl_create.c
+++ b/tools/libxl/libxl_create.c
 <at>  <at>  -314,7 +314,7  <at>  <at>  int libxl__domain_make(libxl_ctx *ctx, libxl_domain_create_info *info,

     ret = xc_domain_create(ctx->xch, info->ssidref, handle, flags, domid);
     if (ret < 0) {
-        LIBXL__LOG_ERRNOVAL(ctx, LIBXL__LOG_ERROR, ret, "domain creation fail");
+        LIBXL__LOG_ERRNO(ctx, LIBXL__LOG_ERROR, "domain creation fail");
         rc = ERROR_FAIL;
         goto out;
     }
--

-- 
(Continue reading)

Xen.org | 17 May 2013 17:45

Xen Security Advisory 56 (CVE-2013-2072) - Buffer overflow in xencontrol Python bindings affecting xend


	     Xen Security Advisory CVE-2013-2072 / XSA-56
                              version 2

     Buffer overflow in xencontrol Python bindings affecting xend

UPDATES IN VERSION 2
====================

Public release.

ISSUE DESCRIPTION
=================

The Python bindings for the xc_vcpu_setaffinity call do not properly
check their inputs. Systems which allow untrusted administrators to
configure guest vcpu affinity may be exploited to trigger a buffer
overrun and corrupt memory.

IMPACT
======

An attacker who is able to configure a specific vcpu affinity via a
toolstack which uses the Python bindings is able to exploit this
issue.

Exploiting this issue leads to memory corruption which may result in a
DoS against the system by crashing the toolstack. The possibility of
code execution (privilege escalation) has not been ruled out.

(Continue reading)

Lars Kurth | 17 May 2013 17:00
Favicon
Gravatar

Xen 4.3 RC2 and Xen Test Day (May 22nd 2013)

Hi everybody,

just a quick reminder that Xen 4.3 RC2 will be out by next Tuesday (May 
21nd) and that we are planning a Xen Test Day on May 22nd. For more 
information see:
- On Xen Test Days: http://wiki.xen.org/wiki/Xen_Test_Days
- On getting and testing RC2: 
http://wiki.xen.org/wiki/Xen_4.3_RC2_test_instructions
- Generic test information: http://wiki.xen.org/wiki/Testing_Xen

See you on freenode channel #xentest next Tuesday

Regards
Lars
Andrew Cooper | 17 May 2013 15:21

[PATCH] xen/makefile: Allow XEN_CHANGESET to be set externally

Build systems based on tarballs rather than source code trees, such as
rpms/debs are unable to obtain changeset infomation.

Allow XEN_CHANGESET to be optionally specified in the environment.

Signed-off-by: Andrew Cooper <andrew.cooper3 <at> citrix.com>

---

Changes from v1:
 * Rebase on top of "Use {git, hg, svn} commit id if available for xen_changeset"

diff -r 2369a9d759f0 -r 396ebb07e2d0 xen/Makefile
--- a/xen/Makefile
+++ b/xen/Makefile
 <at>  <at>  -13,6 +13,7  <at>  <at>  export BASEDIR := $(CURDIR)
 export XEN_ROOT := $(BASEDIR)/..

 EFI_MOUNTPOINT ?= /boot/efi
+XEN_CHANGESET  ?= $(shell tools/scmversion $(XEN_ROOT) || echo "unavailable")

 .PHONY: default
 default: build
 <at>  <at>  -126,7 +127,7  <at>  <at>  include/xen/compile.h: include/xen/compi
 	    -e 's/ <at>  <at> version <at>  <at> /$(XEN_VERSION)/g' \
 	    -e 's/ <at>  <at> subversion <at>  <at> /$(XEN_SUBVERSION)/g' \
 	    -e 's/ <at>  <at> extraversion <at>  <at> /$(XEN_EXTRAVERSION)/g' \
-	    -e 's! <at>  <at> changeset <at>  <at> !$(shell tools/scmversion $(XEN_ROOT) || echo "unavailable")!g' \
+	    -e 's! <at>  <at> changeset <at>  <at> !$(XEN_CHANGESET)!g' \
 	    < include/xen/compile.h.in > $ <at> .new
(Continue reading)

xen.org | 17 May 2013 14:39

[linux-linus test] 17976: regressions - FAIL

flight 17976 linux-linus real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/17976/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
 build-amd64-pvops             4 kernel-build              fail REGR. vs. 12557
 build-i386-pvops              4 kernel-build              fail REGR. vs. 12557

Tests which did not succeed, but are not blocking:
 test-amd64-i386-xl            1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-xl-multivcpu  1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-xl-credit2    1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-qemuu-rhel6hvm-amd  1 xen-build-check(1)           blocked n/a
 test-amd64-amd64-xl-pcipt-intel  1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-qemut-rhel6hvm-intel  1 xen-build-check(1)         blocked n/a
 test-amd64-amd64-xl-sedf-pin  1 xen-build-check(1)           blocked  n/a
 test-amd64-amd64-pv           1 xen-build-check(1)           blocked  n/a
 test-amd64-amd64-xl-sedf      1 xen-build-check(1)           blocked  n/a
 test-amd64-amd64-xl           1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-qemuu-rhel6hvm-intel  1 xen-build-check(1)         blocked n/a
 test-amd64-i386-rhel6hvm-intel  1 xen-build-check(1)           blocked  n/a
 test-amd64-amd64-pair         1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-rhel6hvm-amd  1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-xl-qemut-win7-amd64  1 xen-build-check(1)          blocked n/a
 test-amd64-i386-qemut-rhel6hvm-amd  1 xen-build-check(1)           blocked n/a
 test-amd64-i386-xl-win7-amd64  1 xen-build-check(1)           blocked  n/a
 test-amd64-amd64-xl-qemut-win7-amd64  1 xen-build-check(1)         blocked n/a
 test-amd64-amd64-xl-win7-amd64  1 xen-build-check(1)           blocked  n/a
(Continue reading)

xen.org | 17 May 2013 13:16

[xen-unstable test] 17975: tolerable FAIL

flight 17975 xen-unstable real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/17975/

Failures :-/ but no regressions.

Tests which did not succeed, but are not blocking:
 test-amd64-amd64-xl-pcipt-intel  9 guest-start                 fail never pass
 test-amd64-amd64-xl-qemuu-winxpsp3 13 guest-stop               fail never pass
 test-amd64-amd64-xl-qemut-win7-amd64 13 guest-stop             fail never pass
 test-amd64-i386-xend-winxpsp3 16 leak-check/check             fail  never pass
 test-amd64-i386-xl-win7-amd64 13 guest-stop                   fail  never pass
 test-amd64-amd64-xl-winxpsp3 13 guest-stop                   fail   never pass
 test-amd64-i386-xl-qemut-win7-amd64 13 guest-stop              fail never pass
 test-amd64-amd64-xl-qemut-winxpsp3 13 guest-stop               fail never pass
 test-amd64-i386-xl-winxpsp3-vcpus1 13 guest-stop               fail never pass
 test-amd64-i386-xl-qemut-winxpsp3-vcpus1 13 guest-stop         fail never pass
 test-amd64-i386-xend-qemut-winxpsp3 16 leak-check/check        fail never pass
 test-amd64-amd64-xl-qemuu-win7-amd64 13 guest-stop             fail never pass
 test-amd64-amd64-xl-win7-amd64 13 guest-stop                   fail never pass

version targeted for testing:
 xen                  5d43891bf4002b754cd90d83e91d9190e8c8b9d0
baseline version:
 xen                  5d43891bf4002b754cd90d83e91d9190e8c8b9d0

jobs:
 build-amd64                                                  pass    
 build-armhf                                                  pass    
 build-i386                                                   pass    
 build-amd64-oldkern                                          pass    
(Continue reading)

Julien Grall | 17 May 2013 12:49
Favicon

[PATCH] xen/arm: Don't hardcode event channel IRQ

On some board the PPI 31 is already used by another device. Xen finds a free
slot by starting from the end of PPIs and decreasing.

For the moment, guest will use the same event channel IRQ number as dom0.

Move map_devices_from_device_tree before generating dom0 DTB, because the
latter function will use the IRQ found by the first function.

Signed-off-by: Julien Grall <julien.grall <at> linaro.org>
---
 xen/arch/arm/domain.c         |    8 ++++-
 xen/arch/arm/domain_build.c   |   68 +++++++++++++++++++++++++++++++++--------
 xen/arch/arm/gic.c            |    2 +-
 xen/include/asm-arm/domain.h  |    2 ++
 xen/include/asm-arm/event.h   |    4 ++-
 xen/include/asm-arm/gic.h     |    3 --
 xen/include/asm-arm/irq.h     |    8 +++++
 xen/include/xen/device_tree.h |    3 ++
 8 files changed, 79 insertions(+), 19 deletions(-)

diff --git a/xen/arch/arm/domain.c b/xen/arch/arm/domain.c
index 9ca44ea..ebd94d3 100644
--- a/xen/arch/arm/domain.c
+++ b/xen/arch/arm/domain.c
 <at>  <at>  -481,6 +481,10  <at>  <at>  int arch_domain_create(struct domain *d, unsigned int domcr_flags)
     d->arch.vpidr = boot_cpu_data.midr.bits;
     d->arch.vmpidr = boot_cpu_data.mpidr.bits;

+    /* TODO: retrieve the evtchn IRQ from the guest DTS */
+    if ( d->domain_id )
(Continue reading)


Gmane