Re: [Xen-devel] [RFC V2] xen: interface: introduce pvclk interface

2016-01-20 Thread Jan Beulich
>>> On 21.01.16 at 02:29, wrote: > The platform device passthrough part for arm is to mapping the machine io > address > to the guest physical io address. Then guest can map the phsical io address > to its > own virtual address, then by accessing virtual address, guest can access > machine io a

Re: [Xen-devel] Backports for Xen 4.6

2016-01-20 Thread Jan Beulich
>>> On 20.01.16 at 19:32, wrote: > On 18/01/16 15:53, Andrew Cooper wrote: >> Looking at the XenServer patch queue, I have a few nominations for >> backports. >> >> Hypervisor: >> 22a1fbb575df "x86/hvm: make sure stdvga cache cannot be re-enabled" > > This patch appears to have been missed in the

Re: [Xen-devel] VPMU backports for 4.6

2016-01-20 Thread Jan Beulich
>>> On 20.01.16 at 18:36, wrote: > (As a side --- XSA-163 says that VPMU is "unsupported security-wise". Do > we make any distinction between a feature being generally or > security-wise unsupported?) Not sure; considering stable tree maintenance one might imply general support to be a superset

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

2016-01-20 Thread osstest service owner
flight 78586 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/78586/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-multivcpu 6 xen-boot fail REGR. vs. 59254 test-armhf-armhf-xl-c

Re: [Xen-devel] [xen-4.5-testing baseline-only test] 38676: trouble: blocked/broken/fail/pass

2016-01-20 Thread Juergen Gross
On 21/01/16 07:31, Platform Team regression test user wrote: > This run is configured for baseline tests only. > > flight 38676 xen-4.5-testing real [real] > http://osstest.xs.citrite.net/~osstest/testlogs/logs/38676/ I've seen this more than once now: some test results seem not to be reachable f

[Xen-devel] [xen-4.5-testing baseline-only test] 38676: trouble: blocked/broken/fail/pass

2016-01-20 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 38676 xen-4.5-testing real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/38676/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64

Re: [Xen-devel] [RFC v1 2/8] tables.h: add linker table support

2016-01-20 Thread Michael Brown
+ * To solve this problem linker tables can be used on Linux, it enables you to + * always force compiling of select features that one wishes to avoid bit-rot + * while still enabling you to disable linking feature code into the final + * kernel image or building certain modules if the features ha

Re: [Xen-devel] [PATCH 4/4] hvmloader: add support to load extra ACPI tables from qemu

2016-01-20 Thread Bob Liu
On 01/20/2016 11:41 PM, Konrad Rzeszutek Wilk wrote: > Neither of these are sufficient however. That gets Qemu a mapping of > the NVDIMM, not the guest. Something, one way or another, has to turn > this into appropriate add-to-phymap hypercalls. > Yes, those hypercalls

Re: [Xen-devel] [PATCH 4/4] hvmloader: add support to load extra ACPI tables from qemu

2016-01-20 Thread Haozhong Zhang
On 01/20/16 12:18, Konrad Rzeszutek Wilk wrote: > > c) hotplug support > > >>> > > >>>How does that work? Ah the _DSM will point to the new ACPI NFIT for the > > >>>OS > > >>>to scan. That would require the hypervisor also reading this for it to > > >>>update it's data-structures. > > >> > > >

Re: [Xen-devel] [PATCH] libxl: dispose libxl_dominfo after libxl_domain_info()

2016-01-20 Thread Jim Fehlig
Joao Martins wrote: > As suggested in a previous thread [0] this patch adds some missing calls > to libxl_dominfo_dispose when doing some of the libxl_domain_info > operations which would otherwise lead to memory leaks. > > [0] > https://www.redhat.com/archives/libvir-list/2015-September/msg00519.

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

2016-01-20 Thread osstest service owner
flight 78614 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/78614/ 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] [RFC V2] xen: interface: introduce pvclk interface

2016-01-20 Thread Peng Fan
Hi Jan, On Wed, Jan 20, 2016 at 07:52:58AM -0700, Jan Beulich wrote: On 20.01.16 at 15:37, wrote: >> On Wed, Jan 20, 2016 at 07:16:36AM -0700, Jan Beulich wrote: >> On 20.01.16 at 15:05, wrote: On Wed, Jan 20, 2016 at 05:01:40AM -0700, Jan Beulich wrote: On 20.01.16 at 12:

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

2016-01-20 Thread osstest service owner
flight 78582 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/78582/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-libvirt-xsm 12 migrate-support-checkfail never pass test-armhf-armhf-libvirt-xsm 14 guest-saver

[Xen-devel] [xen-4.6-testing baseline-only test] 38674: regressions - trouble: broken/fail/pass

2016-01-20 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 38674 xen-4.6-testing real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/38674/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-rumpuserxen-amd64 3 host-i

Re: [Xen-devel] [RFC v1 2/8] tables.h: add linker table support

2016-01-20 Thread H. Peter Anvin
On January 20, 2016 3:15:48 PM PST, Michael Brown wrote: >>> + * To solve this problem linker tables can be used on Linux, it >enables you to >>> + * always force compiling of select features that one wishes to >avoid bit-rot >>> + * while still enabling you to disable linking feature code into >t

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

2016-01-20 Thread osstest service owner
flight 78529 xen-4.5-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/78529/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-i386-xl-qemut-win7-amd64 16 guest-stop fail REGR. vs. 77666 test-amd64-amd64-xl-rtds

Re: [Xen-devel] Unifying x86_64 / Xen init paths and reading hardware_subarch early

2016-01-20 Thread Konrad Rzeszutek Wilk
On Fri, Jan 15, 2016 at 03:47:25PM -0800, Andy Lutomirski wrote: > On Fri, Jan 15, 2016 at 2:08 PM, Luis R. Rodriguez wrote: > > I will be respinning the generic Linux linker table solution [0] soon > > based on hpa's feedback again now that I'm back from vacation. As I do > > that though I wanted

Re: [Xen-devel] [RFC v1 4/8] x86/init: add linker table support

2016-01-20 Thread H. Peter Anvin
On January 20, 2016 2:12:49 PM PST, "Luis R. Rodriguez" wrote: >On Wed, Jan 20, 2016 at 1:41 PM, H. Peter Anvin wrote: >> On 01/20/16 13:33, Luis R. Rodriguez wrote: >>> >>> That's correct for PV and PVH, likewise when qemu is required for >HVM >>> qemu could set it. I have the qemu change done

Re: [Xen-devel] [PATCH] cleancache: constify cleancache_ops structure

2016-01-20 Thread Konrad Rzeszutek Wilk
On Wed, Dec 23, 2015 at 10:06:24PM +0100, Julia Lawall wrote: > The cleancache_ops structure is never modified, so declare it as const. > > This also removes the __read_mostly declaration on the cleancache_ops > variable declaration, since it seems redundant with const. > > Done with the help of

Re: [Xen-devel] [RFC v1 4/8] x86/init: add linker table support

2016-01-20 Thread Luis R. Rodriguez
On Wed, Jan 20, 2016 at 1:41 PM, H. Peter Anvin wrote: > On 01/20/16 13:33, Luis R. Rodriguez wrote: >> >> That's correct for PV and PVH, likewise when qemu is required for HVM >> qemu could set it. I have the qemu change done but that should only >> cover HVM. A common place to set this as well c

Re: [Xen-devel] xen-netfront crash when detaching network while some network activity

2016-01-20 Thread Konrad Rzeszutek Wilk
On Tue, Dec 01, 2015 at 11:32:58PM +0100, Marek Marczykowski-Górecki wrote: > On Tue, Dec 01, 2015 at 05:00:42PM -0500, Konrad Rzeszutek Wilk wrote: > > On Tue, Nov 17, 2015 at 03:45:15AM +0100, Marek Marczykowski-Górecki wrote: > > > On Wed, Oct 21, 2015 at 08:57:34PM +0200, Marek Marczykowski-Gór

Re: [Xen-devel] [RFC v1 0/8] x86/init: Linux linker tables

2016-01-20 Thread Luis R. Rodriguez
On Wed, Jan 20, 2016 at 1:16 PM, Konrad Rzeszutek Wilk wrote: > On Tue, Dec 15, 2015 at 02:16:29PM -0800, Luis R. Rodriguez wrote: >> From: "Luis R. Rodriguez" >> >> A long time ago in a galaxy far, >> far away... > > :-) > > You wouldn't have this on a git tree by any c

[Xen-devel] [PATCH] arm: clean up build variables

2016-01-20 Thread Doug Goldstein
This consolidates some of the different variables used for the ARM builds. This change was prompted by the Kconfig changes but looking back in time the CONFIG_ARM_{32,64} variables existed before Kconfig so this should just be a generic cleanup. Signed-off-by: Doug Goldstein --- xen/arch/arm/Mak

Re: [Xen-devel] [RFC v1 6/8] x86/init: use linker table for i386 early setup

2016-01-20 Thread Luis R. Rodriguez
On Wed, Jan 20, 2016 at 1:14 PM, Konrad Rzeszutek Wilk wrote: > On Tue, Dec 15, 2015 at 02:16:35PM -0800, Luis R. Rodriguez wrote: >> From: "Luis R. Rodriguez" >> >> This also annotates this is only used for PC and >> lguest hardware subarchitectures. >> >> Signed-off-by: Luis R. Rodriguez > > O

Re: [Xen-devel] [RFC v1 4/8] x86/init: add linker table support

2016-01-20 Thread H. Peter Anvin
On 01/20/16 13:33, Luis R. Rodriguez wrote: > > That's correct for PV and PVH, likewise when qemu is required for HVM > qemu could set it. I have the qemu change done but that should only > cover HVM. A common place to set this as well could be the hypervisor, > but currently the hypervisor doesn'

Re: [Xen-devel] [RFC v1 4/8] x86/init: add linker table support

2016-01-20 Thread Luis R. Rodriguez
On Wed, Jan 20, 2016 at 1:00 PM, Konrad Rzeszutek Wilk wrote: >> +static bool x86_init_fn_supports_subarch(struct x86_init_fn *fn) >> +{ >> + if (!fn->supp_hardware_subarch) { >> + pr_err("Init sequence fails to declares any supported >> subarchs: %pF\n", fn->early_init); >> +

Re: [Xen-devel] [RFC v1 0/8] x86/init: Linux linker tables

2016-01-20 Thread Konrad Rzeszutek Wilk
On Tue, Dec 15, 2015 at 02:16:29PM -0800, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > A long time ago in a galaxy far, > far away... :-) You wouldn't have this on a git tree by any chance? And thank you for doing this! ___

Re: [Xen-devel] [RFC v1 8/8] x86/init: use linker table for mid early setup

2016-01-20 Thread Konrad Rzeszutek Wilk
On Tue, Dec 15, 2015 at 02:16:37PM -0800, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > Using the linker table removes the need for the #ifdef'ery > and clutter on head32.c. Reviewed-by: Konrad Rzeszutek Wilk > > Signed-off-by: Luis R. Rodriguez > --- > arch/x86/include/asm/setup.

Re: [Xen-devel] [RFC v1 7/8] x86/init: user linker table for ce4100 early setup

2016-01-20 Thread Konrad Rzeszutek Wilk
On Tue, Dec 15, 2015 at 02:16:36PM -0800, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > Using the linker table removes the need for the #ifdef'ery > and clutter on head32.c. > > Signed-off-by: Luis R. Rodriguez Reviewed-by: Konrad Rzeszutek Wilk > --- > arch/x86/include/asm/setup.

Re: [Xen-devel] [RFC v1 6/8] x86/init: use linker table for i386 early setup

2016-01-20 Thread Konrad Rzeszutek Wilk
On Tue, Dec 15, 2015 at 02:16:35PM -0800, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > This also annotates this is only used for PC and > lguest hardware subarchitectures. > > Signed-off-by: Luis R. Rodriguez On Xen the code path (before this patch) was: xen_start_kernel->i386_star

[Xen-devel] [xen-unstable-smoke test] 78630: tolerable all pass - PUSHED

2016-01-20 Thread osstest service owner
flight 78630 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/78630/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-libvirt 12 migrate-support-checkfail never pass test-armhf-armhf-xl 12

Re: [Xen-devel] [RFC v1 4/8] x86/init: add linker table support

2016-01-20 Thread Konrad Rzeszutek Wilk
> +static bool x86_init_fn_supports_subarch(struct x86_init_fn *fn) > +{ > + if (!fn->supp_hardware_subarch) { > + pr_err("Init sequence fails to declares any supported subarchs: > %pF\n", fn->early_init); > + WARN_ON(1); > + } > + if (BIT(boot_params.hdr.hardwa

Re: [Xen-devel] [RFC v1 5/8] x86/init: move ebda reservations into linker table

2016-01-20 Thread Konrad Rzeszutek Wilk
On Tue, Dec 15, 2015 at 02:16:34PM -0800, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > This lets us annotate its requirements specifically for > PC and lguest subarchitectures. While at it since head.c > just has ebda data rename it. Since we're using linker tables > and both x86 32-b

Re: [Xen-devel] [RFC v1 4/8] x86/init: add linker table support

2016-01-20 Thread Konrad Rzeszutek Wilk
> diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug > index 137dfa96aa14..e66b030e82bc 100644 > --- a/arch/x86/Kconfig.debug > +++ b/arch/x86/Kconfig.debug > @@ -400,4 +400,51 @@ config PUNIT_ATOM_DEBUG > The current power state can be read from > /sys/kernel/debug/punit_

Re: [Xen-devel] [RFC v1 3/8] x86/boot: add BIT() to boot/bitops.h

2016-01-20 Thread Luis R. Rodriguez
On Wed, Jan 20, 2016 at 12:17 PM, Konrad Rzeszutek Wilk wrote: > Where? Could you paste in the name of the patch in the description? +x86_init_early(BIT(X86_SUBARCH_INTEL_MID), NULL, NULL, + x86_intel_mid_early_setup); Is an example, so users of the subarch. Likewise the macro helpe

Re: [Xen-devel] [RFC v1 3/8] x86/boot: add BIT() to boot/bitops.h

2016-01-20 Thread Konrad Rzeszutek Wilk
On Tue, Dec 15, 2015 at 02:16:32PM -0800, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > The boot/bitops.h guards against included the regular bitops, It may sounds better this way: The boot/bitops.h has guards against including the regular bitops (include/asm-generic/bitops.h) > it

[Xen-devel] Xen PV PTE ABI (or lack thereof)

2016-01-20 Thread Andrew Cooper
Hi, Pagetable entries are a shared medium between Xen and PV guests. To the best of my knowledge, there is nothing written down about the ABI here, and there are increasing problems as new hardware features become available. First of all, SMEP and SMAP. 32bit PV guests are subject to Xen's SMEP

Re: [Xen-devel] [RFC v1 2/8] tables.h: add linker table support

2016-01-20 Thread Konrad Rzeszutek Wilk
> diff --git a/Documentation/kbuild/makefiles.txt > b/Documentation/kbuild/makefiles.txt > index 13f888a02a3d..0a21b8db2f90 100644 > --- a/Documentation/kbuild/makefiles.txt > +++ b/Documentation/kbuild/makefiles.txt > @@ -1088,6 +1088,25 @@ When kbuild executes, the following steps are followed

Re: [Xen-devel] [RFC v1 1/8] paravirt: rename paravirt_enabled to paravirt_legacy

2016-01-20 Thread Konrad Rzeszutek Wilk
On Tue, Dec 15, 2015 at 02:16:30PM -0800, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" Hey Luis, Sorry for the long time to respond.. > > paravirt_enabled conveys the idea that if this is set or if > paravirt_enabled() returns true you are in a paravirtualized > environment. This is not

Re: [Xen-devel] [PATCH] x86: fix (and simplify) MTRR overlap checking

2016-01-20 Thread Andrew Cooper
On 20/01/16 15:39, Jan Beulich wrote: > Obtaining one individual range per variable range register (via > get_mtrr_range()) was bogus from the beginning, as these registers may > cover multiple disjoint ranges. Do away with that, in favor of simply > comparing masked addresses. > > Also, for is_var

[Xen-devel] [PATCH] libxl: dispose libxl_dominfo after libxl_domain_info()

2016-01-20 Thread Joao Martins
As suggested in a previous thread [0] this patch adds some missing calls to libxl_dominfo_dispose when doing some of the libxl_domain_info operations which would otherwise lead to memory leaks. [0] https://www.redhat.com/archives/libvir-list/2015-September/msg00519.html Signed-off-by: Joao Martin

[Xen-devel] [PATCH v3 2/3] libxl: move begin phase job handling

2016-01-20 Thread Joao Martins
. From libxlMigrationBegin to libxlDomainMigrateBegin3Params(). This is a preparatory patch to be able to begin a job in the perform phase. Signed-off-by: Joao Martins --- src/libxl/libxl_driver.c| 18 +- src/libxl/libxl_migration.c | 16 +++- 2 files changed, 20

[Xen-devel] [PATCH v3 1/3] libxl: add p2p migration

2016-01-20 Thread Joao Martins
Introduce support for VIR_MIGRATE_PEER2PEER in libvirt migration. Most of the changes occur at the source and no modifications at the receiver. In P2P mode there is only the Perform phase so we must handle the connection with the destination and actually perform the migration. libxlDomainPerformP2

[Xen-devel] [PATCH v3 0/3] libxl: p2p migration support

2016-01-20 Thread Joao Martins
Hey, This series adds support for p2p migration: Patch 2 and 3 are new in this series and it's purpose is to take the LIBXL_JOB_MODIFY as mentioned in the last review. Changelog in individual patches. Thanks, Joao Joao Martins (3): libxl: add p2p migration libxl: move begin phase job handli

[Xen-devel] [PATCH v3 3/3] libxl: begin job on perform phase

2016-01-20 Thread Joao Martins
Add a job LIBXL_JOB_MODIFY in the perform phase to prevent changes to the domain from happening during migration. Signed-off-by: Joao Martins --- src/libxl/libxl_driver.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/libxl/libxl_driver.c b/src/libxl/libxl_dr

Re: [Xen-devel] [PATCH v3 5/5] libxl: add options to enable/disable emulated devices

2016-01-20 Thread Roger Pau Monné
El 20/01/16 a les 14.01, Ian Campbell ha escrit: > On Wed, 2016-01-20 at 12:57 +0100, Roger Pau Monne wrote: >> Allow enabling or disabling emulated devices from the libxl domain >> configuration file. For HVM guests with a device model all the emulated >> devices are enabled. For HVM guests withou

Re: [Xen-devel] Backports for Xen 4.6

2016-01-20 Thread Andrew Cooper
On 18/01/16 15:53, Andrew Cooper wrote: > Hi, > > Looking at the XenServer patch queue, I have a few nominations for > backports. > > Hypervisor: > 22a1fbb575df "x86/hvm: make sure stdvga cache cannot be re-enabled" This patch appears to have been missed in the latest round of backports. It cause

Re: [Xen-devel] [PATCH] x86: constrain MFN range Dom0 may access

2016-01-20 Thread Andrew Cooper
On 20/01/16 15:38, Jan Beulich wrote: > ... to that covered by the physical address width supported by the > processor. This implicitly avoids Dom0 (accidentally or due to some > kind of abuse) passing out of range addresses to a guest, which in > turn eliminates this only possibility for PV guests

Re: [Xen-devel] [PATCH LIBVIRT v2] libxl: Support cmdline= in xl config files

2016-01-20 Thread Jim Fehlig
Ian Campbell wrote: > ... and consolidate the cmdline/extra/root parsing to facilitate doing > so. > > The logic is the same as xl's parse_cmdline from the current xen.git master > branch (e6f0e099d2c17de47fd86e817b1998db903cab61). > > In order to introduce a use of VIR_WARN for logging I had to

Re: [Xen-devel] [PATCH 4/4] hvmloader: add support to load extra ACPI tables from qemu

2016-01-20 Thread Andrew Cooper
On 20/01/16 15:05, Stefano Stabellini wrote: > On Wed, 20 Jan 2016, Andrew Cooper wrote: >> On 20/01/16 14:29, Stefano Stabellini wrote: >>> On Wed, 20 Jan 2016, Andrew Cooper wrote: >>> I wouldn't encourage the introduction of anything else that requires >>> root privileges in QEMU. With QEMU

Re: [Xen-devel] [PATCH 4/4] hvmloader: add support to load extra ACPI tables from qemu

2016-01-20 Thread Konrad Rzeszutek Wilk
On Thu, Jan 21, 2016 at 01:23:31AM +0800, Xiao Guangrong wrote: > > > On 01/21/2016 01:18 AM, Konrad Rzeszutek Wilk wrote: > >>c) hotplug support > > > >How does that work? Ah the _DSM will point to the new ACPI NFIT for the > >OS > >to scan. That would require the hypervisor

Re: [Xen-devel] [PATCH v5 0/6] migration/remus: bug fix and cleanup

2016-01-20 Thread Ian Campbell
On Tue, 2016-01-19 at 15:17 +0800, Wen Congyang wrote: > Wen Congyang (6): >   remus: don't do failover if we don't have an consistent state >   remus: don't call stream_continue() when doing failover >   remus: resume immediately if libxl__xc_domain_save_done() completes >   tools/libxc: don't sen

Re: [Xen-devel] VPMU backports for 4.6

2016-01-20 Thread Boris Ostrovsky
On 01/20/2016 12:13 PM, Jan Beulich wrote: On 20.01.16 at 17:12, wrote: There two patches need to be backported to 4.6 fb424bf x86/VPMU: don't allow any non-zero writes to MSR_IA32_PEBS_ENABLE 31af0d7 x86/VPMU: check more carefully which bits are allowed to be written to MSRs "Need to be" is

Re: [Xen-devel] [PATCH 4/4] hvmloader: add support to load extra ACPI tables from qemu

2016-01-20 Thread Xiao Guangrong
On 01/21/2016 01:18 AM, Konrad Rzeszutek Wilk wrote: c) hotplug support How does that work? Ah the _DSM will point to the new ACPI NFIT for the OS to scan. That would require the hypervisor also reading this for it to update it's data-structures. Similar as you said. The NVDIMM root device

[Xen-devel] [xen-unstable-smoke test] 78624: tolerable all pass - PUSHED

2016-01-20 Thread osstest service owner
flight 78624 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/78624/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-libvirt 12 migrate-support-checkfail never pass test-armhf-armhf-xl 12

Re: [Xen-devel] [PATCH 4/4] hvmloader: add support to load extra ACPI tables from qemu

2016-01-20 Thread Xiao Guangrong
On 01/21/2016 01:07 AM, Jan Beulich wrote: On 20.01.16 at 16:29, wrote: On 01/20/2016 07:20 PM, Jan Beulich wrote: To answer this I need to have my understanding of the partitioning being done by firmware confirmed: If that's the case, then "normal" means the part that doesn't get exposed as

Re: [Xen-devel] [PATCH] tools/toollog: Drop XTL_NEW_LOGGER()

2016-01-20 Thread Ian Campbell
On Tue, 2016-01-19 at 17:58 +, Ian Jackson wrote: > Andrew Cooper writes ("Re: [PATCH] tools/toollog: Drop > XTL_NEW_LOGGER()"): > > On 19/01/16 17:36, Ian Jackson wrote: > > > I think this macro is useful because if you wanted to write (say) > > > xtl_logger_syslog, you would want to use it to

Re: [Xen-devel] [PATCH 4/4] hvmloader: add support to load extra ACPI tables from qemu

2016-01-20 Thread Konrad Rzeszutek Wilk
> c) hotplug support > >>> > >>>How does that work? Ah the _DSM will point to the new ACPI NFIT for the OS > >>>to scan. That would require the hypervisor also reading this for it to > >>>update it's data-structures. > >> > >>Similar as you said. The NVDIMM root device in SSDT/DSDT dedicates a

Re: [Xen-devel] VPMU backports for 4.6

2016-01-20 Thread Jan Beulich
>>> On 20.01.16 at 17:12, wrote: > There two patches need to be backported to 4.6 > > fb424bf x86/VPMU: don't allow any non-zero writes to MSR_IA32_PEBS_ENABLE > 31af0d7 x86/VPMU: check more carefully which bits are allowed to be > written to MSRs "Need to be" is pretty strong for an unsupporte

Re: [Xen-devel] OSSTEST: Re-blessing cubietruck-{picasso, gleizes, metzinger} for production use

2016-01-20 Thread Ian Jackson
Ian Campbell writes ("Re: [Xen-devel] OSSTEST: Re-blessing cubietruck-{picasso, gleizes, metzinger} for production use"): > The host console has: > > Jan 18 19:39:57.747858 [ 2354.661150] device vif1.0 entered promiscuous mode > Jan 18 19:40:10.795484 [ 2354.670132] IPv6: ADDRCONF(NETDEV_UP): vif

Re: [Xen-devel] [PATCH 4/4] hvmloader: add support to load extra ACPI tables from qemu

2016-01-20 Thread Jan Beulich
>>> On 20.01.16 at 16:29, wrote: > On 01/20/2016 07:20 PM, Jan Beulich wrote: >> To answer this I need to have my understanding of the partitioning >> being done by firmware confirmed: If that's the case, then "normal" >> means the part that doesn't get exposed as a block device (SSD). >> In any e

Re: [Xen-devel] [PATCH 4/4] hvmloader: add support to load extra ACPI tables from qemu

2016-01-20 Thread Xiao Guangrong
On 01/21/2016 12:47 AM, Konrad Rzeszutek Wilk wrote: On Thu, Jan 21, 2016 at 12:25:08AM +0800, Xiao Guangrong wrote: On 01/20/2016 11:47 PM, Konrad Rzeszutek Wilk wrote: On Wed, Jan 20, 2016 at 11:29:55PM +0800, Xiao Guangrong wrote: On 01/20/2016 07:20 PM, Jan Beulich wrote: On 20.01.1

Re: [Xen-devel] OSSTEST: Re-blessing cubietruck-{picasso, gleizes, metzinger} for production use

2016-01-20 Thread Ian Campbell
On Wed, 2016-01-20 at 11:58 +, Ian Campbell wrote: > > > With the recent timeout fixes they are working as well as the > > > production > > > cubietruck-braque. > > > > > > There are two flakey tests test-armhf-armhf-xl-rtds and test-armhf- > > > armhf- > > > libvirt-raw, but those appear to b

Re: [Xen-devel] [PATCH 4/4] hvmloader: add support to load extra ACPI tables from qemu

2016-01-20 Thread Konrad Rzeszutek Wilk
On Thu, Jan 21, 2016 at 12:25:08AM +0800, Xiao Guangrong wrote: > > > On 01/20/2016 11:47 PM, Konrad Rzeszutek Wilk wrote: > >On Wed, Jan 20, 2016 at 11:29:55PM +0800, Xiao Guangrong wrote: > >> > >> > >>On 01/20/2016 07:20 PM, Jan Beulich wrote: > >>On 20.01.16 at 12:04, wrote: > On 01/

Re: [Xen-devel] [PATCH 4/4] hvmloader: add support to load extra ACPI tables from qemu

2016-01-20 Thread Xiao Guangrong
On 01/20/2016 11:47 PM, Konrad Rzeszutek Wilk wrote: On Wed, Jan 20, 2016 at 11:29:55PM +0800, Xiao Guangrong wrote: On 01/20/2016 07:20 PM, Jan Beulich wrote: On 20.01.16 at 12:04, wrote: On 01/20/16 01:46, Jan Beulich wrote: On 20.01.16 at 06:31, wrote: Secondly, the driver implement

Re: [Xen-devel] OSSTEST: Re-blessing cubietruck-{picasso, gleizes, metzinger} for production use

2016-01-20 Thread Ian Campbell
On Wed, 2016-01-20 at 11:58 +, Ian Campbell wrote: > > > > With the recent timeout fixes they are working as well as the > > > production > > > cubietruck-braque. > > > > > > There are two flakey tests test-armhf-armhf-xl-rtds and test-armhf- > > > armhf-libvirt-raw, but those appear to be mu

Re: [Xen-devel] netfront/netback multiqueue exhausting grants

2016-01-20 Thread annie li
On 2016/1/20 7:23, Ian Campbell wrote: There have been a few reports recently[0] which relate to a failure of netfront to allocate sufficient grant refs for all the queues: [0.533589] xen_netfront: can't alloc rx grant refs [0.533612] net eth0: only created 31 queues Which can be worke

[Xen-devel] VPMU backports for 4.6

2016-01-20 Thread Boris Ostrovsky
There two patches need to be backported to 4.6 fb424bf x86/VPMU: don't allow any non-zero writes to MSR_IA32_PEBS_ENABLE 31af0d7 x86/VPMU: check more carefully which bits are allowed to be written to MSRs (The second patch somewhat depends on 00e248c x86/VPMU: support only versions 2 throu

Re: [Xen-devel] [PATCH OSSTEST 3/3] Debian: erase-other-disks: rescan partition tables after erasing whole disk

2016-01-20 Thread Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST 3/3] Debian: erase-other-disks: rescan partition tables after erasing whole disk"): > This appears to happen anyway, but force it to be sure. Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org

Re: [Xen-devel] [PATCH OSSTEST 2/3] Debian: erase-other-disks: erase partitions first

2016-01-20 Thread Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST 2/3] Debian: erase-other-disks: erase partitions first"): > It seems that when sdX is zeroed there is some chance that sdX[0-9] > will disappear before we get to them. Acked-by: Ian Jackson We're really pushing the commit-message-to-code ratio here :-). Ian

Re: [Xen-devel] [PATCH OSSTEST 1/3] Debian: erase-other-disks: add a log() helper

2016-01-20 Thread Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST 1/3] Debian: erase-other-disks: add a log() helper"): > Writing it out each time is too verbose. > > At the same time log the set of devices present before and after each > batch of erasing, with a udev settle before the second to ensure any > changes to /dev

Re: [Xen-devel] [PATCH 4/4] hvmloader: add support to load extra ACPI tables from qemu

2016-01-20 Thread Haozhong Zhang
On 01/20/16 10:41, Konrad Rzeszutek Wilk wrote: > > > > > Neither of these are sufficient however. That gets Qemu a mapping of > > > > > the NVDIMM, not the guest. Something, one way or another, has to turn > > > > > this into appropriate add-to-phymap hypercalls. > > > > > > > > > > > > > Yes,

Re: [Xen-devel] [PATCH 0/4] add support for vNVDIMM

2016-01-20 Thread Haozhong Zhang
On 01/20/16 14:54, Andrew Cooper wrote: > On 20/01/16 14:47, Zhang, Haozhong wrote: > > On 01/20/16 14:35, Stefano Stabellini wrote: > >> On Wed, 20 Jan 2016, Zhang, Haozhong wrote: > >>> On 01/20/16 12:43, Stefano Stabellini wrote: > On Wed, 20 Jan 2016, Tian, Kevin wrote: > >> From: Zhan

Re: [Xen-devel] [PATCH 4/4] hvmloader: add support to load extra ACPI tables from qemu

2016-01-20 Thread Konrad Rzeszutek Wilk
On Wed, Jan 20, 2016 at 11:29:55PM +0800, Xiao Guangrong wrote: > > > On 01/20/2016 07:20 PM, Jan Beulich wrote: > On 20.01.16 at 12:04, wrote: > >>On 01/20/16 01:46, Jan Beulich wrote: > >>On 20.01.16 at 06:31, wrote: > Secondly, the driver implements a convenient block device inte

Re: [Xen-devel] [PATCH 4/4] hvmloader: add support to load extra ACPI tables from qemu

2016-01-20 Thread Konrad Rzeszutek Wilk
> > > > Neither of these are sufficient however. That gets Qemu a mapping of > > > > the NVDIMM, not the guest. Something, one way or another, has to turn > > > > this into appropriate add-to-phymap hypercalls. > > > > > > > > > > Yes, those hypercalls are what I'm going to add. > > > > Why? >

Re: [Xen-devel] [PATCH v3 3/5] libxl: initialise the build info before calling prepare_config

2016-01-20 Thread Roger Pau Monné
El 20/01/16 a les 13.46, Ian Campbell ha escrit: > On Wed, 2016-01-20 at 12:57 +0100, Roger Pau Monne wrote: >> libxl__arch_domain_prepare_config has access to the >> libxl_domain_build_info >> struct, so make sure it's properly initialised. >> >> Signed-off-by: Roger Pau Monné >> --- >> Cc: Ian J

[Xen-devel] [PATCH] x86: fix (and simplify) MTRR overlap checking

2016-01-20 Thread Jan Beulich
Obtaining one individual range per variable range register (via get_mtrr_range()) was bogus from the beginning, as these registers may cover multiple disjoint ranges. Do away with that, in favor of simply comparing masked addresses. Also, for is_var_mtrr_overlapped()'s result to be correct when ca

[Xen-devel] [PATCH] x86: constrain MFN range Dom0 may access

2016-01-20 Thread Jan Beulich
... to that covered by the physical address width supported by the processor. This implicitly avoids Dom0 (accidentally or due to some kind of abuse) passing out of range addresses to a guest, which in turn eliminates this only possibility for PV guests to create PTEs with one or more reserved bits

Re: [Xen-devel] [PATCH 4/4] hvmloader: add support to load extra ACPI tables from qemu

2016-01-20 Thread Xiao Guangrong
On 01/20/2016 07:20 PM, Jan Beulich wrote: On 20.01.16 at 12:04, wrote: On 01/20/16 01:46, Jan Beulich wrote: On 20.01.16 at 06:31, wrote: Secondly, the driver implements a convenient block device interface to let software access areas where NVDIMM devices are mapped. The existing vNVDIMM

Re: [Xen-devel] [PATCH v3 3/5] libxl: initialise the build info before calling prepare_config

2016-01-20 Thread Ian Campbell
On Wed, 2016-01-20 at 16:32 +0100, Roger Pau Monné wrote: > > I suspect the reason for the ordering today is that domain_make is intended > > to consume create_info, not build_info. However that distinction seems to > > me to be an artefact of a much older API structure which doesn't seem to > > ma

Re: [Xen-devel] [PATCH 4/4] hvmloader: add support to load extra ACPI tables from qemu

2016-01-20 Thread Haozhong Zhang
On 01/20/16 10:13, Konrad Rzeszutek Wilk wrote: > On Wed, Jan 20, 2016 at 10:53:10PM +0800, Haozhong Zhang wrote: > > On 01/20/16 14:45, Andrew Cooper wrote: > > > On 20/01/16 14:29, Stefano Stabellini wrote: > > > > On Wed, 20 Jan 2016, Andrew Cooper wrote: > > > >> On 20/01/16 10:36, Xiao Guangro

Re: [Xen-devel] [PATCHv5 1/3] rwlock: Add per-cpu reader-writer lock infrastructure

2016-01-20 Thread George Dunlap
On Mon, Jan 11, 2016 at 3:06 PM, Malcolm Crossley wrote: > On 22/12/15 11:56, George Dunlap wrote: >> On 18/12/15 16:08, Malcolm Crossley wrote: >>> >>> + >>> +#ifndef NDEBUG >>> +#define PERCPU_RW_LOCK_UNLOCKED(owner) { RW_LOCK_UNLOCKED, 0, owner } >>> +static inline void _percpu_rwlock_owner_ch

Re: [Xen-devel] netfront/netback multiqueue exhausting grants

2016-01-20 Thread Ian Campbell
On Wed, 2016-01-20 at 10:10 -0500, Boris Ostrovsky wrote: > On 01/20/2016 10:02 AM, David Vrabel wrote: > > On 20/01/16 14:52, Ian Campbell wrote: > > > On Wed, 2016-01-20 at 09:40 -0500, Boris Ostrovsky wrote: > > > > On 01/20/2016 07:23 AM, Ian Campbell wrote: > > > > > There have been a few repo

Re: [Xen-devel] [PATCH 4/4] hvmloader: add support to load extra ACPI tables from qemu

2016-01-20 Thread Konrad Rzeszutek Wilk
On Wed, Jan 20, 2016 at 10:53:10PM +0800, Haozhong Zhang wrote: > On 01/20/16 14:45, Andrew Cooper wrote: > > On 20/01/16 14:29, Stefano Stabellini wrote: > > > On Wed, 20 Jan 2016, Andrew Cooper wrote: > > >> On 20/01/16 10:36, Xiao Guangrong wrote: > > >>> Hi, > > >>> > > >>> On 01/20/2016 06:15

Re: [Xen-devel] netfront/netback multiqueue exhausting grants

2016-01-20 Thread Boris Ostrovsky
On 01/20/2016 10:02 AM, David Vrabel wrote: On 20/01/16 14:52, Ian Campbell wrote: On Wed, 2016-01-20 at 09:40 -0500, Boris Ostrovsky wrote: On 01/20/2016 07:23 AM, Ian Campbell wrote: There have been a few reports recently[0] which relate to a failure of netfront to allocate sufficient grant

Re: [Xen-devel] Backports for Xen 4.6

2016-01-20 Thread Doug Goldstein
On 1/20/16 7:14 AM, Andrew Cooper wrote: > On 20/01/16 12:29, Jan Beulich wrote: > On 18.01.16 at 16:53, wrote: >>> Possibly also: >>> 42940c046902 "x86/shadow: Fix missing newline in dprintk()" >> The affected statement compiles to nothing in a release build, which >> can be taken as an argum

[Xen-devel] [qemu-upstream-unstable baseline-only test] 38670: regressions - trouble: broken/fail/pass

2016-01-20 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 38670 qemu-upstream-unstable real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/38670/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-pvh-amd 3 host-

Re: [Xen-devel] [PATCH 4/4] hvmloader: add support to load extra ACPI tables from qemu

2016-01-20 Thread Konrad Rzeszutek Wilk
On Wed, Jan 20, 2016 at 07:04:49PM +0800, Haozhong Zhang wrote: > On 01/20/16 01:46, Jan Beulich wrote: > > >>> On 20.01.16 at 06:31, wrote: > > > The primary reason of current solution is to reuse existing NVDIMM > > > driver in Linux kernel. > > > > CC'ing QEMU vNVDIMM maintainer: Xiao Guangron

[Xen-devel] [PATCH OSSTEST 3/3] Debian: erase-other-disks: rescan partition tables after erasing whole disk

2016-01-20 Thread Ian Campbell
This appears to happen anyway, but force it to be sure. Signed-off-by: Ian Campbell --- Osstest/Debian.pm | 9 + 1 file changed, 9 insertions(+) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 20f3de7..e7b5538 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -1053,6 +1

[Xen-devel] [PATCH OSSTEST 2/3] Debian: erase-other-disks: erase partitions first

2016-01-20 Thread Ian Campbell
It seems that when sdX is zeroed there is some chance that sdX[0-9] will disappear before we get to them. When partman comes along and recreates the partitions it is likely that they will occupy the same disk space as before (since d-i's autopartition is deterministic), meaning that LVM will find

[Xen-devel] [PATCH OSSTEST 0/3] fixes to erase-other-disks d-i hook

2016-01-20 Thread Ian Campbell
This series of patches fix host installation on disks with multiple disks, which has been failing since the update to Jessie. This has been affecting only the *-mite and *-frog machines in the Citrix instance in Cambridge so far, but second disks are on order for several machines in the production

[Xen-devel] [PATCH OSSTEST 1/3] Debian: erase-other-disks: add a log() helper

2016-01-20 Thread Ian Campbell
Writing it out each time is too verbose. At the same time log the set of devices present before and after each batch of erasing, with a udev settle before the second to ensure any changes to /dev have happened. Signed-off-by: Ian Campbell --- Osstest/Debian.pm | 17 + 1 file cha

Re: [Xen-devel] [PATCH 4/4] hvmloader: add support to load extra ACPI tables from qemu

2016-01-20 Thread Stefano Stabellini
On Wed, 20 Jan 2016, Andrew Cooper wrote: > On 20/01/16 14:29, Stefano Stabellini wrote: > > On Wed, 20 Jan 2016, Andrew Cooper wrote: > >> On 20/01/16 10:36, Xiao Guangrong wrote: > >>> Hi, > >>> > >>> On 01/20/2016 06:15 PM, Haozhong Zhang wrote: > >>> > CCing QEMU vNVDIMM maintainer: Xiao G

[Xen-devel] [BUG] EDAC infomation partially missing

2016-01-20 Thread Andreas Pflug
Initially reported to debian (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810964), redirected here: With AMD Opteron 6xxx processors, half of the memory controllers are missing from /sys/devices/system/edac/mc Checked with single 6120 (dual memory controller) and twin 6344 (2x dual MC), other

Re: [Xen-devel] [PATCH 3/3] x86/paging: invlpg() hook returns boolean

2016-01-20 Thread George Dunlap
On Wed, Jan 20, 2016 at 2:07 PM, Jan Beulich wrote: > ... so make its return type reflect this. > > Signed-off-by: Jan Beulich Acked-by: George Dunlap ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] netfront/netback multiqueue exhausting grants

2016-01-20 Thread David Vrabel
On 20/01/16 14:52, Ian Campbell wrote: > On Wed, 2016-01-20 at 09:40 -0500, Boris Ostrovsky wrote: >> On 01/20/2016 07:23 AM, Ian Campbell wrote: >>> There have been a few reports recently[0] which relate to a failure of >>> netfront to allocate sufficient grant refs for all the queues: >>> >>> [

Re: [Xen-devel] [PATCH 0/4] add support for vNVDIMM

2016-01-20 Thread Andrew Cooper
On 20/01/16 14:47, Zhang, Haozhong wrote: > On 01/20/16 14:35, Stefano Stabellini wrote: >> On Wed, 20 Jan 2016, Zhang, Haozhong wrote: >>> On 01/20/16 12:43, Stefano Stabellini wrote: On Wed, 20 Jan 2016, Tian, Kevin wrote: >> From: Zhang, Haozhong >> Sent: Tuesday, December 29, 2015

Re: [Xen-devel] [PATCH 4/4] hvmloader: add support to load extra ACPI tables from qemu

2016-01-20 Thread Haozhong Zhang
On 01/20/16 13:16, Andrew Cooper wrote: > On 20/01/16 10:36, Xiao Guangrong wrote: > > > > Hi, > > > > On 01/20/2016 06:15 PM, Haozhong Zhang wrote: > > > >> CCing QEMU vNVDIMM maintainer: Xiao Guangrong > >> > >>> Conceptually, an NVDIMM is just like a fast SSD which is linearly > >>> mapped > >>>

Re: [Xen-devel] [RFC V2] xen: interface: introduce pvclk interface

2016-01-20 Thread Jan Beulich
>>> On 20.01.16 at 15:37, wrote: > On Wed, Jan 20, 2016 at 07:16:36AM -0700, Jan Beulich wrote: > On 20.01.16 at 15:05, wrote: >>> On Wed, Jan 20, 2016 at 05:01:40AM -0700, Jan Beulich wrote: >>> On 20.01.16 at 12:40, wrote: > On Wed, Jan 20, 2016 at 03:14:20AM -0700, Jan Beulich wro

Re: [Xen-devel] [PATCH 4/4] hvmloader: add support to load extra ACPI tables from qemu

2016-01-20 Thread Haozhong Zhang
On 01/20/16 14:45, Andrew Cooper wrote: > On 20/01/16 14:29, Stefano Stabellini wrote: > > On Wed, 20 Jan 2016, Andrew Cooper wrote: > >> On 20/01/16 10:36, Xiao Guangrong wrote: > >>> Hi, > >>> > >>> On 01/20/2016 06:15 PM, Haozhong Zhang wrote: > >>> > CCing QEMU vNVDIMM maintainer: Xiao Gua

  1   2   3   >