Re: [Xen-devel] [PATCH v2 06/32] s390: reuse asm-generic/barrier.h

2016-01-05 Thread Martin Schwidefsky
On Mon, 4 Jan 2016 22:42:44 +0200 "Michael S. Tsirkin" wrote: > On Mon, Jan 04, 2016 at 04:03:39PM +0100, Martin Schwidefsky wrote: > > On Mon, 4 Jan 2016 14:20:42 +0100 > > Peter Zijlstra wrote: > > > > > On Thu, Dec 31, 2015 at 09:06:30PM +0200, Michael S. Tsirkin wrote: > > > > On s390 read_

Re: [Xen-devel] [PATCH v2 22/32] s390: define __smp_xxx

2016-01-05 Thread Martin Schwidefsky
On Mon, 4 Jan 2016 22:18:58 +0200 "Michael S. Tsirkin" wrote: > On Mon, Jan 04, 2016 at 02:45:25PM +0100, Peter Zijlstra wrote: > > On Thu, Dec 31, 2015 at 09:08:38PM +0200, Michael S. Tsirkin wrote: > > > This defines __smp_xxx barriers for s390, > > > for use by virtualization. > > > > > > Som

Re: [Xen-devel] [PATCH 1/5] libxl: tidy libxl_get_scheduler() according to CODING_STYLE

2016-01-05 Thread Dario Faggioli
On Mon, 2016-01-04 at 16:23 +, Ian Campbell wrote: > On Mon, 2015-12-28 at 00:16 -0500, Joshua Otto wrote: > >  > > diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c > > @@ -5585,10 +5585,11 @@ out: > >   > >  libxl_scheduler libxl_get_scheduler(libxl_ctx *ctx) > >  { > > -libxl_schedu

Re: [Xen-devel] [PATCH 0/6] grub-xen: support booting huge pv-domains

2016-01-05 Thread Juergen Gross
On 02/11/15 06:51, Juergen Gross wrote: > The Xen hypervisor supports starting a dom0 with large memory (up to > the TB range) by not including the initrd and p2m list in the initial > kernel mapping. Especially the p2m list can grow larger than the > available virtual space in the initial mapping.

Re: [Xen-devel] [PATCH 2/5] libxl: make GC_FREE reachable in libxl_get_scheduler()

2016-01-05 Thread Dario Faggioli
On Mon, 2016-01-04 at 16:29 +, Ian Campbell wrote: > On Mon, 2015-12-28 at 00:16 -0500, Joshua Otto wrote: > > Coverity CID 1343309 > > > > This patch preserves the multiple error paths in order to avoid > > meaninglessly assigning the ERROR_FAIL libxl error code to the > > return variable, wh

Re: [Xen-devel] [PATCH v2 15/32] powerpc: define __smp_xxx

2016-01-05 Thread Michael S. Tsirkin
On Tue, Jan 05, 2016 at 09:36:55AM +0800, Boqun Feng wrote: > Hi Michael, > > On Thu, Dec 31, 2015 at 09:07:42PM +0200, Michael S. Tsirkin wrote: > > This defines __smp_xxx barriers for powerpc > > for use by virtualization. > > > > smp_xxx barriers are removed as they are > > defined correctly b

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

2016-01-05 Thread osstest service owner
flight 76948 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/76948/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemuu-ovmf-amd64 17 guest-start/debianhvm.repeat fail REGR. vs. 65543 test-amd64-amd64-

Re: [Xen-devel] [PATCH v2 4/5] tools/libxc: error handling for the postcopy() callback

2016-01-05 Thread Andrew Cooper
On 05/01/2016 02:06, Wen Congyang wrote: > Signed-off-by: Wen Congyang Reviewed-by: Andrew Cooper ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

[Xen-devel] [linux-3.16 test] 76945: regressions - FAIL

2016-01-05 Thread osstest service owner
flight 76945 linux-3.16 real [real] http://logs.test-lab.xenproject.org/osstest/logs/76945/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-rumpuserxen-i386 10 guest-start fail REGR. vs. 64969 Tests which are failin

Re: [Xen-devel] [PATCH v2 2/5] remus: don't write xenstore data if it fails

2016-01-05 Thread Andrew Cooper
On 05/01/2016 02:06, Wen Congyang wrote: "if it fails" is ambiguous. What I think you mean is "remus: resume immediately if libxl__xc_domain_save_done() completes" > For example: if the secondary host is down, and we fail to send the data to > the secondary host. xc_domain_save() returns 0. So i

Re: [Xen-devel] [PATCH v2 22/32] s390: define __smp_xxx

2016-01-05 Thread Michael S. Tsirkin
On Tue, Jan 05, 2016 at 09:13:19AM +0100, Martin Schwidefsky wrote: > On Mon, 4 Jan 2016 22:18:58 +0200 > "Michael S. Tsirkin" wrote: > > > On Mon, Jan 04, 2016 at 02:45:25PM +0100, Peter Zijlstra wrote: > > > On Thu, Dec 31, 2015 at 09:08:38PM +0200, Michael S. Tsirkin wrote: > > > > This define

Re: [Xen-devel] [PATCH v2 2/5] remus: don't write xenstore data if it fails

2016-01-05 Thread Wen Congyang
On 01/05/2016 05:27 PM, Andrew Cooper wrote: > On 05/01/2016 02:06, Wen Congyang wrote: > > "if it fails" is ambiguous. What I think you mean is "remus: resume > immediately if libxl__xc_domain_save_done() completes" > >> For example: if the secondary host is down, and we fail to send the data t

Re: [Xen-devel] [PATCH 2/3] public/io/netif.h: document control ring and toeplitz hashing

2016-01-05 Thread Paul Durrant
> -Original Message- > From: xen-devel-boun...@lists.xen.org [mailto:xen-devel- > boun...@lists.xen.org] On Behalf Of Konrad Rzeszutek Wilk > Sent: 04 January 2016 20:19 > To: Paul Durrant > Cc: Keir (Xen.org); Ian Campbell; Tim (Xen.org); David Vrabel; Jan Beulich; > Ian > Jackson; xen-de

Re: [Xen-devel] [PATCH v2 15/32] powerpc: define __smp_xxx

2016-01-05 Thread Boqun Feng
On Tue, Jan 05, 2016 at 10:51:17AM +0200, Michael S. Tsirkin wrote: > On Tue, Jan 05, 2016 at 09:36:55AM +0800, Boqun Feng wrote: > > Hi Michael, > > > > On Thu, Dec 31, 2015 at 09:07:42PM +0200, Michael S. Tsirkin wrote: > > > This defines __smp_xxx barriers for powerpc > > > for use by virtualiz

Re: [Xen-devel] [OSSTEST PATCH 1/2] ms-* html generation: Provide

2016-01-05 Thread Ian Campbell
On Mon, 2016-01-04 at 16:49 +, Ian Jackson wrote: > This means that these browser windows will actually get titles! ! I suppose in theory we ought to also close the tag, but we've not even been opening it until now, so blah. > Signed-off-by: Ian Jackson Acked-by: Ian Campbell _

Re: [Xen-devel] [OSSTEST PATCH 2/2] ms-* html generation: Provide right title for projection

2016-01-05 Thread Ian Campbell
On Mon, 2016-01-04 at 16:49 +, Ian Jackson wrote: > When ms-queuedaemon generates a resource-projection.html, it sometimes > does so from data-plan.pl (see proc report-plan).  This means that > ms-planner does not get a reliable indication of whether it is being > run for the plan or the projec

[Xen-devel] [distros-debian-snapshot test] 38592: tolerable FAIL

2016-01-05 Thread Platform Team regression test user
flight 38592 distros-debian-snapshot real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/38592/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-amd64-i386-weekly-netinst-pygrub 9 debian-di-install fail like 38570 test-amd64-am

[Xen-devel] [linux-next test] 76947: regressions - FAIL

2016-01-05 Thread osstest service owner
flight 76947 linux-next real [real] http://logs.test-lab.xenproject.org/osstest/logs/76947/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-pvops 5 kernel-build fail REGR. vs. 67064 build-i386-pvops

Re: [Xen-devel] Question about VirtIO on Xen - Disk performance issues

2016-01-05 Thread Luca Tongiani
Hi Stefano, im writing to you because im having issue with I/O disk in my DomU With Xen (Gentoo based system). I tried to use the driver that you provided for the PV . But the results are still not good , there is no way to support the use of Xen VirtIO disk ? Many thanks in advance Luca Il

Re: [Xen-devel] [PATCH 2/2] pc-nvdimm acpi: build ACPI tables for pc-nvdimm devices

2016-01-05 Thread Stefano Stabellini
On Mon, 4 Jan 2016, Konrad Rzeszutek Wilk wrote: > On Mon, Jan 04, 2016 at 04:01:08PM +, Stefano Stabellini wrote: > > CC'ing the Xen tools maintainers and Anthony. > > > > On Tue, 29 Dec 2015, Haozhong Zhang wrote: > > > Reuse existing NVDIMM ACPI code to build ACPI tables for pc-nvdimm > > >

Re: [Xen-devel] Question about VirtIO on Xen - Disk performance issues

2016-01-05 Thread Stefano Stabellini
Could you please post your VM config file and the output of xenstore-ls once the VM has completed the boot sequence? On Tue, 5 Jan 2016, Luca Tongiani wrote: > Hi Stefano, > im writing to you because im having issue with I/O disk in my DomU With Xen > (Gentoo based system). > > I tried to use th

Re: [Xen-devel] [PATCH 2/5] libxl: make GC_FREE reachable in libxl_get_scheduler()

2016-01-05 Thread Ian Campbell
On Tue, 2016-01-05 at 09:49 +0100, Dario Faggioli wrote: > For other users, I agree that they should be handling or start to > handle LIBXL_SCHEDULER_UNKNOWN. *Maybe*, just as a "mitigation" > measure", we can redefine the enum and make "unknown"=-1... or is > something like that to be considered a

[Xen-devel] [PATCH v3 02/11] pc: remove has_igd_gfx_passthru global

2016-01-05 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- hw/xen/xen_pt.h | 5 +++-- vl.c| 10 -- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/hw/xen/xen_pt.h b/hw/xen/xen_pt.h index 3749711..cdd73ff 100644 --- a/hw/xen/xen_pt.h +++ b/hw/xen/xen_pt.h @@ -4,6 +4,7 @@ #include "qemu

[Xen-devel] [PATCH v3 06/11] igd: use defines for standard pci config space offsets

2016-01-05 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- hw/pci-host/igd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/pci-host/igd.c b/hw/pci-host/igd.c index 6f52ab1..0784128 100644 --- a/hw/pci-host/igd.c +++ b/hw/pci-host/igd.c @@ -10,9 +10,9 @@ typedef struct { /* Here we just ex

[Xen-devel] [PATCH v3 10/11] igd: handle igd-passthrough-isa-bridge setup in realize()

2016-01-05 Thread Gerd Hoffmann
That way a simple '-device igd-passthrough-isa-bridge,addr=1f' will do the setup. Also instead of looking up reasonable PCI IDs based on the graphic device id simply copy over the ids from the host, thereby reusing the infrastructure we have in place for the igd host bridges. Less code, and shoul

[Xen-devel] [PATCH v3 07/11] igd: revamp host config read

2016-01-05 Thread Gerd Hoffmann
Move all work to the host_pci_config_copy helper function, which we can easily reuse when adding q35 support. Open sysfs file only once for all values. Use pread. Proper error handling. Fix bugs: * Don't throw away results (like old host_pci_config_read did because val was passed by value no

[Xen-devel] [PATCH v3 00/11] igd passthrough chipset tweaks

2016-01-05 Thread Gerd Hoffmann
Hi, We have some code in our tree to support pci passthrough of intel graphics devices (igd) on xen, which requires some chipset tweaks for (a) the host bridge and (b) the lpc/isa-bridge to meat the expectations of the guest driver. For kvm we need pretty much the same, also the requirements fo

[Xen-devel] [PATCH v3 01/11] pc: wire up TYPE_IGD_PASSTHROUGH_I440FX_PCI_DEVICE for !xen

2016-01-05 Thread Gerd Hoffmann
rename pc_xen_hvm_init_pci to pc_i440fx_init_pci, use it for both xen and non-xen init. That changes behavior of all pc-i440fx-$version machine types where specifying -machine igd-passthru=on used to have no effect and now it has. It is unlikely to cause any trouble though as there used to be no

[Xen-devel] [PATCH v3 09/11] igd: move igd-passthrough-isa-bridge to igd.c too

2016-01-05 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- hw/i386/pc_piix.c | 113 -- hw/pci-host/igd.c | 108 +++ 2 files changed, 108 insertions(+), 113 deletions(-) diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c in

[Xen-devel] [PATCH v3 11/11] igd: move igd-passthrough-isa-bridge creation to machine init

2016-01-05 Thread Gerd Hoffmann
This patch moves igd-passthrough-isa-bridge creation out of the xen passthrough code into machine init. It is triggered by the igd-passthru=on machine option. Advantages: * This works for on both xen and kvm. * It is activated for the pc machine type only, q35 has a real isa bridge on 1f.0

[Xen-devel] [PATCH v3 04/11] igd: switch TYPE_IGD_PASSTHROUGH_I440FX_PCI_DEVICE to realize

2016-01-05 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- hw/pci-host/igd.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/hw/pci-host/igd.c b/hw/pci-host/igd.c index ef0273b..d1eeafb 100644 --- a/hw/pci-host/igd.c +++ b/hw/pci-host/igd.c @@ -53,7 +53,7 @@ out: return ret; } -static

[Xen-devel] [PATCH v3 08/11] igd: add q35 support

2016-01-05 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- hw/pci-host/igd.c | 41 - hw/pci-host/q35.c | 6 +- 2 files changed, 45 insertions(+), 2 deletions(-) diff --git a/hw/pci-host/igd.c b/hw/pci-host/igd.c index ec48875..f6e3f7a 100644 --- a/hw/pci-host/igd.c +++ b/hw/pc

[Xen-devel] [PATCH v3 05/11] igd: TYPE_IGD_PASSTHROUGH_I440FX_PCI_DEVICE: call parent realize

2016-01-05 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- hw/pci-host/igd.c | 9 + 1 file changed, 9 insertions(+) diff --git a/hw/pci-host/igd.c b/hw/pci-host/igd.c index d1eeafb..6f52ab1 100644 --- a/hw/pci-host/igd.c +++ b/hw/pci-host/igd.c @@ -53,12 +53,20 @@ out: return ret; } +static void (*i440fx_

[Xen-devel] [PATCH v3 03/11] pc: move igd support code to igd.c

2016-01-05 Thread Gerd Hoffmann
Pure code motion, except for dropping instance_size for TYPE_IGD_PASSTHROUGH_I440FX_PCI_DEVICE (no need to set, we can inherit it from TYPE_I440FX_PCI_DEVICE). Signed-off-by: Gerd Hoffmann Acked-by: Stefano Stabellini --- hw/pci-host/Makefile.objs | 3 ++ hw/pci-host/igd.c | 96 +++

[Xen-devel] Failed vm entry with heavy use of emulator

2016-01-05 Thread Tamas K Lengyel
Hi all, I've been stress-testing the built-in emulator using the vm_event response VM_EVENT_FLAG_EMULATE feature. In the test I've turned all pages non-readable by default and all trapped instructions to be emulated. My test code can be found at https://github.com/tklengyel/xen/compare/read_emul?ex

Re: [Xen-devel] [PATCH v3 60/62] arm/acpi: Configure interrupts dynamically

2016-01-05 Thread Shannon Zhao
Hi, On 2015/11/30 23:42, Julien Grall wrote: > Hi Shannon, > > On 17/11/15 09:40, shannon.z...@linaro.org wrote: >> From: Parth Dixit >> >> Interrupt information is described in DSDT and is not available at >> the time of booting. Configure the interrupts dynamically when requested >> by Dom0 >

Re: [Xen-devel] Failed vm entry with heavy use of emulator

2016-01-05 Thread Andrew Cooper
On 05/01/16 11:49, Tamas K Lengyel wrote: > Hi all, > I've been stress-testing the built-in emulator using the vm_event > response VM_EVENT_FLAG_EMULATE feature. In the test I've turned all > pages non-readable by default and all trapped instructions to be > emulated. My test code can be found at >

Re: [Xen-devel] Failed vm entry with heavy use of emulator

2016-01-05 Thread Tamas K Lengyel
On Tue, Jan 5, 2016 at 12:56 PM, Andrew Cooper wrote: > On 05/01/16 11:49, Tamas K Lengyel wrote: > > Hi all, > I've been stress-testing the built-in emulator using the vm_event response > VM_EVENT_FLAG_EMULATE feature. In the test I've turned all pages > non-readable by default and all trapped i

Re: [Xen-devel] [PATCH] MAINTAINERS: add myself for kconfig

2016-01-05 Thread Ian Campbell
On Wed, 2015-12-16 at 08:41 -0600, Doug Goldstein wrote: > Added myself as the maintainer of kconfig. > > CC: Ian Campbell > CC: Ian Jackson > CC: Jan Beulich > CC: Keir Fraser > CC: Tim Deegan > > Signed-off-by: Doug Goldstein Acked-by: Ian Campbell

Re: [Xen-devel] [PATCH v2 22/32] s390: define __smp_xxx

2016-01-05 Thread Martin Schwidefsky
On Tue, 5 Jan 2016 11:30:19 +0200 "Michael S. Tsirkin" wrote: > On Tue, Jan 05, 2016 at 09:13:19AM +0100, Martin Schwidefsky wrote: > > On Mon, 4 Jan 2016 22:18:58 +0200 > > "Michael S. Tsirkin" wrote: > > > > > On Mon, Jan 04, 2016 at 02:45:25PM +0100, Peter Zijlstra wrote: > > > > On Thu, Dec

Re: [Xen-devel] [PATCH RFC 2/3] x86/xen/time: setup vcpu 0 time info page

2016-01-05 Thread Joao Martins
On 01/04/2016 09:34 PM, Boris Ostrovsky wrote: > On 01/04/2016 03:41 PM, Joao Martins wrote: >> >> On 01/04/2016 04:07 PM, Boris Ostrovsky wrote: >>> On 12/28/2015 04:52 PM, Joao Martins wrote: >>> + + size = PAGE_ALIGN(sizeof(struct pvclock_vsyscall_time_info)); + mem = memblock

Re: [Xen-devel] [PATCH OSSTEST] Add a weekly coverity flight

2016-01-05 Thread Ian Campbell
On Mon, 2016-01-04 at 16:47 +, Ian Jackson wrote: > Ian Campbell writes ("[PATCH OSSTEST] Add a weekly coverity flight"): > > Move collectversions into Osstest::BuildSupport rather than > > duplicating with ts-xen-build (nothing else is really duplicated) > > This could profitably be split int

Re: [Xen-devel] Question about VirtIO on Xen - Disk performance issues

2016-01-05 Thread Luca Tongiani
Hi, thanks in advance for your reply :) I have attached the following email configuration DomU and the output you have requested . Performance disk are all my machines the most serious problem , even if they are used powerful hardware . Differences in Disk writing in DomU are 1/3 of those of

Re: [Xen-devel] Failed vm entry with heavy use of emulator

2016-01-05 Thread Razvan Cojocaru
On 01/05/2016 01:49 PM, Tamas K Lengyel wrote: > Hi all, > I've been stress-testing the built-in emulator using the vm_event > response VM_EVENT_FLAG_EMULATE feature. In the test I've turned all > pages non-readable by default and all trapped instructions to be > emulated. My test code can be found

Re: [Xen-devel] Question about VirtIO on Xen - Disk performance issues

2016-01-05 Thread Stefano Stabellini
The xenstore-ls output is not complete. Could you please send it again? I noticed from the DomU config file that it is not a Windows VM, as previously discussed, but a Linux VM. That is OK, but of course in that case you won't be able to use the Windows PV drivers which I linked. Linux has its own

[Xen-devel] [qemu-upstream-4.5-testing test] 76952: regressions - FAIL

2016-01-05 Thread osstest service owner
flight 76952 qemu-upstream-4.5-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/76952/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-ovmf-amd64 9 debian-hvm-install fail REGR. vs. 62414 test-am

Re: [Xen-devel] [PATCH v2 22/32] s390: define __smp_xxx

2016-01-05 Thread Michael S. Tsirkin
On Tue, Jan 05, 2016 at 01:08:52PM +0100, Martin Schwidefsky wrote: > On Tue, 5 Jan 2016 11:30:19 +0200 > "Michael S. Tsirkin" wrote: > > > On Tue, Jan 05, 2016 at 09:13:19AM +0100, Martin Schwidefsky wrote: > > > On Mon, 4 Jan 2016 22:18:58 +0200 > > > "Michael S. Tsirkin" wrote: > > > > > > >

Re: [Xen-devel] [PATCH v3 00/11] igd passthrough chipset tweaks

2016-01-05 Thread Michael S. Tsirkin
On Tue, Jan 05, 2016 at 12:41:27PM +0100, Gerd Hoffmann wrote: > Hi, > > We have some code in our tree to support pci passthrough of intel > graphics devices (igd) on xen, which requires some chipset tweaks > for (a) the host bridge and (b) the lpc/isa-bridge to meat the > expectations of the gu

Re: [Xen-devel] Failed vm entry with heavy use of emulator

2016-01-05 Thread Razvan Cojocaru
On 01/05/2016 01:56 PM, Andrew Cooper wrote: > On 05/01/16 11:49, Tamas K Lengyel wrote: >> Hi all, >> I've been stress-testing the built-in emulator using the vm_event >> response VM_EVENT_FLAG_EMULATE feature. In the test I've turned all >> pages non-readable by default and all trapped instructio

Re: [Xen-devel] Failed vm entry with heavy use of emulator

2016-01-05 Thread Andrew Cooper
On 05/01/16 12:05, Tamas K Lengyel wrote: > > > On Tue, Jan 5, 2016 at 12:56 PM, Andrew Cooper > mailto:andrew.coop...@citrix.com>> wrote: > > On 05/01/16 11:49, Tamas K Lengyel wrote: >> Hi all, >> I've been stress-testing the built-in emulator using the vm_event >> response VM_EVE

Re: [Xen-devel] Failed vm entry with heavy use of emulator

2016-01-05 Thread Andrew Cooper
On 05/01/16 13:39, Razvan Cojocaru wrote: > On 01/05/2016 01:56 PM, Andrew Cooper wrote: >> On 05/01/16 11:49, Tamas K Lengyel wrote: >>> Hi all, >>> I've been stress-testing the built-in emulator using the vm_event >>> response VM_EVENT_FLAG_EMULATE feature. In the test I've turned all >>> pages n

Re: [Xen-devel] Question about VirtIO on Xen - Disk performance issues

2016-01-05 Thread Luca Tongiani
Sorry but I sent these logs because I have no longer available the Virtualizer of Windows DomU . In any case the problem of the performance of disks is present both in the case of Linux machines PV and Windows machines HVM . I attach the complete log of the server and the conf of my HVM Windows

Re: [Xen-devel] Failed vm entry with heavy use of emulator

2016-01-05 Thread Razvan Cojocaru
On 01/05/2016 03:49 PM, Andrew Cooper wrote: > On 05/01/16 13:39, Razvan Cojocaru wrote: >> Here's a quick log of the emulated instructions on my setup: >> http://pastebin.com/raw/XXQ0Lnzh > > Hmm - according to that, the final instruction emulated was > > d1v0 32bit @ 0008:828925db -> fa > > wh

Re: [Xen-devel] [PATCH 2/2] pc-nvdimm acpi: build ACPI tables for pc-nvdimm devices

2016-01-05 Thread Haozhong Zhang
On 01/05/16 11:00, Stefano Stabellini wrote: > On Mon, 4 Jan 2016, Konrad Rzeszutek Wilk wrote: > > On Mon, Jan 04, 2016 at 04:01:08PM +, Stefano Stabellini wrote: > > > CC'ing the Xen tools maintainers and Anthony. > > > > > > On Tue, 29 Dec 2015, Haozhong Zhang wrote: > > > > Reuse existing

Re: [Xen-devel] Question about VirtIO on Xen - Disk performance issues

2016-01-05 Thread Luca Tongiani
I forgot : all drivers about Xen frontend have been compiled into the kernel (not module). Il 05/01/2016 13:42, Stefano Stabellini ha scritto: The xenstore-ls output is not complete. Could you please send it again? I noticed from the DomU config file that it is not a Windows VM, as previously

Re: [Xen-devel] Question about VirtIO on Xen - Disk performance issues

2016-01-05 Thread Stefano Stabellini
There are a few issues in the config files. In conf_DomU_WindowsHVM: - device_model is set to /usr/lib64/xen/bin/qemu-dm, which is the old qemu-xen-traditional device model, known to have worse disk performance. Just delete this line to use the newer QEMU based tree. - disk is set to [ '/dev/v

Re: [Xen-devel] [PATCH] libxc: Defer initialization of start_page for HVM guests

2016-01-05 Thread Ian Campbell
On Tue, 2015-12-22 at 09:48 -0500, Boris Ostrovsky wrote: > On 12/22/2015 09:36 AM, Roger Pau Monné wrote: > > El 22/12/15 a les 15.12, Boris Ostrovsky ha escrit: > > > On 12/22/2015 04:42 AM, Roger Pau Monné wrote: > > > > Also, why is everything done inside of alloc_magic_pages_hvm moved > > > >

[Xen-devel] [linux-linus bisection] complete test-amd64-i386-xl-qemuu-winxpsp3

2016-01-05 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job test-amd64-i386-xl-qemuu-winxpsp3 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 git://xenbits.xen.org/qemu-xen-tradition

Re: [Xen-devel] [PATCH] fix MSI injection on Xen

2016-01-05 Thread Stefano Stabellini
On Fri, 18 Dec 2015, Stefano Stabellini wrote: > On Wed, 2 Dec 2015, Michael S. Tsirkin wrote: > > On Wed, Dec 02, 2015 at 05:16:18PM +, Stefano Stabellini wrote: > > > On Wed, 2 Dec 2015, Michael S. Tsirkin wrote: > > > > On Wed, Dec 02, 2015 at 04:56:21PM +, Stefano Stabellini wrote: > >

Re: [Xen-devel] Failed vm entry with heavy use of emulator

2016-01-05 Thread Andrew Cooper
On 05/01/16 14:01, Razvan Cojocaru wrote: > On 01/05/2016 03:49 PM, Andrew Cooper wrote: >> On 05/01/16 13:39, Razvan Cojocaru wrote: >>> Here's a quick log of the emulated instructions on my setup: >>> http://pastebin.com/raw/XXQ0Lnzh >> Hmm - according to that, the final instruction emulated was

Re: [Xen-devel] Xen 4.7 Development Update

2016-01-05 Thread Haozhong Zhang
On 01/04/16 10:15, Wei Liu wrote: > This email only tracks big items for xen.git tree. Please reply for items you > woulk like to see in 4.7 so that people have an idea what is going on and > prioritise accordingly. > > You're welcome to provide description and use cases of the feature you're > wo

Re: [Xen-devel] [PATCH RFC 02/31] tools/libxc: Use public/featureset.h for cpuid policy generation

2016-01-05 Thread Ian Campbell
On Tue, 2015-12-22 at 09:29 -0700, Jan Beulich wrote: > > > > On 16.12.15 at 22:24, wrote: > > --- a/xen/include/public/arch-x86/featureset.h > > +++ b/xen/include/public/arch-x86/featureset.h > > @@ -163,6 +163,7 @@ > >   > >  /* Intel-defined CPU features, CPUID level 0x0007:0.ebx, word 5 */

Re: [Xen-devel] [PATCH v3 60/62] arm/acpi: Configure interrupts dynamically

2016-01-05 Thread Stefano Stabellini
On Tue, 5 Jan 2016, Shannon Zhao wrote: > Hi, > > On 2015/11/30 23:42, Julien Grall wrote: > > Hi Shannon, > > > > On 17/11/15 09:40, shannon.z...@linaro.org wrote: > >> From: Parth Dixit > >> > >> Interrupt information is described in DSDT and is not available at > >> the time of booting. Confi

Re: [Xen-devel] [PATCH RFC 02/31] tools/libxc: Use public/featureset.h for cpuid policy generation

2016-01-05 Thread Ian Campbell
On Tue, 2016-01-05 at 14:17 +, Andrew Cooper wrote: > On 05/01/16 14:13, Ian Campbell wrote: > > On Tue, 2015-12-22 at 09:29 -0700, Jan Beulich wrote: > > > > > > On 16.12.15 at 22:24, wrote: > > > > --- a/xen/include/public/arch-x86/featureset.h > > > > +++ b/xen/include/public/arch-x86/featu

Re: [Xen-devel] [PATCH RFC 03/31] xen/x86: Store antifeatures inverted in a featureset

2016-01-05 Thread Ian Campbell
On Tue, 2015-12-22 at 17:03 +, Andrew Cooper wrote: > On 22/12/15 16:32, Jan Beulich wrote: > > > > > On 16.12.15 at 22:24, wrote: > > > --- /dev/null > > > +++ b/xen/arch/x86/cpuid/cpuid-private.h > > > @@ -0,0 +1,27 @@ > > > +#ifdef __XEN__ > > > + > > > +#include > > > + > > > +#include >

Re: [Xen-devel] [PATCH v2 22/32] s390: define __smp_xxx

2016-01-05 Thread Martin Schwidefsky
On Tue, 5 Jan 2016 15:04:43 +0200 "Michael S. Tsirkin" wrote: > On Tue, Jan 05, 2016 at 01:08:52PM +0100, Martin Schwidefsky wrote: > > On Tue, 5 Jan 2016 11:30:19 +0200 > > "Michael S. Tsirkin" wrote: > > > > > On Tue, Jan 05, 2016 at 09:13:19AM +0100, Martin Schwidefsky wrote: > > > > On Mon,

Re: [Xen-devel] Failed vm entry with heavy use of emulator

2016-01-05 Thread Tamas K Lengyel
On Tue, Jan 5, 2016 at 3:01 PM, Razvan Cojocaru wrote: > On 01/05/2016 03:49 PM, Andrew Cooper wrote: > > On 05/01/16 13:39, Razvan Cojocaru wrote: > >> Here's a quick log of the emulated instructions on my setup: > >> http://pastebin.com/raw/XXQ0Lnzh > > > > Hmm - according to that, the final in

Re: [Xen-devel] [PATCH RFC 02/31] tools/libxc: Use public/featureset.h for cpuid policy generation

2016-01-05 Thread Andrew Cooper
On 05/01/16 14:13, Ian Campbell wrote: > On Tue, 2015-12-22 at 09:29 -0700, Jan Beulich wrote: > On 16.12.15 at 22:24, wrote: >>> --- a/xen/include/public/arch-x86/featureset.h >>> +++ b/xen/include/public/arch-x86/featureset.h >>> @@ -163,6 +163,7 @@ >>> >>> /* Intel-defined CPU features,

Re: [Xen-devel] [PATCH RFC 03/31] xen/x86: Store antifeatures inverted in a featureset

2016-01-05 Thread Andrew Cooper
On 05/01/16 14:19, Ian Campbell wrote: > On Tue, 2015-12-22 at 17:03 +, Andrew Cooper wrote: >> On 22/12/15 16:32, Jan Beulich wrote: >> On 16.12.15 at 22:24, wrote: --- /dev/null +++ b/xen/arch/x86/cpuid/cpuid-private.h @@ -0,0 +1,27 @@ +#ifdef __XEN__ + +#in

Re: [Xen-devel] [PATCH RFC 02/31] tools/libxc: Use public/featureset.h for cpuid policy generation

2016-01-05 Thread Andrew Cooper
On 05/01/16 14:18, Ian Campbell wrote: > On Tue, 2016-01-05 at 14:17 +, Andrew Cooper wrote: >> On 05/01/16 14:13, Ian Campbell wrote: >>> On Tue, 2015-12-22 at 09:29 -0700, Jan Beulich wrote: >>> On 16.12.15 at 22:24, wrote: > --- a/xen/include/public/arch-x86/featureset.h > +++ b

Re: [Xen-devel] Xen 4.7 Development Update

2016-01-05 Thread Meng Xu
Hi Wei, On Mon, Jan 4, 2016 at 6:15 PM, Wei Liu wrote: > This email only tracks big items for xen.git tree. Please reply for items you > woulk like to see in 4.7 so that people have an idea what is going on and > prioritise accordingly. > > You're welcome to provide description and use cases of t

Re: [Xen-devel] Xen 4.7 Development Update

2016-01-05 Thread Wei Liu
On Tue, Jan 05, 2016 at 10:30:53PM +0800, Meng Xu wrote: > Hi Wei, > > On Mon, Jan 4, 2016 at 6:15 PM, Wei Liu wrote: > > This email only tracks big items for xen.git tree. Please reply for items > > you > > woulk like to see in 4.7 so that people have an idea what is going on and > > prioritise

Re: [Xen-devel] Failed vm entry with heavy use of emulator

2016-01-05 Thread Razvan Cojocaru
On 01/05/2016 04:16 PM, Tamas K Lengyel wrote: > > > On Tue, Jan 5, 2016 at 3:01 PM, Razvan Cojocaru > mailto:rcojoc...@bitdefender.com>> wrote: > > On 01/05/2016 03:49 PM, Andrew Cooper wrote: > > On 05/01/16 13:39, Razvan Cojocaru wrote: > >> Here's a quick log of the emulated inst

Re: [Xen-devel] [PATCH] tools: make flask utils build unconditional

2016-01-05 Thread Ian Campbell
On Mon, 2016-01-04 at 14:26 +, Wei Liu wrote: > On Mon, Jan 04, 2016 at 08:14:23AM -0600, Doug Goldstein wrote: > > On 1/4/16 6:28 AM, Wei Liu wrote: > > > On Mon, Dec 21, 2015 at 10:46:43PM -0600, Doug Goldstein wrote: > > > > The flask utilities only have dependencies on libxc so there's no >

Re: [Xen-devel] [PATCH v2 17/32] arm: define __smp_xxx

2016-01-05 Thread Michael S. Tsirkin
On Mon, Jan 04, 2016 at 01:59:34PM +, Russell King - ARM Linux wrote: > On Mon, Jan 04, 2016 at 02:54:20PM +0100, Peter Zijlstra wrote: > > On Mon, Jan 04, 2016 at 02:36:58PM +0100, Peter Zijlstra wrote: > > > On Sun, Jan 03, 2016 at 11:12:44AM +0200, Michael S. Tsirkin wrote: > > > > On Sat, J

Re: [Xen-devel] Question about VirtIO on Xen - Disk performance issues

2016-01-05 Thread Luca Tongiani
Hi, Thanks for the hints , I did experiment with the changes you suggested and now we were able to achieve the following result : the performance of the domU is 50 % of the dom0 . Is it possible to improve these numbers more ? Also , do you have any advice on where to find extensive documenta

Re: [Xen-devel] [PATCH] x86/vmx: Fix injection of #DB traps following XSA-156

2016-01-05 Thread Ian Campbell
On Tue, 2016-01-05 at 06:53 +, Tian, Kevin wrote: > > From: Andrew Cooper [mailto:andrew.coop...@citrix.com] > > Sent: Monday, January 04, 2016 6:00 PM > > > > Most #DB exceptions are traps rather than faults, meaning that the > > instruction > > pointer in the exception frame points after the

Re: [Xen-devel] [PATCH XEN v7 01/29] stubdom: recurse into tools/include in mk-headers-$(XEN_TARGET_ARCH) rule

2016-01-05 Thread Ian Campbell
On Wed, 2015-12-16 at 23:13 +0100, Samuel Thibault wrote: > Ian Campbell, on Wed 16 Dec 2015 12:31:08 +, wrote: > > ... rather than in the libxc rule. > > > > This puts all the header dependencies in one place and will allow us > > to avoid races when more libraries which need these headers ar

Re: [Xen-devel] [PATCH] tools: allow configure time choice of libexec subdirectory.

2016-01-05 Thread Ian Campbell
On Mon, 2016-01-04 at 17:00 +, Ian Jackson wrote: > Ian Campbell writes ("Re: [PATCH] tools: allow configure time choice of > libexec subdirectory."): > > I somehow slipped a stray ` in there and didn't notice, sorry. > > This looks like a reasonable change aside from that but we should > defi

Re: [Xen-devel] [PATCH XEN v7 02/29] tools: Refactor "xentoollog" into its own library

2016-01-05 Thread Ian Campbell
On Wed, 2015-12-16 at 12:31 +, Ian Campbell wrote: > In attempting to disaggregate libxenctrl I found that many of the > pieces were going to want access to this library, so split it out (as > it probably should always have been). > > Various build adjustments are needed. In particular things

Re: [Xen-devel] [PATCH] xen/arm: vgic: Clarify some comments after 5d495f4

2016-01-05 Thread Ian Campbell
On Thu, 2015-12-17 at 17:29 +, Julien Grall wrote: > Ian pointed out that the definition of "offset" and "appropriate > boundary" in the comments added by "xen/arm: vgic: Optimize the way to > store the target vCPU in the rank" were not cleared. > > Clarify them by explicitly mentionning the o

Re: [Xen-devel] [PATCH v4 2/5] libxl: Fix libxl_set_memory_target return value

2016-01-05 Thread Ian Campbell
On Mon, 2016-01-04 at 17:37 +, Ian Jackson wrote: > George Dunlap writes ("[PATCH v4 2/5] libxl: Fix libxl_set_memory_target > return value"): > > 2. Use 'r' for return values to functions whose return values are a > > different error space (like xc_domain_setmaxmem and > > xc_domain_set_pod_ta

Re: [Xen-devel] [PATCH 0/4] xen/arm64: Emulate correctly the register {w, x}zr

2016-01-05 Thread Ian Campbell
On Thu, 2015-12-17 at 17:36 +, Ian Campbell wrote: > On Thu, 2015-12-17 at 17:17 +, Julien Grall wrote: > > Hi Ian, > > > > On 11/12/15 15:28, Julien Grall wrote: > > > Hi all, > > > > > > This patch series aims to fix the emulation of register {w,x}zr for > > > ARM64. > > > > > > A bran

Re: [Xen-devel] [PATCH RFC 02/31] tools/libxc: Use public/featureset.h for cpuid policy generation

2016-01-05 Thread Ian Campbell
On Tue, 2016-01-05 at 14:23 +, Andrew Cooper wrote: > On 05/01/16 14:18, Ian Campbell wrote: > > On Tue, 2016-01-05 at 14:17 +, Andrew Cooper wrote: > > > On 05/01/16 14:13, Ian Campbell wrote: > > > > On Tue, 2015-12-22 at 09:29 -0700, Jan Beulich wrote: > > > > > > > > On 16.12.15 at 22:2

Re: [Xen-devel] [PATCH RFC 12/31] tools: Utility for dealing with featuresets

2016-01-05 Thread Ian Campbell
On Wed, 2015-12-16 at 21:24 +, Andrew Cooper wrote: > It is able to reports the current featuresets; both the static masks and > dynamic featuresets from Xen, or to decode an arbitrary featureset into > `/proc/cpuinfo` style strings. More than adding a utility does this not also arrange for a

Re: [Xen-devel] [PATCH v4 2/5] libxl: Fix libxl_set_memory_target return value

2016-01-05 Thread Ian Jackson
Ian Campbell writes ("Re: [PATCH v4 2/5] libxl: Fix libxl_set_memory_target return value"): > On Mon, 2016-01-04 at 17:37 +, Ian Jackson wrote: > > Can you go back to `lrc' for just that one use ?  I think that would > > be analogous with CODING_STYLE's suggestion to use `rc' for libxl > > err

[Xen-devel] [patch added to the 3.12 stable tree] x86/cpu: Fix SMAP check in PVOPS environments

2016-01-05 Thread Jiri Slaby
From: Andrew Cooper This patch has been added to the 3.12 stable tree. If you have any objections, please let us know. === commit 581b7f158fe0383b492acd1ce3fb4e99d4e57808 upstream. There appears to be no formal statement of what pv_irq_ops.save_fl() is supposed to return precisely.

Re: [Xen-devel] [PATCH] tools: make flask utils build unconditional

2016-01-05 Thread Ian Campbell
On Tue, 2016-01-05 at 14:37 +, Ian Campbell wrote: > > which on the basis of this discussion I wasn't expecting. I didn't see this > new file on i686 or ARM*. > > My baseline is from the last time I committed, which would be last year, so > maybe something other than my current batch of patch

Re: [Xen-devel] [PATCH RFC 08/31] tools/stubs: Expose host featureset to userspace

2016-01-05 Thread Ian Campbell
On Wed, 2015-12-16 at 21:24 +, Andrew Cooper wrote: > diff --git a/tools/libxc/xc_misc.c b/tools/libxc/xc_misc.c > index c613545..4d7af3d 100644 > --- a/tools/libxc/xc_misc.c > +++ b/tools/libxc/xc_misc.c > @@ -718,6 +718,33 @@ int xc_hvm_inject_trap( >  return rc; >  } >   > +int xc_get_fe

Re: [Xen-devel] [OSSTEST PATCH] support XSM/FLASK via Kconfig

2016-01-05 Thread Ian Jackson
Ian Campbell writes ("Re: [OSSTEST PATCH] support XSM/FLASK via Kconfig"): > On Tue, 2015-12-22 at 13:00 -0600, Doug Goldstein wrote: > > In antcipation of XSM and FLASK migrating to Kconfig add support for > > building them via Kconfig or the existing mechanism. ... > The general shape looks plaus

Re: [Xen-devel] [PATCH v2 22/32] s390: define __smp_xxx

2016-01-05 Thread Christian Borntraeger
On 01/05/2016 10:30 AM, Michael S. Tsirkin wrote: > > arch/s390/kernel/vdso.c:smp_mb(); > > Looking at > Author: Christian Borntraeger > Date: Fri Sep 11 16:23:06 2015 +0200 > > s390/vdso: use correct memory barrier > > By definition smp_wmb only orde

Re: [Xen-devel] [PATCH RFC 02/31] tools/libxc: Use public/featureset.h for cpuid policy generation

2016-01-05 Thread Andrew Cooper
On 05/01/16 15:02, Ian Campbell wrote: > On Tue, 2016-01-05 at 14:23 +, Andrew Cooper wrote: >> On 05/01/16 14:18, Ian Campbell wrote: >>> On Tue, 2016-01-05 at 14:17 +, Andrew Cooper wrote: On 05/01/16 14:13, Ian Campbell wrote: > On Tue, 2015-12-22 at 09:29 -0700, Jan Beulich wro

Re: [Xen-devel] [PATCH RFC 13/31] tools/libxc: Wire a featureset through to cpuid policy logic

2016-01-05 Thread Ian Campbell
On Wed, 2015-12-16 at 21:24 +, Andrew Cooper wrote: > Later changes will cause the cpuid generation logic to seed their > information > from a featureset.  This patch adds the infrastructure to specify a > featureset, and will obtain the appropriate default from Xen if omitted. > > Signed-off-

Re: [Xen-devel] question about migration

2016-01-05 Thread Ian Jackson
Andrew Cooper writes ("Re: [Xen-devel] question about migration"): > On 04/01/16 17:46, Ian Jackson wrote: > > Suppose a domain goes into SHUTDOWN with reason code SUSPEND. Then > > later it is resumed again (perhaps the migration failed). And later > > it shuts down cleanly. > > > > Will this ge

Re: [Xen-devel] [PATCH v2 01/13] xen: add xenstore domain flag to hypervisor

2016-01-05 Thread Ian Campbell
On Fri, 2015-12-18 at 14:14 +0100, Juergen Gross wrote: > diff --git a/xen/include/xsm/xsm.h b/xen/include/xsm/xsm.h > index 3fc3824..6304eb9 100644 > --- a/xen/include/xsm/xsm.h > +++ b/xen/include/xsm/xsm.h > @@ -35,6 +35,7 @@ enum xsm_default { >  XSM_DM_PRIV,  /* Device model can perform on

Re: [Xen-devel] [PATCH RFC 14/31] tools/libxc: Use featureset rather than guesswork

2016-01-05 Thread Ian Campbell
On Wed, 2015-12-16 at 21:24 +, Andrew Cooper wrote: > It is conceptually wrong to base a VM's featureset on the features > visible to > the toolstack which happens to construct it. > > Instead, the featureset used is either an explicit one passed by the > toolstack, or the default which Xen be

Re: [Xen-devel] [PATCH v2 01/13] xen: add xenstore domain flag to hypervisor

2016-01-05 Thread Juergen Gross
On 05/01/16 16:46, Ian Campbell wrote: > On Fri, 2015-12-18 at 14:14 +0100, Juergen Gross wrote: >> diff --git a/xen/include/xsm/xsm.h b/xen/include/xsm/xsm.h >> index 3fc3824..6304eb9 100644 >> --- a/xen/include/xsm/xsm.h >> +++ b/xen/include/xsm/xsm.h >> @@ -35,6 +35,7 @@ enum xsm_default { >>

Re: [Xen-devel] Xen 4.7 Development Update

2016-01-05 Thread Meng Xu
On Tue, Jan 5, 2016 at 10:34 PM, Wei Liu wrote: > On Tue, Jan 05, 2016 at 10:30:53PM +0800, Meng Xu wrote: >> Hi Wei, >> >> On Mon, Jan 4, 2016 at 6:15 PM, Wei Liu wrote: >> > This email only tracks big items for xen.git tree. Please reply for items >> > you >> > woulk like to see in 4.7 so that

Re: [Xen-devel] [PATCH v2 22/32] s390: define __smp_xxx

2016-01-05 Thread Michael S. Tsirkin
On Tue, Jan 05, 2016 at 04:39:37PM +0100, Christian Borntraeger wrote: > On 01/05/2016 10:30 AM, Michael S. Tsirkin wrote: > > > > > arch/s390/kernel/vdso.c:smp_mb(); > > > > Looking at > > Author: Christian Borntraeger > > Date: Fri Sep 11 16:23:06 2015 +0200 > > > >

Re: [Xen-devel] [PATCH RFC 08/31] tools/stubs: Expose host featureset to userspace

2016-01-05 Thread Andrew Cooper
On 05/01/16 15:36, Ian Campbell wrote: > On Wed, 2015-12-16 at 21:24 +, Andrew Cooper wrote: >> diff --git a/tools/libxc/xc_misc.c b/tools/libxc/xc_misc.c >> index c613545..4d7af3d 100644 >> --- a/tools/libxc/xc_misc.c >> +++ b/tools/libxc/xc_misc.c >> @@ -718,6 +718,33 @@ int xc_hvm_inject_tra

  1   2   >