Re: [Xen-devel] Proposal to allow setting up shared memory areas between VMs from xl config file

2017-05-19 Thread Zhongze Liu
in the frontend / backend model. The > frontend needs to trust backend to a certain degree. A user knows what > to expect or do if one side misbehaves. > > But the way this proposal is phrased is that this is to construct a > communication channel, i.e. it reads to me from a us

Re: [Xen-devel] Proposal to allow setting up shared memory areas between VMs from xl config file

2017-05-19 Thread Zhongze Liu
the work is technically common >> > though, I don't see any downsides on enabling it on x86 on the off >> > chance that somebody will find it useful. However, if you prefer to >> > keep it ARM only, that's fine by me too. >> >> I don't have a preference either way, but if you do it in an arch-neutral >> way, then the manifestation of the frame numbers also needs to be >> arch-neutral, in which case DT is not a suitable vehicle. > > Makes sense. > I agree with this, I'll take this into consideration in the next version of this proposal. Cheers, Zhongze Liu ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] Proposal to allow setting up shared memory areas between VMs from xl config file

2017-05-12 Thread Zhongze Liu
ding through my proposal. > > On Sat, May 13, 2017 at 01:01:39AM +0800, Zhongze Liu wrote: >> Hi, Xen developers, >> >> I'm Zhongze Liu, a GSoC student of this year. Glad to meet you in the >> Xen Project. As an initial step to implementing my GSoC proposal, which >&

[Xen-devel] Proposal to allow setting up shared memory areas between VMs from xl config file

2017-05-12 Thread Zhongze Liu
Hi, Xen developers, I'm Zhongze Liu, a GSoC student of this year. Glad to meet you in the Xen Project. As an initial step to implementing my GSoC proposal, which is still a draft, I'm posting it here. And hope to hear from you your suggestions

Re: [Xen-devel] [GSoC]about the task "Share a page in memory from the VM config file"

2017-03-29 Thread Zhongze Liu
Hi Stefano, What do you say if we extend this project into "sharing multiple ranges of memory area among VMs from the config file". Cheers. Zhongze Liu 2017-03-30 9:07 GMT+08:00 Zhongze Liu <blacksk...@gmail.com>: > Hi Stefano, > > Thanks for reminding me of the

Re: [Xen-devel] [GSoC]about the task "Share a page in memory from the VM config file"

2017-03-29 Thread Zhongze Liu
for that. I would finish the proposal ASAP and start discussing the implementation details with you and Julien. Thanks again. Cheers. Zhongze Liu 2017-03-29 8:15 GMT+08:00 Stefano Stabellini <sstabell...@kernel.org>: > On Tue, 28 Mar 2017, Stefano Stabellini wrote: >> Hello Zhongze, >&

Re: [Xen-devel] [GSoC]about the task "Share a page in memory from the VM config file"

2017-03-22 Thread Zhongze Liu
hadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp Cheers. Zhongze Liu. ___ Xen-devel ma

[Xen-devel] [PATCH v6] xen: Allow a default compiled-in command line using Kconfig

2017-03-21 Thread Zhongze Liu
2017年3月22日星期三,Stefano Stabellini <sstabell...@kernel.org> 写道: > On Tue, 21 Mar 2017, Wei Liu wrote: > > On Wed, Mar 22, 2017 at 12:41:01AM +0800, Zhongze Liu wrote: > > > This allows downstreams to set their defaults without modifying the > source code > > &g

[Xen-devel] [PATCH v9] xen: Allow a default compiled-in command line using Kconfig

2017-03-21 Thread Zhongze Liu
bootloaders. A wrapper to the original common/kernel.c:cmdline_parse() was introduced to complete this task. Signed-off-by: Zhongze Liu <blacksk...@gmail.com> Reviewed-by: Jan Beulich <jbeul...@suse.com> Reviewed-by: Stefano Stabellini <sstabell...@kernel.org> Cc: Andrew Cooper <andrew.c

Re: [Xen-devel] [PATCH v8] xen: Allow a default compiled-in command line using Kconfig

2017-03-21 Thread Zhongze Liu
se being unconditional. > After doing a full clean and making it again. I got the same error message. This seems to be a huge mistake. I've now changed the "depends on" into a conditional prompt, and have done both EXPERT and non-EXPERT build again (with a full clean every time before building). So this time it shouldn't report this error again. But anyway, please do test it out again. Cheers. Zhongze Liu. ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v8] xen: Allow a default compiled-in command line using Kconfig

2017-03-21 Thread Zhongze Liu
2017-03-21 22:27 GMT+08:00 Jan Beulich : On 21.03.17 at 12:18, wrote: >> --- a/xen/common/Kconfig >> +++ b/xen/common/Kconfig >> @@ -237,4 +237,26 @@ config FAST_SYMBOL_LOOKUP >> The only user of this is Live patching. >> >> If unsure,

[Xen-devel] [PATCH v8] xen: Allow a default compiled-in command line using Kconfig

2017-03-21 Thread Zhongze Liu
bootloaders. A wrapper to the original common/kernel.c:cmdline_parse() was introduced to complete this task. Signed-off-by: Zhongze Liu <blacksk...@gmail.com> Reviewed-by: Jan Beulich <jbeul...@suse.com> Reviewed-by: Stefano Stabellini <sstabell...@kernel.org> Cc: Andrew Cooper <andrew.c

Re: [Xen-devel] [PATCH v7] xen: Allow a default compiled-in command line using Kconfig

2017-03-21 Thread Zhongze Liu
nd now I'm trying to develop a good taste of commit messages. I'm still learning things, so please do continue to point out my problems if you find any. I sincerely appreciate all the things I've learned here so far. Thanks. Cheers. Zhongze Liu. ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v7] xen: Allow a default compiled-in command line using Kconfig

2017-03-21 Thread Zhongze Liu
2017-03-21 17:30 GMT+08:00 Dario Faggioli <dario.faggi...@citrix.com>: > On Tue, 2017-03-21 at 17:17 +0800, Zhongze Liu wrote: > : >> > On Tue, 2017-03-21 at 16:43 +0800, Zhongze Liu wrote: >> > > >> Added 2 new config entries in common/Kconfig:

Re: [Xen-devel] [PATCH v7] xen: Allow a default compiled-in command line using Kconfig

2017-03-21 Thread Zhongze Liu
2017-03-21 16:59 GMT+08:00 Dario Faggioli <dario.faggi...@citrix.com>: > On Tue, 2017-03-21 at 16:43 +0800, Zhongze Liu wrote: >> This allows downstreams to set their defaults without modifying the >> source code >> all over the place. Also probably useful for the e

[Xen-devel] [PATCH v7] xen: Allow a default compiled-in command line using Kconfig

2017-03-21 Thread Zhongze Liu
otloaders. A wrapper to the original common/kernel.c:cmdline_parse() was introduced to complete this task. Signed-off-by: Zhongze Liu <blacksk...@gmail.com> Reviewed-by: Jan Beulich <jbeul...@suse.com> Reviewed-by: Stefano Stabellini <sstabell...@kernel.org> Cc: Andrew Cooper

Re: [Xen-devel] [PATCH v6] xen: Allow a default compiled-in command line using Kconfig

2017-03-21 Thread Zhongze Liu
der command line will be ignored, which will be useful to work around >> broken bootloaders. A wrapper to the original >> common/kernel.c:cmdline_parse() >> was introduced to complete this task. >> >> This allows downstreams to set their defaults without modifying the source >> cod

[Xen-devel] [PATCH v6] xen: Allow a default compiled-in command line using Kconfig

2017-03-20 Thread Zhongze Liu
place. Also probably useful for the embedded space. (See Also: https://xenproject.atlassian.net/browse/XEN-41) Signed-off-by: Zhongze Liu <blacksk...@gmail.com> Cc: Andrew Cooper <andrew.coop...@citrix.com> Cc: George Dunlap <george.dun...@eu.citrix.com> Cc: Ian Jackson <ian.jack

[Xen-devel] [PATCH v5] xen: Allow a default compiled-in command line using Kconfig

2017-03-18 Thread Zhongze Liu
lso: https://xenproject.atlassian.net/browse/XEN-41) Signed-off-by: Zhongze Liu <blacksk...@gmail.com> CC: Andrew Cooper <andrew.coop...@citrix.com> CC: George Dunlap <george.dun...@eu.citrix.com> CC: Ian Jackson <ian.jack...@eu.citrix.com> CC: Jan Beulich <jbeul..

Re: [Xen-devel] [PATCH v4] xen: Allow a default compiled-in command line using Kconfig

2017-03-13 Thread Zhongze Liu
>2017-03-13 19:52 GMT+08:00 Jan Beulich : @@ -1566,14 +1557,14 @@ void __init noreturn __start_xen(unsigned long mbi_p) /* Grab the DOM0 command line. */ cmdline = (char *)(mod[0].string ? __va(mod[0].string) : NULL); -if ( (cmdline

Re: [Xen-devel] [PATCH v4] xen: Allow a default compiled-in command line using Kconfig

2017-03-10 Thread Zhongze Liu
2017-03-10 23:03 GMT+08:00 Jan Beulich : On 09.03.17 at 04:13, wrote: >> If CMDLINE is set, the cmdline_parse() routine will append the bootloader >> command line to this string, forming the complete command line >> before parsing. > > I disagree to

[Xen-devel] [PATCH v4] xen: Allow a default compiled-in command line using Kconfig

2017-03-08 Thread Zhongze Liu
's anymore. Signed-off-by: Zhongze Liu <blacksk...@gmail.com> --- Changed since v3: * Remove the CMDLINE_BOOL option. * Make the option CMDLINE_OVERRIDE depend on EXPERT = "y". * Move the CMDLINE-related code from various /xen/$(ARCH)/setup.c's to common/kernel.c:cm

Re: [Xen-devel] [PATCH v3] xen: Allow a default compiled-in command line using Kconfig

2017-03-07 Thread Zhongze Liu
So, taking all of the conversations above into consideration, the following changes should be done to this patch: 1. According to Andrew and Jan's suggestions, I'll remove the CMDLINE_BOOL option, and deal with CMDLINE without the #ifdef-ary's. 2. Make the option CMDLINE_OVERRIDE depends on

Re: [Xen-devel] [PATCH v3] xen: Allow a default compiled-in command line using Kconfig

2017-03-07 Thread Zhongze Liu
Thanks for your time reviewing my code. 2017-03-07 17:36 GMT+08:00 Jan Beulich : On 07.03.17 at 09:34, wrote: > > As an initial remark: Am I right in guessing that you manually prefix > [Xen-devel] to your message subject? Please don't do so -

[Xen-devel] [PATCH v3] xen: Allow a default compiled-in command line using Kconfig

2017-03-07 Thread Zhongze Liu
will be useful to work around broken bootloaders. This allows downstreams to set their defaults without modifying the source code all over the place. Also probably useful for the embedded space. See Also: https://xenproject.atlassian.net/browse/XEN-41 Signed-off-by: Zhongze Liu <blacksk...@gmail.

Re: [Xen-devel] [PATCH v2] xen: Allow a default compiled-in command line using Kconfig

2017-03-06 Thread Zhongze Liu
2017-03-06 19:42 GMT+08:00 Jan Beulich <jbeul...@suse.com>: >>>> On 06.03.17 at 12:38, <julien.gr...@arm.com> wrote: > >> >> On 06/03/17 11:32, Jan Beulich wrote: >>>>>> On 06.03.17 at 12:15, <julien.gr...@arm.com> wrote: >>>

Re: [Xen-devel] [PATCH] xen: Allow a default compiled-in command line using Kconfig

2017-03-06 Thread Zhongze Liu
efaults >> without modifying the source code all over the place. >> Also probably useful for the embedded space. >> >> See Also: >> https://xenproject.atlassian.net/projects/XEN/issues/XEN-41?filter=allopenissues > > If you are going to include this URL, please drop th

[Xen-devel] [PATCH v2] xen: Allow a default compiled-in command line using Kconfig

2017-03-06 Thread Zhongze Liu
for the embedded space. See Also: https://xenproject.atlassian.net/projects/XEN/issues/XEN-41?filter=allopenissues Signed-off-by: Zhongze Liu <blacksk...@gmail.com> --- Changed since v1: * Added the missing CMDLINE_OVERRIDE config entry. * Combined built-in and boot loader command lines in

<    1   2