Re: [Xen-devel] [PATCH v2 0/9] Porting the intel_pstate driver to Xen

2015-05-13 Thread Wang, Wei W
Appologies if you received multiple emails of this patch. Just couldn't see it showing up in the mailinglist. Best, Wei On 28/04/2015 16:37, Wei Wang wrote Changes: *NO.1 The intel_pstate driver can be controlled via two ways: A. min_perf_pct and max_perf_pct The user directly adjusts

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

2015-05-13 Thread Ian Campbell
On Mon, 2015-05-11 at 10:36 -0600, Jim Fehlig wrote: [...] The qemu log is sadly empty so I've no clue why this timed out. I guess qemu didn't run at all... Perhaps there is something in

[Xen-devel] Status of ARM features (Was: Re: Xen 4.6 Development Update (four months reminder))

2015-05-13 Thread Julien Grall
(trimming the list of cc) Hi Wei, On 13/05/2015 06:01, wei.l...@citrix.com wrote: === Hypervisor ARM === * Mem_access for ARM (good) v15 posted - Tamas K Lengyel I think all the patches for this patch series has been pushed. Tamas, Can you confirm? * ITS support (fair ) -

Re: [Xen-devel] [OSSTEST v6 13/24] distros: support PV guest install from Debian netinst media.

2015-05-13 Thread Ian Campbell
On Tue, 2015-05-12 at 16:52 +0100, Ian Jackson wrote: Ian Campbell writes ([OSSTEST v6 13/24] distros: support PV guest install from Debian netinst media.): The netinst media are iso images containing a base Debian install and some (image size dependent) additional tasks. Most of this

Re: [Xen-devel] [PATCHv4 1/5] x86: provide add_sized()

2015-05-13 Thread David Vrabel
On 13/05/15 10:23, Jan Beulich wrote: On 11.05.15 at 16:37, david.vra...@citrix.com wrote: @@ -53,6 +67,19 @@ void __bad_atomic_size(void); } \ }) +#define add_sized(p, x) ({\ +typeof(*(p)) __x =

[Xen-devel] [OSSTEST PATCH 2/6] ts-xen-build-prep: Abolish background parameter to lvextend

2015-05-13 Thread Ian Jackson
Signed-off-by: Ian Jackson ijack...@chiark.greenend.org.uk --- ts-xen-build-prep | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/ts-xen-build-prep b/ts-xen-build-prep index 23c901b..a9c9e4a 100755 --- a/ts-xen-build-prep +++ b/ts-xen-build-prep @@ -65,11 +65,11

[Xen-devel] [OSSTEST PATCH 1/6] Revert ts-xen-build-prep: Run the backgrounded resize2fs with ionice

2015-05-13 Thread Ian Jackson
This did not really help. We are going to do something different. This reverts commit ee31a32af1fc9a38ad08b4a36ee69e1c58ea0828. --- ts-xen-build-prep |5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ts-xen-build-prep b/ts-xen-build-prep index 3684c0a..23c901b 100755

[Xen-devel] [OSSTEST PATCH 4/6] ts-xen-build-prep: Break out determine_vg_lv

2015-05-13 Thread Ian Jackson
And make $lv a global. Signed-off-by: Ian Jackson ian.jack...@eu.citrix.com --- ts-xen-build-prep | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/ts-xen-build-prep b/ts-xen-build-prep index a9c9e4a..856d97b 100755 --- a/ts-xen-build-prep +++ b/ts-xen-build-prep

[Xen-devel] [OSSTEST PATCH 5/6] ts-xen-build-prep: mkfs a new /home/osstest, don't resize2fs

2015-05-13 Thread Ian Jackson
Online resize is 40x slower than mkfs. It appears that the backgrounded resize2fs can starve build tasks of IO bandwidth. So instead, use mkfs to make a new filesystem for /home/osstest. We use rsync to copy in the old contents. For convenience of (a) review (b) possible reversion, we keep (for

[Xen-devel] [OSSTEST PATCH 3/6] TestSupport: break out lv_dev_mapper

2015-05-13 Thread Ian Jackson
Signed-off-by: Ian Jackson ijack...@chiark.greenend.org.uk --- Osstest/TestSupport.pm | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index 3ff70a5..bfccaf1 100644 --- a/Osstest/TestSupport.pm +++

Re: [Xen-devel] [BUG] Centos 7 shutdown can cause dom0 kernel panic

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-13 at 11:03 +0200, Armin Zentai wrote: Dear Xen Developers! I'd like to report you a bug, that can cause HV reboot. Thanks. FWIW this is a dom0 kernel panic somewhere in either the network or iscsi stack, not a panic in the hypervisor itself. I mention this because the set

[Xen-devel] [OSSTEST PATCH 6/6] Revert ts-logs-capture: collect resize2fs.log

2015-05-13 Thread Ian Jackson
This is no longer generated. This reverts commit 9f299b936d1812bfd958d2771676a8de3cf9c060. --- ts-logs-capture |2 -- 1 file changed, 2 deletions(-) diff --git a/ts-logs-capture b/ts-logs-capture index 4ad55b9..f6eca78 100755 --- a/ts-logs-capture +++ b/ts-logs-capture @@ -128,8 +128,6 @@

[Xen-devel] qemu device model question

2015-05-13 Thread Juergen Gross
Hi, while trying to build a pvusb backend in qemu I think I've found a general issue in xl: qemu for pv-domains is started only at domain creation and only if there is at least one backend in qemu required. If there is no qemu process started for the domain at creation time it will be

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

2015-05-13 Thread Ian Campbell
On Tue, 2015-05-12 at 19:04 +0100, Stefano Stabellini wrote: On Tue, 12 May 2015, Ian Jackson wrote: Stefano Stabellini writes ([PATCH v5] OSSTEST: introduce a raisin build test): Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com ... +echo config

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

2015-05-13 Thread Jan Beulich
On 11.05.15 at 16:37, david.vra...@citrix.com wrote: Replace the byte locks with ticket locks. Ticket locks are: a) fair; and b) peform better when contented since they spin without an atomic operation. The lock is split into two ticket values: head and tail. A locker acquires a ticket

[Xen-devel] [PATCH v6 05/10] xsm: add XENMEM_soft_reset support

2015-05-13 Thread Vitaly Kuznetsov
Dummy policy just checks that the current domain is privileged, in flask policy soft_reset is added to create_domain. Signed-off-by: Vitaly Kuznetsov vkuzn...@redhat.com --- tools/flask/policy/policy/modules/xen/xen.if | 2 +- xen/common/memory.c | 4

[Xen-devel] [PATCH v6 09/10] libxc: add XC_DEVICE_MODEL_SAVE_FILE

2015-05-13 Thread Vitaly Kuznetsov
Use this in libxl_dm instead of hard-coding. Signed-off-by: Vitaly Kuznetsov vkuzn...@redhat.com --- tools/libxc/include/xenguest.h | 1 + tools/libxl/libxl_dm.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/libxc/include/xenguest.h

[Xen-devel] [PATCH v6 03/10] xen: introduce DOMDYING_locked state

2015-05-13 Thread Vitaly Kuznetsov
The new state is required as a prerequisite to implementing soft reset operation for domains. In this operation we need to make sure that source domain's mappings don't change while we are reassigning all its memory to the destination domain. This new state indicates that the particular domain is

[Xen-devel] [PATCH v6 04/10] xen: Introduce XENMEM_soft_reset operation

2015-05-13 Thread Vitaly Kuznetsov
New operation reassigns all memory pages from source domain to the destination domain mapping them at exactly the same GFNs. Pages mapped more than once (e.g. grants) are being copied. Signed-off-by: Vitaly Kuznetsov vkuzn...@redhat.com --- xen/common/memory.c | 232

[Xen-devel] [PATCH v6 01/10] xen: introduce SHUTDOWN_soft_reset shutdown reason

2015-05-13 Thread Vitaly Kuznetsov
This special type of shutdown is supposed to be used by PVHVM guests when they want to perform some sort of kexec/kdump. Toolstack will have to build a new domain with the memory content of the original domain and start executing the new one from the point where SHUTDOWN_soft_reset was called.

[Xen-devel] [PATCH v6 00/10] toolstack-based approach to pvhvm guest kexec

2015-05-13 Thread Vitaly Kuznetsov
This patch series provides x86 PVHVM domains with an ability to perform kexec/kdump. The main change in v6 is the XEN_DOMCTL_devour - XENMEM_soft_reset change of the newly introduced hypercall. This change was made because of two main reasons: 1) Make it ARM-friendly by eliminating the

Re: [Xen-devel] [RFC PATCH 00/13] Persistent grant maps for xen net drivers

2015-05-13 Thread David Vrabel
On 12/05/15 18:18, Joao Martins wrote: Packet I/O Tests: Measured on a Intel Xeon E5-1650 v2, Xen 4.5, no HT. Used pktgen burst 1 and clone_skbs 10 (to avoid alloc skb overheads) with various pkt sizes. All tests are DomU - Dom0, unless specified otherwise. Are all these measurements

[Xen-devel] [PATCH Remus v3 3/3] libxc/restore: implement Remus checkpointed restore

2015-05-13 Thread Yang Hongyang
With Remus, the restore flow should be: the first full migration stream - { periodically restore stream } Signed-off-by: Yang Hongyang yan...@cn.fujitsu.com Signed-off-by: Andrew Cooper andrew.coop...@citrix.com CC: Ian Campbell ian.campb...@citrix.com CC: Ian Jackson ian.jack...@eu.citrix.com

[Xen-devel] [PATCH Remus v3 2/3] libxc/restore: add checkpointed flag to the restore context

2015-05-13 Thread Yang Hongyang
add checkpointed flag to the restore context. Signed-off-by: Yang Hongyang yan...@cn.fujitsu.com CC: Ian Campbell ian.campb...@citrix.com CC: Ian Jackson ian.jack...@eu.citrix.com CC: Wei Liu wei.l...@citrix.com CC: Andrew Cooper andrew.coop...@citrix.com --- tools/libxc/xc_sr_common.h | 3 +++

Re: [Xen-devel] [PATCH OSSTEST] Toolstack::xl: Support for ACPI fallback for shutdown

2015-05-13 Thread Ian Campbell
On Tue, 2015-05-12 at 14:36 -0600, Jim Fehlig wrote: Ian. From f560b7eed781a93567d69bcf90260c7475854766 Mon Sep 17 00:00:00 2001 From: Ian Campbell ian.campb...@citrix.com Date: Thu, 7 May 2015 16:37:18 +0100 Subject: [PATCH] Toolstack::libvirt: Support for ACPI fallback for shutdown

[Xen-devel] [PATCH Remus v3 1/3] libxc/save: implement Remus checkpointed save

2015-05-13 Thread Yang Hongyang
With Remus, the save flow should be: live migration-{ periodically save(checkpointed save) } Signed-off-by: Yang Hongyang yan...@cn.fujitsu.com CC: Ian Campbell ian.campb...@citrix.com CC: Ian Jackson ian.jack...@eu.citrix.com CC: Wei Liu wei.l...@citrix.com CC: Andrew Cooper

[Xen-devel] [PATCH Remus v3 0/3] Remus support for Migration-v2

2015-05-13 Thread Yang Hongyang
This patchset implement the Remus support for Migration v2 but without memory compressing. Git tree available at: https://github.com/macrosheep/xen/tree/Remus-newmig-v3 This patchset is based on [PATCH v5 00/14] Misc patches to aid migration v2 Remus support

Re: [Xen-devel] Xen 4.6 Development Update (four months reminder)

2015-05-13 Thread Tamas K Lengyel
* Clean-up of mem-event subsystem (good) v9 posted - Tamas K Lengyel Completed and merged. * Mem_access for ARM (good) v15 posted - Tamas K Lengyel Completed and merged. Cheers, Tamas ___ Xen-devel mailing list

Re: [Xen-devel] qemu device model question

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-13 at 10:54 +0200, Juergen Gross wrote: Hi, while trying to build a pvusb backend in qemu I think I've found a general issue in xl: qemu for pv-domains is started only at domain creation and only if there is at least one backend in qemu required. If there is no qemu

Re: [Xen-devel] [PATCH OSSTEST v5 00/24] add distro domU testing flight

2015-05-13 Thread Ian Campbell
On Tue, 2015-05-12 at 17:06 +0100, Ian Jackson wrote: Ian Campbell writes ([Xen-devel] [PATCH OSSTEST v5 00/24] add distro domU testing flight): As last time there are some patches in here which I think will be useful to the Intel folks doing the nested virt testing, specifically the

Re: [Xen-devel] [PATCH v3 1/5] raisin: introduce tests

2015-05-13 Thread George Dunlap
On 05/06/2015 05:00 PM, Stefano Stabellini wrote: Introduce a new command to run functional tests and unit tests. Introduce a generic infrastrucutre to run tests on the local machine. Add a library of common functions that can be used by the test scripts to setup guest VMs. Add a simple

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

2015-05-13 Thread Andrew Cooper
On 13/05/15 11:09, George Dunlap wrote: On Tue, May 12, 2015 at 10:35 AM, Andrew Cooper andrew.coop...@citrix.com wrote: diff --git a/tools/libxc/xc_sr_save_x86_hvm.c b/tools/libxc/xc_sr_save_x86_hvm.c index 58efdb9..f4604db 100644 --- a/tools/libxc/xc_sr_save_x86_hvm.c +++

Re: [Xen-devel] Xen 4.6 Development Update (four months reminder)

2015-05-13 Thread Hu, Robert
-Original Message- From: wei.l...@citrix.com [mailto:wei.l...@citrix.com] Sent: Wednesday, May 13, 2015 1:02 PM To: xen-de...@lists.xenproject.org; White, Edmund H; xumengpa...@gmail.com; dgol...@seas.upenn.edu; jtwea...@hawaii.edu; oleksandr.dmytrys...@globallogic.com;

Re: [Xen-devel] More on kexec/purgatory handover

2015-05-13 Thread Petr Tesarik
On Wed, 13 May 2015 09:12:47 +0100 Jan Beulich jbeul...@suse.com wrote: On 13.05.15 at 09:35, ebied...@xmission.com wrote: Fundamentally if you are transfering control in long mode you have to set up some page table. I giant identity mapped page table that can use 1G or 2M pages takes up

Re: [Xen-devel] [OSSTEST v6 13/24] distros: support PV guest install from Debian netinst media.

2015-05-13 Thread Ian Campbell
On Tue, 2015-05-12 at 17:14 +0100, Ian Jackson wrote: Ian Jackson writes (Re: [OSSTEST v6 13/24] distros: support PV guest install from Debian netinst media.): Ian Campbell writes ([OSSTEST v6 13/24] distros: support PV guest install from Debian netinst media.): +my $baseurl = $cd

Re: [Xen-devel] [PATCHv4 2/5] arm: provide add_sized()

2015-05-13 Thread Jan Beulich
On 11.05.15 at 16:45, david.vra...@citrix.com wrote: On 11/05/15 15:37, David Vrabel wrote: add_sized(ptr, inc) adds inc to the value at ptr using only the correct size of loads and stores for the type of *ptr. The add is /not/ atomic. This is needed for ticket locks to ensure the

Re: [Xen-devel] More on kexec/purgatory handover

2015-05-13 Thread Jan Beulich
On 13.05.15 at 11:53, david.vra...@citrix.com wrote: On 13/05/15 09:12, Jan Beulich wrote: On 13.05.15 at 09:35, ebied...@xmission.com wrote: Fundamentally if you are transfering control in long mode you have to set up some page table. I giant identity mapped page table that can use 1G or

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

2015-05-13 Thread George Dunlap
On Tue, May 12, 2015 at 10:35 AM, Andrew Cooper andrew.coop...@citrix.com wrote: diff --git a/tools/libxc/xc_sr_save_x86_hvm.c b/tools/libxc/xc_sr_save_x86_hvm.c index 58efdb9..f4604db 100644 --- a/tools/libxc/xc_sr_save_x86_hvm.c +++ b/tools/libxc/xc_sr_save_x86_hvm.c @@ -184,7 +184,13 @@

Re: [Xen-devel] [PATCHv4 1/5] x86: provide add_sized()

2015-05-13 Thread Jan Beulich
On 13.05.15 at 11:35, david.vra...@citrix.com wrote: On 13/05/15 10:23, Jan Beulich wrote: On 11.05.15 at 16:37, david.vra...@citrix.com wrote: @@ -53,6 +67,19 @@ void __bad_atomic_size(void); } \ }) +#define add_sized(p, x) ({

[Xen-devel] Status of soft reset for PVHVM (Was: Xen 4.6 Development Update (four months reminder))

2015-05-13 Thread Vitaly Kuznetsov
wei.l...@citrix.com writes: * toolstack-based approach to pvhvm guest kexec (fair) also contains hypervisor side change - Vitaly Kuznetsov * Toolstack-based approach to pvhvm guest kexec (ok) v4 posted - Vitaly Kuznetsov v6 was just sent. -- Vitaly

Re: [Xen-devel] Xen 4.6 Development Update (four months reminder)

2015-05-13 Thread Yang Hongyang
On 05/13/2015 01:01 PM, wei.l...@citrix.com wrote: (Note, please trim your quotes when replying, and also trim the CC list if necessary. You might also consider changing the subject line of your reply to Status of (Was: Xen 4.6 Development Update (X months reminder)) Hi all We are now four

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

2015-05-13 Thread Ian Campbell
On Tue, 2015-05-12 at 12:46 +0100, Stefano Stabellini wrote: Would a separate clone of the same raisin version with some sort of dist directory transported over be sufficient and supportable? Or are raisin's outputs not in one place and easily transportable? i.e. today

Re: [Xen-devel] [OSSTEST v6 14/24] Test pygrub and pvgrub on the regular flights

2015-05-13 Thread Ian Campbell
On Tue, 2015-05-12 at 16:54 +0100, Ian Jackson wrote: Ian Campbell writes ([OSSTEST v6 14/24] Test pygrub and pvgrub on the regular flights): Since we now have the ability to test these drop one of each of pygrub, pvgrub-32 and pvgrub-64 into the standard flights. Omitting the

[Xen-devel] [PATCH v6 06/10] libxc: support XENMEM_soft_reset operation

2015-05-13 Thread Vitaly Kuznetsov
Introduce xc_domain_memory_soft_reset() function supporting XENMEM_soft_reset. Signed-off-by: Vitaly Kuznetsov vkuzn...@redhat.com --- tools/libxc/include/xenctrl.h | 5 + tools/libxc/xc_domain.c | 18 ++ 2 files changed, 23 insertions(+) diff --git

[Xen-devel] [PATCH v6 10/10] (lib)xl: soft reset support

2015-05-13 Thread Vitaly Kuznetsov
Perform soft reset when a domain did SHUTDOWN_soft_reset. Migrate the content with xc_domain_soft_reset(), reload dm and toolstack. Signed-off-by: Vitaly Kuznetsov vkuzn...@redhat.com --- docs/man/xl.cfg.pod.5| 12 + tools/libxl/libxl.c | 4 ++ tools/libxl/libxl.h

[Xen-devel] [PATCH v6 07/10] libxc: introduce soft reset for HVM domains

2015-05-13 Thread Vitaly Kuznetsov
Add new xc_domain_soft_reset() function which performs so-called 'soft reset' for an HVM domain. It is being performed in the following way: - Save HVM context and all HVM params of the original domain; - Transfer all the original domain's memory to a new domain with XENMEM_soft_reset; - Destroy

[Xen-devel] [PATCH v6 08/10] xl: introduce enum domain_restart_type

2015-05-13 Thread Vitaly Kuznetsov
As a preparation before adding new restart type (soft reset) put all restart types into an enum. Signed-off-by: Vitaly Kuznetsov vkuzn...@redhat.com --- tools/libxl/xl.h | 6 ++ tools/libxl/xl_cmdimpl.c | 23 ++- 2 files changed, 16 insertions(+), 13 deletions(-)

[Xen-devel] [PATCH v6 02/10] libxl: support SHUTDOWN_soft_reset shutdown reason

2015-05-13 Thread Vitaly Kuznetsov
Use letter 'S' to indicate a domain in such state. Signed-off-by: Vitaly Kuznetsov vkuzn...@redhat.com --- tools/libxl/libxl.h | 7 +++ tools/libxl/libxl_types.idl | 1 + tools/libxl/xl_cmdimpl.c | 2 +- tools/python/xen/lowlevel/xl/xl.c | 1 + 4 files changed,

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

2015-05-13 Thread George Dunlap
On Wed, May 13, 2015 at 11:23 AM, Andrew Cooper andrew.coop...@citrix.com wrote: On 13/05/15 11:09, George Dunlap wrote: On Tue, May 12, 2015 at 10:35 AM, Andrew Cooper andrew.coop...@citrix.com wrote: diff --git a/tools/libxc/xc_sr_save_x86_hvm.c b/tools/libxc/xc_sr_save_x86_hvm.c index

[Xen-devel] Xen Security Advisory 133 (CVE-2015-3456) - Privilege escalation via emulated floppy disk drive

2015-05-13 Thread Xen . org security team
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Xen Security Advisory CVE-2015-3456 / XSA-133 version 2 Privilege escalation via emulated floppy disk drive UPDATES IN VERSION 2 Public release. ISSUE DESCRIPTION

[Xen-devel] [OSSTEST PATCH 0/6] Use mkfs rather than resize2fs for build fs

2015-05-13 Thread Ian Jackson
At the moment, when we set up a machine for builds, we: - install Debian, leaving plenty of space in the root LVM VG - install the build tools - resize the root fs to make room for the builds This fs resize runs (mostly) in the background, alongside the first build(s). This is, it turns out,

Re: [Xen-devel] Program Management Committee Members of Xen Project Developer Summit

2015-05-13 Thread Lars Kurth
Hi, I will publish a spreadsheet with all the submissions later today (when I get the latest export from the Linux Foundation). Any other volunteer can still come forward. I also have a call later today where I will verify all my assumptions re space, timing, etc. such that we can determine

Re: [Xen-devel] [PATCH v3 1/5] raisin: introduce tests

2015-05-13 Thread Stefano Stabellini
On Wed, 13 May 2015, George Dunlap wrote: On 05/06/2015 05:00 PM, Stefano Stabellini wrote: Introduce a new command to run functional tests and unit tests. Introduce a generic infrastrucutre to run tests on the local machine. Add a library of common functions that can be used by the test

Re: [Xen-devel] [OSSTEST v6 15/24] distros: add branch infrastructure

2015-05-13 Thread Ian Campbell
On Tue, 2015-05-12 at 17:03 +0100, Ian Jackson wrote: Ian Campbell writes ([OSSTEST v6 15/24] distros: add branch infrastructure): Since the distro nightlies are not version controlled we cannot use the usual mechanisms for detecting regressions. Special case things appropriately. We use an

Re: [Xen-devel] [PATCHv4 1/5] x86: provide add_sized()

2015-05-13 Thread Jan Beulich
On 11.05.15 at 16:37, david.vra...@citrix.com wrote: @@ -53,6 +67,19 @@ void __bad_atomic_size(void); } \ }) +#define add_sized(p, x) ({\ +typeof(*(p)) __x = (x); \

Re: [Xen-devel] More on kexec/purgatory handover

2015-05-13 Thread David Vrabel
On 13/05/15 09:12, Jan Beulich wrote: On 13.05.15 at 09:35, ebied...@xmission.com wrote: Fundamentally if you are transfering control in long mode you have to set up some page table. I giant identity mapped page table that can use 1G or 2M pages takes up very little memory, and can be very

Re: [Xen-devel] [PATCH v6 1/2] xen/pvh: use a custom IO bitmap for PVH hardware domains

2015-05-13 Thread Jan Beulich
On 11.05.15 at 16:57, roger@citrix.com wrote: --- a/xen/arch/x86/setup.c +++ b/xen/arch/x86/setup.c @@ -1446,6 +1446,9 @@ void __init noreturn __start_xen(unsigned long mbi_p) dmi_end_boot(); +if ( is_hardware_domain(dom0) ) +setup_io_bitmap(dom0); Is it indeed

Re: [Xen-devel] [PATCH RFC v2 0/5] Multi-queue support for xen-blkfront and xen-blkback

2015-05-13 Thread Bob Liu
On 04/28/2015 03:46 PM, Arianna Avanzini wrote: Hello Christoph, Il 28/04/2015 09:36, Christoph Hellwig ha scritto: What happened to this patchset? It was passed on to Bob Liu, who published a follow-up patchset here: https://lkml.org/lkml/2015/2/15/46 Right, and then I was

Re: [Xen-devel] [PING] [PATCH] tools/libxc: Fix build of 32bit toolstacks on CentOS 5.x following XSA-125

2015-05-13 Thread Andrew Cooper
Ping again. These should be included in 4.5.1 ~Andrew On 22/04/15 16:43, Andrew Cooper wrote: Ping on the patches themselves? On 13/04/15 17:37, Andrew Cooper wrote: On 13/04/15 17:33, Ian Jackson wrote: Andrew Cooper writes ([Xen-devel] [PATCH] tools/libxc: Fix build of 32bit toolstacks

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

2015-05-13 Thread Jan Beulich
Still waiting for AMD IOMMU maintainer feedback... Thanks, Jan On 07.05.15 at 14:59, jbeul...@suse.com wrote: 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.

Re: [Xen-devel] Regression: qemu crash of hvm domUs with spice (backtrace included)

2015-05-13 Thread Fabio Fantoni
Il 12/05/2015 16:44, Stefano Stabellini ha scritto: On Tue, 12 May 2015, Stefano Stabellini wrote: On Tue, 12 May 2015, Fabio Fantoni wrote: Il 12/05/2015 12:26, Fabio Fantoni ha scritto: Il 12/05/2015 11:23, Fabio Fantoni ha scritto: Il 11/05/2015 17:04, Fabio Fantoni ha scritto: Il

Re: [Xen-devel] More on kexec/purgatory handover

2015-05-13 Thread Petr Tesarik
On Wed, 13 May 2015 11:01:24 +0100 Jan Beulich jbeul...@suse.com wrote: On 13.05.15 at 11:53, david.vra...@citrix.com wrote: On 13/05/15 09:12, Jan Beulich wrote: On 13.05.15 at 09:35, ebied...@xmission.com wrote: Fundamentally if you are transfering control in long mode you have to set

Re: [Xen-devel] [RFC 00/22] xen/arm: Add support for GICv2 on GICv3

2015-05-13 Thread Chen Baozi
Hi Julien, On Fri, May 08, 2015 at 02:29:21PM +0100, Julien Grall wrote: Hi all, This patch series adds support for GICv2 on GICv3. This feature is available only when the GICv3 hardware is compatible with GICv2. When it's the case, the same interface is provided in order to use a

Re: [Xen-devel] Xen/arm: Virtual ITS command queue handling

2015-05-13 Thread Ian Campbell
On Tue, 2015-05-12 at 18:35 +0100, Julien Grall wrote: Message signalled interrupts are translated into an LPI via a translation table which must be configured for each device which can generate an MSI. The ITS uses the device id of the originating device to lookup the corresponding

Re: [Xen-devel] [PATCH] libxl: fix xl mem-set regression from 0c029c4da2

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-13 at 08:18 +0100, Jan Beulich wrote: On 22.04.15 at 19:55, ian.campb...@citrix.com wrote: On Wed, 2015-04-22 at 17:33 +0100, Jan Beulich wrote: On 22.04.15 at 17:36, ian.campb...@citrix.com wrote: On Wed, 2015-04-22 at 15:41 +0100, Jan Beulich wrote: On 22.04.15 at

Re: [Xen-devel] [Pkg-xen-devel] Bug#785187: xen-hypervisor-4.5-amd64: Option ucode=scan is not working

2015-05-13 Thread Ian Campbell
I think I remember some discussion of something in this area not too long ago on xen-devel. CC-s added. Konrad, do you know of any issues with ucode=scan in 4.4? On Wed, 2015-05-13 at 10:27 +0200, Stephan Seitz wrote: Package: xen-hypervisor-4.5-amd64 Version: 4.5.0-1 Severity: normal

Re: [Xen-devel] qemu device model question

2015-05-13 Thread Wei Liu
On Wed, May 13, 2015 at 10:30:40AM +0100, Ian Campbell wrote: On Wed, 2015-05-13 at 10:54 +0200, Juergen Gross wrote: Hi, while trying to build a pvusb backend in qemu I think I've found a general issue in xl: qemu for pv-domains is started only at domain creation and only if there is

Re: [Xen-devel] qemu device model question

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-13 at 14:06 +0100, Wei Liu wrote: On Wed, May 13, 2015 at 10:30:40AM +0100, Ian Campbell wrote: On Wed, 2015-05-13 at 10:54 +0200, Juergen Gross wrote: Hi, while trying to build a pvusb backend in qemu I think I've found a general issue in xl: qemu for pv-domains is

Re: [Xen-devel] [RFC PATCH 00/13] Persistent grant maps for xen net drivers

2015-05-13 Thread Joao Martins
On 13 May 2015, at 12:50, David Vrabel david.vra...@citrix.com wrote: On 12/05/15 18:18, Joao Martins wrote: Packet I/O Tests: Measured on a Intel Xeon E5-1650 v2, Xen 4.5, no HT. Used pktgen burst 1 and clone_skbs 10 (to avoid alloc skb overheads) with various pkt sizes. All tests

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

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-13 at 12:48 +0100, Stefano Stabellini wrote: On Wed, 13 May 2015, Ian Campbell wrote: On Tue, 2015-05-12 at 12:46 +0100, Stefano Stabellini wrote: Would a separate clone of the same raisin version with some sort of dist directory transported over be sufficient and

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

2015-05-13 Thread Stefano Stabellini
On Wed, 13 May 2015, Ian Campbell wrote: On Tue, 2015-05-12 at 12:46 +0100, Stefano Stabellini wrote: Would a separate clone of the same raisin version with some sort of dist directory transported over be sufficient and supportable? Or are raisin's outputs not in one place and easily

Re: [Xen-devel] More on kexec/purgatory handover

2015-05-13 Thread Jan Beulich
On 13.05.15 at 14:12, ptesa...@suse.cz wrote: On Wed, 13 May 2015 11:01:24 +0100 Jan Beulich jbeul...@suse.com wrote: Okay, if the tools do this in v2, then I think the compatibility v1 path should indeed do so too (in the hypervisor). Are you working on a patch? Not yet, but I'm going to

[Xen-devel] [PATCH][RFC] libxl: Add AHCI support for upstream qemu

2015-05-13 Thread Fabio Fantoni
Usage: ahci=0|1 (default=0) If enabled adds ich9 disk controller in ahci mode and uses it with upstream qemu to emulate disks instead of ide. It doesn't support cdroms which still use ide (cdroms will use -device ide-cd as new qemu parameters) Ahci requires new qemu parameters but for now other

Re: [Xen-devel] Xen 4.6 Development Update (four months reminder)

2015-05-13 Thread Daniel Kiper
Hey Wei, On Wed, May 13, 2015 at 06:01:57AM +0100, wei.l...@citrix.com wrote: [...] * Xen multiboot2-EFI support (fair) I think that it could be ok. See http://lists.xen.org/archives/html/xen-devel/2013-05/msg02281.html Change above link to

Re: [Xen-devel] [PATCH 5/5] xen: Write CR0, CR3 and CR4 in arch_set_info_guest()

2015-05-13 Thread Boris Ostrovsky
On 05/06/2015 01:12 PM, Razvan Cojocaru wrote: Arch_set_info_guest() doesn't set CR0, CR3 or CR4. Added code that does that. Signed-off-by: Razvan Cojocaru rcojoc...@bitdefender.com --- xen/arch/x86/domain.c |3 +++ xen/arch/x86/hvm/emulate.c|6 +++---

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

2015-05-13 Thread Suravee Suthikulanit
Acked-by: Suravee Suthikulpanit suravee.suthikulpa...@amd.com Thanks, Suravee On 5/7/2015 7:59 AM, Jan Beulich wrote: 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

Re: [Xen-devel] [PATCH v5 2/5] docs: add vscsi to xenstore-paths.markdown

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-06 at 13:28 +, Olaf Hering wrote: Signed-off-by: Olaf Hering o...@aepfle.de Acked-by: Ian Campbell ian.campb...@citrix.com ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v5 1/5] vscsiif.h: fix WWN notation for p-dev property

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-06 at 13:28 +, Olaf Hering wrote: The pvops kernel expects either naa.WWN:LUN or h:c:t:l in the p-dev property. Add the missing :LUN part to the comment. Signed-off-by: Olaf Hering o...@aepfle.de Acked-by: Ian Campbell ian.campb...@citrix.com Cc: Ian Jackson

Re: [Xen-devel] Xen/arm: Virtual ITS command queue handling

2015-05-13 Thread Julien Grall
Hi Ian, On 13/05/15 14:23, Ian Campbell wrote: On Tue, 2015-05-12 at 18:35 +0100, Julien Grall wrote: On read from the virtual `CREADR` iff the vits_cq is such that s/iff/if/ iff is a shorthand for if and only if. Apparently not as common as I think it is though! Oh ok. I wasn't aware

Re: [Xen-devel] [PATCH v5 4/5] vscsiif.h: add some notes about xenstore layout

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-06 at 13:28 +, Olaf Hering wrote: Signed-off-by: Olaf Hering o...@aepfle.de I'm not sure how much of this really belongs in an ABI document, but I don't think there's really anywhere else so Acked-by: Ian Campbell ian.campb...@citrix.com Cc: Ian Jackson

Re: [Xen-devel] [PATCH v5 3/5] libxl: add support for vscsi

2015-05-13 Thread Ian Campbell
Just looking at the API functions on this pass. General comment though: Please go through and rewrap any lines longer than 75-80, I saw quite a few as I was scrolling. @@ -3628,6 +3643,7 @@ static inline void libxl__update_config_vtpm(libxl__gc *gc, * devices have same identifier. */

Re: [Xen-devel] [PATCH] Document '-F' option of create subcommand.

2015-05-13 Thread Ian Campbell
On Tue, 2015-05-12 at 14:51 +, Giuseppe Mazzotta wrote: Other options are still missing and not part of this patch. Signed-off-by: Giuseppe Mazzotta g.mazzo...@iragan.com Acked + applied, thanks. ___ Xen-devel mailing list

Re: [Xen-devel] [PATCH v6 0/3] Set SMMU s2 input-size based on p2m tables

2015-05-13 Thread Ian Campbell
On Fri, 2015-05-08 at 17:10 +1000, Edgar E. Iglesias wrote: From: Edgar E. Iglesias edgar.igles...@xilinx.com Hi, This is a fix for the issue I'm seeing on ZynqMP with missmatched setup of the SMMU and the shared p2m page-tables with the CPU. This implements a global p2m_ipa_bits cap

Re: [Xen-devel] [PATCH v8 1/6] tools/libxl: Check if fdt_{first, next}_subnode are present in libfdt

2015-05-13 Thread Ian Campbell
On Tue, 2015-05-12 at 15:33 +0100, Julien Grall wrote: From: Julien Grall julien.gr...@linaro.org The functions fdt_{fisrt,next}_subnode may not be available because: first * It has been introduced in 2013 = Doesn't work on Wheezy * The prototype exists but the functions are not

Re: [Xen-devel] [PATCH v5 5/5] Scripts to create and delete xen-scsiback nodes in Linux target framework

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-06 at 13:28 +, Olaf Hering wrote: Just to make them public, not meant for merging: The scripts used during development to create a bunch of SCSI devices in dom0 using the Linux target framework. targetcli3 and rtslib3 is used. I'm not sure what this is all about, but is

Re: [Xen-devel] [PATCH v5 3/5] libxl: add support for vscsi

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-06 at 13:28 +, Olaf Hering wrote: Port pvscsi support from xend to libxl: vscsi=['pdev,vdev{,options}'] xl scsi-attach xl scsi-detach xl scsi-list Signed-off-by: Olaf Hering o...@aepfle.de Cc: Ian Jackson ian.jack...@eu.citrix.com Cc: Stefano Stabellini

Re: [Xen-devel] [PATCH v9 3/4] libxc: Provide set_xen_guest_handle_offset macro

2015-05-13 Thread Ian Campbell
On Mon, 2015-05-11 at 12:31 -0400, Boris Ostrovsky wrote: Add set_xen_guest_handle_offset() macro that can be used for setting xen_guest_handle to an offset into hypercall buffer. Signed-off-by: Boris Ostrovsky boris.ostrov...@oracle.com Acked + applied along with the rest of the series,

Re: [Xen-devel] [PATCH v5 5/5] Scripts to create and delete xen-scsiback nodes in Linux target framework

2015-05-13 Thread Olaf Hering
On Wed, May 13, Ian Campbell wrote: On Wed, 2015-05-06 at 13:28 +, Olaf Hering wrote: Just to make them public, not meant for merging: The scripts used during development to create a bunch of SCSI devices in dom0 using the Linux target framework. targetcli3 and rtslib3 is used.

Re: [Xen-devel] qemu device model question

2015-05-13 Thread Juergen Gross
On 05/13/2015 03:06 PM, Wei Liu wrote: On Wed, May 13, 2015 at 10:30:40AM +0100, Ian Campbell wrote: On Wed, 2015-05-13 at 10:54 +0200, Juergen Gross wrote: Hi, while trying to build a pvusb backend in qemu I think I've found a general issue in xl: qemu for pv-domains is started only at

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

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

[Xen-devel] [PATCH v9 4/6] libxl: Add support for Device Tree passthrough

2015-05-13 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org On ARM, every non-PCI device are described in the device tree. Each of them can be found via a path. This patch introduces a very basic support, only the IOMMU will be set up correctly. The user will have to: - Describe the device in the partial

[Xen-devel] [PATCH v9 1/6] tools/libxl: Check if fdt_{first, next}_subnode are present in libfdt

2015-05-13 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org The functions fdt_{first,next}_subnode may not be available because: * It has been introduced in 2013 = Doesn't work on Wheezy * The prototype exists but the functions are not exposed. Don't ask why... The later has been fixed recently in

[Xen-devel] [PATCH v9 2/6] tools/(lib)xl: Add partial device tree support for ARM

2015-05-13 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org Allow the user to pass additional nodes to the guest device tree. For this purpose, everything in the node /passthrough from the partial device tree will be copied into the guest device tree. The node /aliases will be also copied to allow the user to

[Xen-devel] [PATCH v9 6/6] docs/misc: arm: Add documentation about Device Tree passthrough

2015-05-13 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org Note that the example is done on Midway whose SMMU driver is not supported on Xen upstream. Currently, I don't have other platform where I can test Device Tree passthrough. Signed-off-by: Julien Grall julien.gr...@linaro.org Acked-by: Ian Campbell

[Xen-devel] [PATCH v9 5/6] xl: Add new option dtdev

2015-05-13 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org The option dtdev will be used to passthrough a device described in the device tree to a guest. Signed-off-by: Julien Grall julien.gr...@linaro.org Acked-by: Ian Campbell ian.campb...@citrix.com Cc: Ian Jackson ian.jack...@eu.citrix.com Cc: Wei Liu

[Xen-devel] [PATCH v9 3/6] tools/libxl: arm: Use an higher value for the GIC phandle

2015-05-13 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org The partial device tree may contains phandle. The Device Tree Compiler tends to allocate the phandle from 1. Reserve the ID 65000 for the GIC phandle. I think we can safely assume that the partial device tree will never contain a such ID.

[Xen-devel] [PATCH v9 0/6] xen/arm: Add support for non-PCI passthrough

2015-05-13 Thread Julien Grall
Hi all, This is a resend of the last part of the non-PCI passthrough after another error found by Ian C. during build compilation on Debian Wheezy. Debian wheezy is using an old version of libfdt which doesn't export correcly fdt_first_property_offset, fdt_get_property_by_offset and

[Xen-devel] [ovmf test] 55430: regressions - trouble: broken/fail/pass

2015-05-13 Thread osstest service user
flight 55430 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/55430/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemut-win7-amd64 3 host-install(3) broken REGR. vs. 55353

Re: [Xen-devel] [PATCH] Do not emulate a floppy drive when -nodefaults

2015-05-13 Thread Michael S. Tsirkin
On Wed, May 13, 2015 at 06:29:46PM +0100, Stefano Stabellini wrote: Do not emulate a floppy drive if no drives are supposed to be present. This fixes the behavior of -nodefaults, that should remove the floppy drive (see docs/qdev-device-use.txt:Default Devices), but actually doesn't.

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

2015-05-13 Thread osstest service user
flight 55443 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/55443/ 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 test-amd64-i386-libvirt

  1   2   >