Re: [Xen-devel] [PATCH 2/2] tools: avoid redefinining xenevtchn_handle typedef for xc_suspend_*

2016-01-26 Thread Ian Campbell
On Mon, 2016-01-25 at 12:36 -0500, Boris Ostrovsky wrote: > On 01/25/2016 12:22 PM, Ian Jackson wrote: > > Ian Campbell writes ("[PATCH 2/2] tools: avoid redefinining > > xenevtchn_handle typedef for xc_suspend_*"): > > > Similar to the previous xentoollog case this is not allowed. Switch > > > to

Re: [Xen-devel] pre Sandy bridge IOMMU support (gm45)

2016-01-26 Thread Jan Beulich
>>> On 25.01.16 at 22:49, wrote: > The case is 1) disabling iommu for IGD, unilaterally since i915 + gm45 > doesn't play well together. Iommu is still desired to isolate usb and > network devices, so we don't want to disable iommu completely. The side > effect of this

[Xen-devel] [PATCH] arm: p2m.c bug-fix: hypervisor hang on __p2m_get_mem_access

2016-01-26 Thread Corneliu ZUZU
When __p2m_get_mem_access gets called, the p2m lock is already taken by either get_page_from_gva or p2m_get_mem_access. Possible code paths: 1) -> get_page_from_gva -> p2m_mem_access_check_and_get_page -> __p2m_get_mem_access 2) ->

[Xen-devel] xen-4.6: xenstored crashes during domain->interface access

2016-01-26 Thread Stefan Bader
Hi, while playing around with xen-4.6 I stumbled over an odd problem and am wondering whether anybody has seen the same. A method to relatively quickly reproduce this for me seems to: - Start one domU (PV or HVM does not seem to matter) - Repeatedly call xenstore-ls a few times I think I never

Re: [Xen-devel] Error booting Xen

2016-01-26 Thread Dario Faggioli
On Mon, 2016-01-25 at 06:42 -0700, Jan Beulich wrote: > > > > On 21.01.16 at 16:14, wrote: > > On Wed, 2016-01-20 at 03:06 -0700, Jan Beulich wrote: > > > But of course another question then is why the XRSTORS faults > > > in the first place. I guess we'll need a

Re: [Xen-devel] [PATCH v3 14/17] XEN: EFI: Move x86 specific codes to architecture directory

2016-01-26 Thread Shannon Zhao
On 2016/1/26 19:31, Stefano Stabellini wrote: > On Tue, 26 Jan 2016, Shannon Zhao wrote: >> > On 2016/1/26 0:44, Stefano Stabellini wrote: >>> > > On Sat, 23 Jan 2016, Shannon Zhao wrote: > > >> > From: Shannon Zhao > > >> > > > >> > Move x86 specific codes

Re: [Xen-devel] [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-26 Thread Peter Zijlstra
On Mon, Jan 25, 2016 at 10:03:22PM -0800, Paul E. McKenney wrote: > On Mon, Jan 25, 2016 at 04:42:43PM +, Will Deacon wrote: > > On Fri, Jan 15, 2016 at 01:58:53PM -0800, Paul E. McKenney wrote: > > > On Fri, Jan 15, 2016 at 10:27:14PM +0100, Peter Zijlstra wrote: > > > > Yes, that seems a

Re: [Xen-devel] [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-26 Thread Will Deacon
On Mon, Jan 25, 2016 at 10:03:22PM -0800, Paul E. McKenney wrote: > On Mon, Jan 25, 2016 at 04:42:43PM +, Will Deacon wrote: > > On Fri, Jan 15, 2016 at 01:58:53PM -0800, Paul E. McKenney wrote: > > > PPC Overlapping Group-B sets version 4 > > > "" > > > (* When the Group-B sets from two

Re: [Xen-devel] pre Sandy bridge IOMMU support (gm45)

2016-01-26 Thread Jan Beulich
>>> On 26.01.16 at 12:57, wrote: > Only dom0 talks directly to the i915 driver, other appvm being pv, which is > why I put in question the complete deactivation of IGD by iommu=no-igfx. > > Is there anything I can provide to troubleshoot? Hard to tell. The VT-d

Re: [Xen-devel] [PATCH v3 16/17] FDT: Add a helper to get specified name subnode

2016-01-26 Thread Shannon Zhao
On 2016/1/26 20:11, Stefano Stabellini wrote: > On Sat, 23 Jan 2016, Shannon Zhao wrote: >> > From: Shannon Zhao >> > >> > Sometimes it needs to check if there is a node in FDT by full path. >> > Introduce this helper to get the specified name subnode if it exists. >>

Re: [Xen-devel] [PATCH 5/5] Allow all user to create a file under the directory /var/lib/xen

2016-01-26 Thread Ian Campbell
On Tue, 2016-01-26 at 00:00 +, Andrew Cooper wrote: > On 25/01/2016 20:36, Konrad Rzeszutek Wilk wrote: > > On Wed, Dec 30, 2015 at 11:00:52AM +, Andrew Cooper wrote: > > > On 30/12/2015 05:25, Wen Congyang wrote: > > > > On 12/30/2015 12:11 PM, Doug Goldstein wrote: > > > > > On 12/29/15

Re: [Xen-devel] [ovmf bisection] complete test-amd64-i386-xl-qemuu-ovmf-amd64

2016-01-26 Thread Ian Campbell
On Sat, 2016-01-09 at 00:33 +, osstest service owner wrote: According to http://logs.test-lab.xenproject.org/osstest/results/all-branch -statuses.txt the ovmf push gate has been broken for a while (48 days). The bisector seems to have fingered the commit below (there are some other

Re: [Xen-devel] [PATCH 2/2] xenalyze: remove cr3_compare_total

2016-01-26 Thread George Dunlap
On 22/01/16 14:27, Ian Campbell wrote: > gcc-6 complains: > xenalyze.c:4132:9: error: 'cr3_compare_total' defined but not used > [-Werror=unused-function] > int cr3_compare_total(const void *_a, const void *_b) { > ^ > > I believe it is correct. > > Signed-off-by:

Re: [Xen-devel] [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-26 Thread Will Deacon
On Mon, Jan 25, 2016 at 05:06:46PM -0800, Paul E. McKenney wrote: > On Mon, Jan 25, 2016 at 02:41:34PM +, Will Deacon wrote: > > On Fri, Jan 15, 2016 at 11:28:45AM -0800, Paul E. McKenney wrote: > > > On Fri, Jan 15, 2016 at 09:54:01AM -0800, Paul E. McKenney wrote: > > > > On Fri, Jan 15,

Re: [Xen-devel] [PATCH v3 17/17] Xen: EFI: Parse DT parameters for Xen specific UEFI

2016-01-26 Thread Matt Fleming
On Sat, 23 Jan, at 11:19:44AM, Shannon Zhao wrote: > From: Shannon Zhao > > Add a new function to parse DT parameters for Xen specific UEFI just > like the way for normal UEFI. Then it could reuse the existing codes. > > If Xen supports EFI, initialize runtime services.

Re: [Xen-devel] [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-26 Thread Peter Zijlstra
On Thu, Jan 14, 2016 at 02:20:46PM -0800, Paul E. McKenney wrote: > On Thu, Jan 14, 2016 at 01:24:34PM -0800, Leonid Yegoshin wrote: > > On 01/14/2016 12:48 PM, Paul E. McKenney wrote: > > > > > >So SYNC_RMB is intended to implement smp_rmb(), correct? > > Yes. > > > > > >You could use

Re: [Xen-devel] [PATCH v2 3/3] tools: introduce parameter max_wp_ram_ranges.

2016-01-26 Thread David Vrabel
On 22/01/16 03:20, Yu Zhang wrote: > --- a/docs/man/xl.cfg.pod.5 > +++ b/docs/man/xl.cfg.pod.5 > @@ -962,6 +962,24 @@ FIFO-based event channel ABI support up to 131,071 event > channels. > Other guests are limited to 4095 (64-bit x86 and ARM) or 1023 (32-bit > x86). > > +=item

Re: [Xen-devel] pre Sandy bridge IOMMU support (gm45)

2016-01-26 Thread Jan Beulich
(re-adding xen-devel) >>> On 26.01.16 at 12:28, wrote: > Iommu=0 let the whole Qubes system work, without enforcing hardware > compartimentalisation (iommu is enforced in software mode) > > When iommu=no-igfx is enforced, shell console boot up works flawlessly. All >

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

2016-01-26 Thread George Dunlap
On Thu, Jan 21, 2016 at 2:52 PM, Jan Beulich wrote: On 21.01.16 at 15:01, wrote: >> On 01/21/16 03:25, Jan Beulich wrote: >>> >>> On 21.01.16 at 10:10, wrote: >>> > b) some _DSMs control PMEM so you should filter

[Xen-devel] [linux-next test] 78997: regressions - trouble: broken/fail/pass

2016-01-26 Thread osstest service owner
flight 78997 linux-next real [real] http://logs.test-lab.xenproject.org/osstest/logs/78997/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-libvirt-xsm 8 leak-check/basis(8) fail REGR. vs. 78857 Regressions which are

Re: [Xen-devel] [PATCH V2 1/1] Improved RTDS scheduler

2016-01-26 Thread Dario Faggioli
On Mon, 2016-01-25 at 17:04 -0500, Tianyang Chen wrote: > I have removed some of the Ccs so they won't get bothered as we  > discussed previously. > Yeah... I said you should have done that in the first place, and then Cc-ed them myself! Sorry... :-P > On 1/25/2016 4:00 AM, Dario Faggioli wrote:

Re: [Xen-devel] [PATCH v3 16/17] FDT: Add a helper to get specified name subnode

2016-01-26 Thread Stefano Stabellini
On Sat, 23 Jan 2016, Shannon Zhao wrote: > From: Shannon Zhao > > Sometimes it needs to check if there is a node in FDT by full path. > Introduce this helper to get the specified name subnode if it exists. > > Signed-off-by: Shannon Zhao > ---

Re: [Xen-devel] [PATCH v5 1/8] Kconfig: import kconfig.h from Linux 4.3

2016-01-26 Thread Shannon Zhao
On 2016/1/25 22:35, Jan Beulich wrote: On 23.01.16 at 09:00, wrote: >> > --- a/xen/include/xen/config.h >> > +++ b/xen/include/xen/config.h >> > @@ -7,7 +7,7 @@ >> > #ifndef __XEN_CONFIG_H__ >> > #define __XEN_CONFIG_H__ >> > >> > -#include >> > +#include >

Re: [Xen-devel] [PATCH RFC 1/6] public/xen.h: add flags field to vcpu_time_info

2016-01-26 Thread Joao Martins
On 01/25/2016 08:11 PM, Konrad Rzeszutek Wilk wrote: > On Mon, Dec 28, 2015 at 04:59:40PM +, Joao Martins wrote: >> This field has two possible flags (as of latest pvclock ABI >> shared with KVM). > > > > Wish they had CC-ed xen-devel instead of just doing their > change Indeed, Andrew

Re: [Xen-devel] [PATCH RFC 3/6] x86/time: streamline platform time init on plt_init()

2016-01-26 Thread Joao Martins
On 01/25/2016 08:26 PM, Konrad Rzeszutek Wilk wrote: >> +if ( clocksource_is_tsc ) >> +{ >> +plt_init(); >> +} >> +else >> +{ >> +plt_overflow_period = scale_delta( >> +1ull << (pts->counter_bits-1), _scale); >> +init_timer(_overflow_timer,

Re: [Xen-devel] [PATCH v2 3/3] tools: introduce parameter max_wp_ram_ranges.

2016-01-26 Thread Jan Beulich
>>> On 26.01.16 at 08:32, wrote: > On 1/22/2016 4:01 PM, Jan Beulich wrote: > On 22.01.16 at 04:20, wrote: >>> --- a/xen/arch/x86/hvm/hvm.c >>> +++ b/xen/arch/x86/hvm/hvm.c >>> @@ -940,6 +940,10 @@ static int

Re: [Xen-devel] [PATCH v11 2/3] Differentiate IO/mem resources tracked by ioreq server

2016-01-26 Thread Jan Beulich
>>> On 26.01.16 at 08:59, wrote: > > On 1/22/2016 7:43 PM, Jan Beulich wrote: > On 22.01.16 at 04:20, wrote: >>> @@ -2601,6 +2605,16 @@ struct hvm_ioreq_server > *hvm_select_ioreq_server(struct domain *d, >>> type =

Re: [Xen-devel] [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-26 Thread Will Deacon
On Tue, Jan 26, 2016 at 11:32:00AM +0100, Peter Zijlstra wrote: > On Tue, Jan 26, 2016 at 11:24:02AM +0100, Peter Zijlstra wrote: > > > Yeah, this goes under the header: memory-barriers.txt is _NOT_ a > > specification (I seem to keep repeating this). > > Do we want this ? > > --- >

Re: [Xen-devel] [PATCH v3 17/17] Xen: EFI: Parse DT parameters for Xen specific UEFI

2016-01-26 Thread Stefano Stabellini
On Sat, 23 Jan 2016, Shannon Zhao wrote: > From: Shannon Zhao > > Add a new function to parse DT parameters for Xen specific UEFI just > like the way for normal UEFI. Then it could reuse the existing codes. > > If Xen supports EFI, initialize runtime services. > >

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

2016-01-26 Thread osstest service owner
flight 79067 linux-mingo-tip-master real [real] http://logs.test-lab.xenproject.org/osstest/logs/79067/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-xsm 15 guest-localmigratefail REGR. vs. 60684

Re: [Xen-devel] [PATCH v9 03/25] libxc/migration: Specification update for DIRTY_PFN_LIST records

2016-01-26 Thread Wen Congyang
On 01/27/2016 04:44 AM, Konrad Rzeszutek Wilk wrote: >> + 0x000F: DIRTY_PFN_LIST >> + > > Perhaps make it part of the optional and prefix it with CHECKPOINT? IIUC, optional record can be ignored, but this record cannot be ignored. To Andrew Cooper: Should I mark this record as

Re: [Xen-devel] [Intel-gfx] [Announcement] 2015-Q4 release of XenGT - a Mediated Graphics Passthrough Solution from Intel

2016-01-26 Thread Jike Song
Hi all, We are pleased to announce another update of Intel GVT-g for Xen. Intel GVT-g is a full GPU virtualization solution with mediated pass-through, starting from 4th generation Intel Core(TM) processors with Intel Graphics processors. A virtual GPU instance is maintained for each VM, with

Re: [Xen-devel] [PATCH v2 3/3] tools: introduce parameter max_wp_ram_ranges.

2016-01-26 Thread Yu, Zhang
On 1/26/2016 7:16 PM, David Vrabel wrote: On 22/01/16 03:20, Yu Zhang wrote: --- a/docs/man/xl.cfg.pod.5 +++ b/docs/man/xl.cfg.pod.5 @@ -962,6 +962,24 @@ FIFO-based event channel ABI support up to 131,071 event channels. Other guests are limited to 4095 (64-bit x86 and ARM) or 1023 (32-bit

Re: [Xen-devel] [PATCH V6 4/5] xen/mm: Clean up pfec handling in gva_to_gfn

2016-01-26 Thread Han, Huaitong
On Tue, 2016-01-26 at 14:30 +, Tim Deegan wrote: > Hi, > > At 15:30 +0800 on 19 Jan (1453217458), Huaitong Han wrote: > > At the moment, the pfec argument to gva_to_gfn has two functions: > > > > * To inform guest_walk what kind of access is happenind > > > > * As a value to pass back into

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

2016-01-26 Thread Haozhong Zhang
On 01/26/16 14:32, Konrad Rzeszutek Wilk wrote: > On Tue, Jan 26, 2016 at 09:34:13AM -0700, Jan Beulich wrote: > > >>> On 26.01.16 at 16:57, wrote: > > > On 01/26/16 08:37, Jan Beulich wrote: > > >> >>> On 26.01.16 at 15:44, wrote: > > >> >>

[Xen-devel] [PATCH 0/3] x86: xsave{c,s} fixes and adjustments

2016-01-26 Thread Jan Beulich
1: xstate: don't unintentionally clear compaction bit 2: adjust xsave structure attributes 3: xstate: fix fault behavior on XRSTORS Signed-off-by: Jan Beulich ___ Xen-devel mailing list Xen-devel@lists.xen.org

Re: [Xen-devel] [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-26 Thread Peter Zijlstra
On Tue, Jan 26, 2016 at 02:33:40PM -0800, Linus Torvalds wrote: > If it turns out that some architecture does actually need a barrier > between a read and a dependent write, then that will mean that > > (a) we'll have to make up a _new_ barrier, because > "smp_read_barrier_depends()" is not

Re: [Xen-devel] [PATCH v9 03/25] libxc/migration: Specification update for DIRTY_PFN_LIST records

2016-01-26 Thread Wen Congyang
On 01/27/2016 04:44 AM, Konrad Rzeszutek Wilk wrote: >> + 0x000F: DIRTY_PFN_LIST >> + > > Perhaps make it part of the optional and prefix it with CHECKPOINT? Will be fixed in the next version. Thanks Wen Congyang > >> + 0x0010 - 0x7FFF: Reserved for future

Re: [Xen-devel] [PATCH v9 02/25] docs/libxl: Introduce COLO_CONTEXT to support migration v2 colo streams

2016-01-26 Thread Wen Congyang
On 01/27/2016 04:40 AM, Konrad Rzeszutek Wilk wrote: > On Wed, Dec 30, 2015 at 10:37:32AM +0800, Wen Congyang wrote: >> It is the negotiation record for COLO. >> Primary->Secondary: >> control_id 0x: Secondary VM is out of sync, start a new >> checkpoint >> Secondary->Primary: >>

Re: [Xen-devel] [qubes-devel] Re: pre Sandy bridge IOMMU support (gm45)

2016-01-26 Thread Thierry Laurion
Le mar. 26 janv. 2016 à 21:10, Thierry Laurion a écrit : > I just tested freshly compiled xen.gz file produced from patched source, > as recommended by ktempkin. (Previous post xen.diff attached file got > applied to disable pmr). > > Same behavior was observable with

Re: [Xen-devel] [PATCH v1 04/12] xen/hvmlite: Bootstrap HVMlite guest

2016-01-26 Thread Luis R. Rodriguez
On Jan 26, 2016 6:16 PM, "Luis R. Rodriguez" wrote: > > On Tue, Jan 26, 2016 at 4:04 PM, Luis R. Rodriguez wrote: > > You go: > > > > hvmlite_start_xen() --> > > HVM stub > > startup_64() | (startup_32() > > Hrm, does HVMlite work well with

[Xen-devel] [linux-3.14 baseline-only test] 38705: regressions - FAIL

2016-01-26 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 38705 linux-3.14 real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/38705/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl 19

Re: [Xen-devel] [PATCH v2 3/3] tools: introduce parameter max_wp_ram_ranges.

2016-01-26 Thread Yu, Zhang
On 1/26/2016 7:00 PM, Jan Beulich wrote: On 26.01.16 at 08:32, wrote: On 1/22/2016 4:01 PM, Jan Beulich wrote: On 22.01.16 at 04:20, wrote: --- a/xen/arch/x86/hvm/hvm.c +++ b/xen/arch/x86/hvm/hvm.c @@ -940,6 +940,10 @@ static int

Re: [Xen-devel] [PATCH v11 2/3] Differentiate IO/mem resources tracked by ioreq server

2016-01-26 Thread Yu, Zhang
On 1/26/2016 7:24 PM, Jan Beulich wrote: On 26.01.16 at 08:59, wrote: On 1/22/2016 7:43 PM, Jan Beulich wrote: On 22.01.16 at 04:20, wrote: @@ -2601,6 +2605,16 @@ struct hvm_ioreq_server *hvm_select_ioreq_server(struct domain *d,

Re: [Xen-devel] [PATCH v6 12/18] tools/libx{l, c}: add back channel to libxc

2016-01-26 Thread Wen Congyang
On 01/26/2016 03:41 AM, Konrad Rzeszutek Wilk wrote: > On Wed, Dec 30, 2015 at 10:29:02AM +0800, Wen Congyang wrote: >> In COLO mode, both VMs are running, and are considered in sync if the >> visible network traffic is identical. After some time, they fall out of >> sync. >> >> At this point,

Re: [Xen-devel] [PATCH v11 2/3] Differentiate IO/mem resources tracked by ioreq server

2016-01-26 Thread Yu, Zhang
On 1/22/2016 7:43 PM, Jan Beulich wrote: On 22.01.16 at 04:20, wrote: @@ -2601,6 +2605,16 @@ struct hvm_ioreq_server *hvm_select_ioreq_server(struct domain *d, type = (p->type == IOREQ_TYPE_PIO) ? HVMOP_IO_RANGE_PORT :

Re: [Xen-devel] [PATCH v3 14/17] XEN: EFI: Move x86 specific codes to architecture directory

2016-01-26 Thread Shannon Zhao
On 2016/1/26 0:44, Stefano Stabellini wrote: > On Sat, 23 Jan 2016, Shannon Zhao wrote: >> > From: Shannon Zhao >> > >> > Move x86 specific codes to architecture directory and export those EFI >> > runtime service functions. This will be useful for initializing runtime

Re: [Xen-devel] [PATCH V6 0/5] x86/hvm: pkeys, add memory protection-key support

2016-01-26 Thread Han, Huaitong
On Mon, 2016-01-25 at 08:25 -0700, Jan Beulich wrote: > > > > On 19.01.16 at 08:30, wrote: > > Changes in v6: > > *2 patches merged are not included. > > *Don't write XSTATE_PKRU to PV's xcr0. > > *Use "if()" instead of "?:" in cpuid handling patch. > > *Update read_pkru

Re: [Xen-devel] [PATCH v6 16/18] tools/libxl: store remus_ops in checkpoint device state

2016-01-26 Thread Wen Congyang
On 01/26/2016 03:55 AM, Konrad Rzeszutek Wilk wrote: > On Wed, Dec 30, 2015 at 10:29:06AM +0800, Wen Congyang wrote: >> Checkpoint device is an abstract layer to do checkpoint. >> COLO can also use it to do checkpoint. But there are >> still some codes in checkpoint device which touch remus. >> >>

Re: [Xen-devel] [PATCH v5 COLOPre 14/18] tools/libxl: fix backword compatibility after the automatic renaming

2016-01-26 Thread Wen Congyang
On 01/26/2016 03:43 AM, Konrad Rzeszutek Wilk wrote: > On Thu, Dec 17, 2015 at 03:48:18PM +0800, Wen Congyang wrote: >> From: Yang Hongyang >> >> The error code ERROR_REMUS_XXX was introduced in Xen 4.5, and >> changed to ERROR_CHECKPOINT_XXX after previous renaming.

Re: [Xen-devel] Error booting Xen

2016-01-26 Thread Jan Beulich
>>> On 26.01.16 at 13:51, wrote: > I tried the patch and I am very happy to inform you > all that the patch has solved my problem. Now I am > able to boot Xen without disabling XSAVE. I have > full log of boot at http://paste2.org/gVW0Z9nm (if > any one is interested.

Re: [Xen-devel] Error booting Xen

2016-01-26 Thread Jan Beulich
>>> On 26.01.16 at 14:13, wrote: > The patch as I already said is letting me boot > into the Xen, but the system is now resetting > stating XSAVE as the cause. I have attached > links to two cases where system was reset as > the result. I don't think that problem is

Re: [Xen-devel] [PATCH v4 3/3] VT-d: Fix vt-d Device-TLB flush timeout issue.

2016-01-26 Thread Xu, Quan
> On January 25, 2016 at 10:09pm, wrote: > >>> On 22.01.16 at 16:57, wrote: > >> On January 22, 2016 at 12:31am, wrote: > >> >>> On 21.01.16 at 17:16, wrote: > >> >> On January 20, 2016 at 7:29 pm,

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

2016-01-26 Thread George Dunlap
On 26/01/16 12:44, Jan Beulich wrote: On 26.01.16 at 12:44, wrote: >> On Thu, Jan 21, 2016 at 2:52 PM, Jan Beulich wrote: >> On 21.01.16 at 15:01, wrote: On 01/21/16 03:25, Jan Beulich wrote: On

Re: [Xen-devel] [PATCH v4 3/3] VT-d: Fix vt-d Device-TLB flush timeout issue.

2016-01-26 Thread Jan Beulich
>>> On 26.01.16 at 14:47, wrote: > As you mentioned , I simply need to consult the bitmap along with the domain > ID array. > > +If ( test_bit(did, iommu->domid_bitmap) && iommu->domid_map[did] >= 0 ) > + d = rcu_lock_domain_by_id(iommu->domid_map[did]); > > Is it right

Re: [Xen-devel] [PATCH V2 1/1] Improved RTDS scheduler

2016-01-26 Thread Dario Faggioli
On Mon, 2016-01-25 at 18:00 -0500, Meng Xu wrote: > On Mon, Jan 25, 2016 at 5:04 PM, Tianyang Chen > wrote: > > I have removed some of the Ccs so they won't get bothered as we > > discussed > > previously. > > > > On 1/25/2016 4:00 AM, Dario Faggioli wrote: > > > > > > On

Re: [Xen-devel] [PATCH v6 09/18] tools/libxl: introduce libxl__domain_common_switch_qemu_logdirty()

2016-01-26 Thread Konrad Rzeszutek Wilk
On Tue, Jan 26, 2016 at 03:04:39PM +0800, Wen Congyang wrote: > On 01/26/2016 02:59 AM, Konrad Rzeszutek Wilk wrote: > > On Wed, Dec 30, 2015 at 10:28:59AM +0800, Wen Congyang wrote: > >> Secondary vm is running in colo mode, we need to send > >> secondary vm's dirty page information to master at

Re: [Xen-devel] [PATCH v6 12/18] tools/libx{l, c}: add back channel to libxc

2016-01-26 Thread Konrad Rzeszutek Wilk
> > Or is that suppose to be done in another patch? If so you may want to > > mention that in the commit description? > > Do you mean where is the code that uses back_fd? It is in another series: > http://lists.xenproject.org/archives/html/xen-devel/2015-12/msg02904.html Ah right that big

Re: [Xen-devel] [PATCH V6 4/5] xen/mm: Clean up pfec handling in gva_to_gfn

2016-01-26 Thread Tim Deegan
Hi, At 15:30 +0800 on 19 Jan (1453217458), Huaitong Han wrote: > At the moment, the pfec argument to gva_to_gfn has two functions: > > * To inform guest_walk what kind of access is happenind > > * As a value to pass back into the guest in the event of a fault. > > Unfortunately this is not

Re: [Xen-devel] [PATCH] public/io/netif.h: change semantics of "request-multicast-control" flag

2016-01-26 Thread Paul Durrant
> -Original Message- > From: Wei Liu [mailto:wei.l...@citrix.com] > Sent: 21 January 2016 15:46 > To: Ian Campbell > Cc: Paul Durrant; xen-de...@lists.xenproject.org; Ian Jackson; Jan Beulich; > Keir (Xen.org); Tim (Xen.org); Wei Liu; Roger Pau Monne > Subject: Re: [PATCH]

[Xen-devel] XSAVE flavors

2016-01-26 Thread Jan Beulich
Shuai, originally I only meant to inquire about the state of the promised alternatives improvement to the XSAVE code. However, while looking over the code in question again I stumbled across a separate issue: XSAVES, just like XSAVEOPT, may use the "modified" optimization. However, the fcs and

Re: [Xen-devel] [PATCH v6 04/18] libxl/save: Refactor libxl__domain_suspend_state

2016-01-26 Thread Konrad Rzeszutek Wilk
On Tue, Jan 26, 2016 at 10:23:52AM +0800, Wen Congyang wrote: > On 01/26/2016 01:29 AM, Konrad Rzeszutek Wilk wrote: > > .snip.. > >> --- a/tools/libxl/libxl_dom_suspend.c > >> +++ b/tools/libxl/libxl_dom_suspend.c > >> @@ -19,14 +19,71 @@ > >> > >> /*== Domain suspend

Re: [Xen-devel] [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-26 Thread Boqun Feng
Hi Will, On Tue, Jan 26, 2016 at 12:16:09PM +, Will Deacon wrote: > On Mon, Jan 25, 2016 at 10:03:22PM -0800, Paul E. McKenney wrote: > > On Mon, Jan 25, 2016 at 04:42:43PM +, Will Deacon wrote: > > > On Fri, Jan 15, 2016 at 01:58:53PM -0800, Paul E. McKenney wrote: > > > > PPC

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

2016-01-26 Thread Konrad Rzeszutek Wilk
> Last year at Linux Plumbers Conference I attended a session dedicated > to NVDIMM support. I asked the very same question and the INTEL guy > there told me there is indeed something like a partition table meant > to describe the layout of the memory areas and their contents. It is described in

[Xen-devel] [PATCH] tools/libxl: improve logging on domain create failure.

2016-01-26 Thread Ian Campbell
A user reported[0] that xl create failed with just: libxl: error: libxl_create.c:892:initiate_domain_create: Unable to set domain build info defaults and some resulting fallout, but without indicating why it was unable to set the defaults, even in verbose mode[1]. Go through

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

2016-01-26 Thread Konrad Rzeszutek Wilk
On Tue, Jan 26, 2016 at 01:58:35PM +, George Dunlap wrote: > On 26/01/16 12:44, Jan Beulich wrote: > On 26.01.16 at 12:44, wrote: > >> On Thu, Jan 21, 2016 at 2:52 PM, Jan Beulich wrote: > >> On 21.01.16 at 15:01,

Re: [Xen-devel] [PATCH v5 COLOPre 14/18] tools/libxl: fix backword compatibility after the automatic renaming

2016-01-26 Thread Konrad Rzeszutek Wilk
> >> +/* Remus stuff */ > > > > /sRemus stuff// > > Do you mean remove this line? ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v5 COLOPre 08/18] tools/libxl: introduce libxl__domain_restore_device_model to load qemu state

2016-01-26 Thread Konrad Rzeszutek Wilk
On Tue, Jan 26, 2016 at 02:17:08PM +0800, Wen Congyang wrote: > On 01/26/2016 02:41 AM, Konrad Rzeszutek Wilk wrote: > > On Thu, Dec 17, 2015 at 03:48:12PM +0800, Wen Congyang wrote: > >> From: Yang Hongyang > >> > >> In normal migration, the qemu state was passed to

Re: [Xen-devel] XSAVE flavors

2016-01-26 Thread Jan Beulich
>>> On 26.01.16 at 15:33, wrote: > originally I only meant to inquire about the state of the promised > alternatives improvement to the XSAVE code. However, while > looking over the code in question again I stumbled across a > separate issue: XSAVES, just like XSAVEOPT, may use

Re: [Xen-devel] [PATCH v4 3/3] VT-d: Fix vt-d Device-TLB flush timeout issue.

2016-01-26 Thread Xu, Quan
> On January 26, 2016 at 10:00pm, wrote: > >>> On 26.01.16 at 14:47, wrote: > > As you mentioned , I simply need to consult the bitmap along with the > > domain ID array. > > > > +If ( test_bit(did, iommu->domid_bitmap) && iommu->domid_map[did] >= 0 ) > > +

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

2016-01-26 Thread Haozhong Zhang
On 01/26/16 05:44, Jan Beulich wrote: > >>> On 26.01.16 at 12:44, wrote: > > On Thu, Jan 21, 2016 at 2:52 PM, Jan Beulich wrote: > > On 21.01.16 at 15:01, wrote: > >>> On 01/21/16 03:25, Jan Beulich wrote: > >>>

[Xen-devel] [linux-3.10 baseline-only test] 38702: trouble: blocked/broken

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

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

2016-01-26 Thread Haozhong Zhang
On 01/26/16 23:30, Haozhong Zhang wrote: > On 01/26/16 05:44, Jan Beulich wrote: > > >>> On 26.01.16 at 12:44, wrote: > > > On Thu, Jan 21, 2016 at 2:52 PM, Jan Beulich wrote: > > > On 21.01.16 at 15:01, wrote: > >

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

2016-01-26 Thread Jan Beulich
>>> On 26.01.16 at 15:44, wrote: >> Last year at Linux Plumbers Conference I attended a session dedicated >> to NVDIMM support. I asked the very same question and the INTEL guy >> there told me there is indeed something like a partition table meant >> to describe the

[Xen-devel] [PULL 3/8] xen: Switch to libxengnttab interface for compat shims.

2016-01-26 Thread Stefano Stabellini
From: Ian Campbell In Xen 4.7 we are refactoring parts libxenctrl into a number of separate libraries which will provide backward and forward API and ABI compatiblity. One such library will be libxengnttab which provides access to grant tables. In preparation for this

[Xen-devel] [PULL 1/8] xen_console: correctly cleanup primary console on teardown.

2016-01-26 Thread Stefano Stabellini
From: Ian Campbell All of the work in con_disconnect applies to the primary console case (when xendev->dev is NULL). Therefore remove the early check and bail and allow it to fall through. All of the existing code is correctly conditional already. The ->dev and

[Xen-devel] [PULL 8/8] xen: make it possible to build without the Xen PV domain builder

2016-01-26 Thread Stefano Stabellini
From: Ian Campbell Until the previous patch this relied on xc_fd(), which was only implemented for Xen 4.0 and earlier. Given this wasn't working since Xen 4.0 I have marked this as disabled by default. Removing this support drops the use of a bunch of symbols from

[Xen-devel] [PULL 6/8] xen: Use stable library interfaces when they are available.

2016-01-26 Thread Stefano Stabellini
From: Ian Campbell In Xen 4.7 we are refactoring parts libxenctrl into a number of separate libraries which will provide backward and forward API and ABI compatiblity. Specifically libxenevtchn, libxengnttab and libxenforeignmemory. Previous patches have already laid

[Xen-devel] [PULL 2/8] xen: Switch to libxenevtchn interface for compat shims.

2016-01-26 Thread Stefano Stabellini
From: Ian Campbell In Xen 4.7 we are refactoring parts libxenctrl into a number of separate libraries which will provide backward and forward API and ABI compatiblity. One such library will be libxenevtchn which provides access to event channels. In preparation for

[Xen-devel] [PULL 0/8] xen-20160126

2016-01-26 Thread Stefano Stabellini
-20160126 for you to fetch changes up to f4297d663d92844f87aeb6ea762244167490dadb: xen: make it possible to build without the Xen PV domain builder (2016-01-26 15:03:38 +) Xen 2016/01/26

[Xen-devel] [PULL 5/8] xen: Switch uses of xc_map_foreign_{pages, bulk} to use libxenforeignmemory API.

2016-01-26 Thread Stefano Stabellini
From: Ian Campbell In Xen 4.7 we are refactoring parts libxenctrl into a number of separate libraries which will provide backward and forward API and ABI compatiblity. One such library will be libxenforeignmemory which provides access to privileged foreign mappings and

[Xen-devel] [PULL 7/8] xen: domainbuild: reopen libxenctrl interface after forking for domain watcher.

2016-01-26 Thread Stefano Stabellini
From: Ian Campbell Using an existing libxenctrl handle after a fork was never particularly safe (especially if foreign mappings existed at the time of the fork) and the xc fd has been unavailable for many releases. Reopen the handle after fork and therefore do away with

Re: [Xen-devel] [PATCH v4 3/3] VT-d: Fix vt-d Device-TLB flush timeout issue.

2016-01-26 Thread Jan Beulich
>>> On 26.01.16 at 16:27, wrote: >> On January 26, 2016 at 10:00pm, wrote: >> >>> On 26.01.16 at 14:47, wrote: >> > As you mentioned , I simply need to consult the bitmap along with the >> > domain ID array. >> > >> > +If ( test_bit(did,

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

2016-01-26 Thread Haozhong Zhang
On 01/26/16 08:37, Jan Beulich wrote: > >>> On 26.01.16 at 15:44, wrote: > >> Last year at Linux Plumbers Conference I attended a session dedicated > >> to NVDIMM support. I asked the very same question and the INTEL guy > >> there told me there is indeed something like a

[Xen-devel] [PULL 4/8] xen: Switch uses of xc_map_foreign_range into xc_map_foreign_pages

2016-01-26 Thread Stefano Stabellini
From: Ian Campbell In Xen 4.7 we are refactoring parts libxenctrl into a number of separate libraries which will provide backward and forward API and ABI compatiblity. One such library will be libxenforeignmemory which provides access to privileged foreign mappings and

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

2016-01-26 Thread Jan Beulich
>>> On 26.01.16 at 16:30, wrote: > On 01/26/16 05:44, Jan Beulich wrote: >> Interesting. This isn't the usage model I have been thinking about >> so far. Having just gone back to the original 0/4 mail, I'm afraid >> we're really left guessing, and you guessed differently

Re: [Xen-devel] [PATCH V13 3/5] libxl: add pvusb API

2016-01-26 Thread Olaf Hering
On Tue, Jan 19, Chunyan Liu wrote: > +++ b/tools/libxl/libxl.c > @@ -3204,7 +3204,7 @@ void > libxl__device_disk_local_initiate_detach(libxl__egc *egc, > aodev->dev = device; > aodev->callback = local_device_detach_cb; > aodev->force = 0; > -

Re: [Xen-devel] [PATCH] arm: p2m.c bug-fix: hypervisor hang on __p2m_get_mem_access

2016-01-26 Thread Ian Campbell
On Tue, 2016-01-26 at 13:46 +0200, Corneliu ZUZU wrote: > When __p2m_get_mem_access gets called, the p2m lock is already taken > by either get_page_from_gva or p2m_get_mem_access. > > Possible code paths: > 1)-> get_page_from_gva > -> p2m_mem_access_check_and_get_page >

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

2016-01-26 Thread Ian Campbell
On Tue, 2016-01-26 at 15:02 +0800, Yang Hongyang wrote: > > On 01/26/2016 02:48 PM, Wen Congyang wrote: > > On 01/26/2016 02:45 PM, Yang Hongyang wrote: > > > ditto > > > > > > Reviewed-by: Yang Hongyang > > > > The newest version is v5, and this series is in the

Re: [Xen-devel] [PATCH 1/3] libxc/xc_domain_resume: Update comment.

2016-01-26 Thread Ian Campbell
On Mon, 2016-01-25 at 16:06 -0500, Konrad Rzeszutek Wilk wrote: > To hopefully clarify what it meant. > > Signed-off-by: Konrad Rzeszutek Wilk > --- >  tools/libxc/xc_resume.c | 7 +-- >  1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git

Re: [Xen-devel] [PATCH V13 3/5] libxl: add pvusb API

2016-01-26 Thread George Dunlap
On Tue, Jan 26, 2016 at 7:43 AM, Chun Yan Liu wrote: > > On 1/20/2016 at 12:56 PM, in message > <569f83f502660009e...@relay2.provo.novell.com>, "Chun Yan Liu" > wrote: > >> > On 1/19/2016 at 11:48 PM, in message >>

Re: [Xen-devel] [PATCH 2/3] libxl/remus: Move the assert before the info is used.

2016-01-26 Thread Ian Campbell
On Mon, 2016-01-25 at 16:06 -0500, Konrad Rzeszutek Wilk wrote: > The assert(info) is after quite a lot of manipulations > on 'info' - which makes the assert pointless because if > info was NULL it would have crashed earlier. > > Move it earlier so that it guards before we try using > the 'info'

Re: [Xen-devel] [PATCH 1/3] libxc/xc_domain_resume: Update comment.

2016-01-26 Thread Ian Jackson
Ian Campbell writes ("Re: [PATCH 1/3] libxc/xc_domain_resume: Update comment."): > On Mon, 2016-01-25 at 16:06 -0500, Konrad Rzeszutek Wilk wrote: > > To hopefully clarify what it meant. ... > > + *  1. (fast=1) Resume with special return code (1) that the guest > > + * gets from

Re: [Xen-devel] [PATCH 2/3] libxl/remus: Move the assert before the info is used.

2016-01-26 Thread Ian Jackson
Ian Campbell writes ("Re: [PATCH 2/3] libxl/remus: Move the assert before the info is used."): > On Mon, 2016-01-25 at 16:06 -0500, Konrad Rzeszutek Wilk wrote: > > The assert(info) is after quite a lot of manipulations > > on 'info' - which makes the assert pointless because if > > info was NULL

Re: [Xen-devel] [ovmf bisection] complete test-amd64-i386-xl-qemuu-ovmf-amd64

2016-01-26 Thread Wei Liu
On Tue, Jan 26, 2016 at 11:05:50AM +, Ian Campbell wrote: > On Sat, 2016-01-09 at 00:33 +, osstest service owner wrote: > > According to http://logs.test-lab.xenproject.org/osstest/results/all-branch > -statuses.txt the ovmf push gate has been broken for a while (48 days). > > The

Re: [Xen-devel] [PATCH 3/3] tools/libxl: run_helper - add #define for arguments.

2016-01-26 Thread Ian Campbell
On Mon, 2016-01-25 at 16:06 -0500, Konrad Rzeszutek Wilk wrote: > Describe what the four (or more in the future) arguments > are for. I'd say that a code comment on the definition would be sufficient here, but I'll defer to Ian J as author of this code. > > Signed-off-by: Konrad Rzeszutek Wilk

[Xen-devel] [PATCHv2 4/4] spinlock: fair read-write locks

2016-01-26 Thread David Vrabel
From: Jennifer Herbert The current rwlocks are write-biased and unfair. This allows writers to starve readers in situations where there are many writers (e.g., p2m type changes from log dirty updates during domain save). Replace the current implementation with

[Xen-devel] [PATCHv2 1/4] atomic: replace atomic_compareandswap() with atomic_cmpxchg()

2016-01-26 Thread David Vrabel
atomic_compareandswap() used atomic_t as the new, old and returned values which is less convinient than using just int. Signed-off-by: David Vrabel --- v2: - arm/arm64 already provided atomic_cmpxchg() --- xen/common/domain.c | 5 +

[Xen-devel] [PATCHv2 2/4] spinlock: shrink struct lock_debug

2016-01-26 Thread David Vrabel
From: Jennifer Herbert Reduce the size of struct lock_debug so increases in other lock structures don't increase the size of struct domain too much. Signed-off-by: Jennifer Herbert Signed-off-by: David Vrabel

[Xen-devel] [PATCHv2 3/4] spinlock: move rwlock API and per-cpu rwlocks into their own files

2016-01-26 Thread David Vrabel
From: Jennifer Herbert In preparation for a replacement read-write lock implementation, move the API and the per-cpu read-write locks into their own files. Signed-off-by: Jennifer Herbert Signed-off-by: David Vrabel

  1   2   3   >