From: Rajiv M Ranganath
Signed-off-by: Rajiv Ranganath
Reviewed-by: Stefano Stabellini
---
README.md |2 ++
1 file changed, 2 insertions(+)
diff --git a/README.md b/README.md
index 9ea6adf..e1cd40c 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,7 @@
# stage1-xen - A Xen based stage1 f
Signed-off-by: Rajiv Ranganath
Reviewed-by: Stefano Stabellini
---
BUILDING.md | 96 ---
1 file changed, 91 insertions(+), 5 deletions(-)
diff --git a/BUILDING.md b/BUILDING.md
index 3ef5311..4775b65 100644
--- a/BUILDING.md
+++ b/BUILDI
From: Rajiv M Ranganath
Signed-off-by: Rajiv Ranganath
---
README.md |1 +
1 file changed, 1 insertion(+)
diff --git a/README.md b/README.md
index e1cd40c..d1ae6b9 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,7 @@ Stage1s come in the form of
[ACI](https://github.com/appc/spec) imag
From: Rajiv M Ranganath
Signed-off-by: Rajiv Ranganath
---
build/fedora/xen-4.9.0-runit/setup.sh | 18
build/fedora/xen-4.9.0-runit/teardown.sh | 18
.../xen-4.9.0-runit/xen-init-dom0-disk-backend/run | 11 ++
build/fedora/x
On Mon, Sep 18, 2017 at 06:32:22PM +0100, Julien Grall wrote:
> Hi Roger,
>
> On 18/09/17 17:58, Roger Pau Monné wrote:
> > On Mon, Sep 18, 2017 at 05:27:52PM +0100, Julien Grall wrote:
> > > The implementation of get_paged_frame is currently different whether the
> > > architecture support sharin
flight 113586 qemu-mainline real [real]
http://logs.test-lab.xenproject.org/osstest/logs/113586/
Regressions :-(
Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-xl-qemuu-win7-amd64 18 guest-start/win.repeat fail REGR. vs.
113302
build-armh
On Tue, Sep 05, 2017 at 05:32:24PM +0800, Yi Sun wrote:
> diff --git a/xen/include/public/domctl.h b/xen/include/public/domctl.h
> index 0669c31..a953157 100644
> --- a/xen/include/public/domctl.h
> +++ b/xen/include/public/domctl.h
> @@ -37,7 +37,7 @@
> #include "hvm/save.h"
> #include "memory.h
flight 113590 ovmf real [real]
http://logs.test-lab.xenproject.org/osstest/logs/113590/
Perfect :-)
All tests in this flight passed as required
version targeted for testing:
ovmf 91cc526b15ffbbbdec5a57906596f37e059f80be
baseline version:
ovmf 7f2f96f1a8af3c22bdf5d
> -Original Message-
> From: Roger Pau Monne
> Sent: 18 September 2017 17:18
> To: Paul Durrant
> Cc: xen-de...@lists.xenproject.org; Stefano Stabellini
> ; Andrew Cooper ;
> Ian Jackson ; Tim (Xen.org) ; Jan
> Beulich
> Subject: Re: [Xen-devel] [PATCH v7 12/12] x86/hvm/ioreq: add a new
>
On Mon, 2017-09-18 at 20:42 +0100, Anshul Makkar wrote:
>
> On 9/15/17 6:35 PM, Dario Faggioli wrote:
> > Hello,
> >
> > Dario Faggioli (4):
> > xen: sched: introduce 'adjust_affinity' hook.
> > xen: sched: optimize exclusive pinning case (Credit1 & 2)
> > xen: sched: improve
> -Original Message-
> From: Ian Jackson [mailto:ian.jack...@eu.citrix.com]
> Sent: 18 September 2017 17:16
> To: Paul Durrant
> Cc: xen-de...@lists.xenproject.org
> Subject: Re: [PATCH v7 03/12] tools/libxenforeignmemory: add support for
> resource mapping
>
> Paul Durrant writes ("[PATC
On Tue, Sep 19, 2017 at 04:11:28AM +0200, Dario Faggioli wrote:
> In commit ad4b3e1e9df34 ("xen: credit2: implement
> utilization cap") xfree() was being called (for
> deallocating the budget replenishment timer, during
> domain destruction) inside an IRQ disabled critical
> section.
>
> That must
On Tue, Sep 05, 2017 at 05:32:25PM +0800, Yi Sun wrote:
> This patch renames 'cbm_type' to 'psr_type' to make it be general.
s/make it be general/generalize it/.
> Then, we can reuse this for all psr allocation features.
>
> Signed-off-by: Yi Sun
> Reviewed-by: Wei Liu
Reviewed-by: Roger Pau
On Mon, 2017-09-18 at 18:52 +, Zhang Chen wrote:
> 山本真吾 于2017年9月18日周一 下午6:27写道:
> > I have read the following documents:
> >
> > COLO - Coarse Grain Lock Stepping
> > https://wiki.xen.org/wiki/COLO_-_Coarse_Grain_Lock_Stepping
> >
> > Mailing list
> > https://lists.xen.org/archives/html/xen-d
> -Original Message-
> From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of
> Julien Grall
> Sent: 18 September 2017 17:28
> To: xen-devel@lists.xen.org
> Cc: sstabell...@kernel.org; Wei Liu ; George Dunlap
> ; Andrew Cooper
> ; Ian Jackson ; Tim
> (Xen.org) ; Julien Grall
On Mon, Sep 18, 2017 at 05:08:18PM +0100, Ian Jackson wrote:
> Wei Liu writes ("Re: [PATCH 03/22] xentoolcore, _restrict_all: Introduce new
> library and implementation"):
> > On Fri, Sep 15, 2017 at 07:48:40PM +0100, Ian Jackson wrote:
> ...
> > > +void xentoolcore__register_active_handle(Xentool
On Fri, Sep 15, 2017 at 07:48:40PM +0100, Ian Jackson wrote:
> +int xentoolcore_restrict_all(uint32_t domid) {
> +/* xxx lock */
This should be removed.
With this fixed:
Acked-by: Wei Liu
___
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lis
On Fri, Sep 15, 2017 at 07:48:41PM +0100, Ian Jackson wrote:
> Signed-off-by: Ian Jackson
Acked-by: Wei Liu
___
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
On Fri, Sep 15, 2017 at 07:48:43PM +0100, Ian Jackson wrote:
> Signed-off-by: Ian Jackson
Acked-by: Wei Liu
___
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
On Fri, Sep 15, 2017 at 07:48:42PM +0100, Ian Jackson wrote:
> We are going to want to move something here.
>
> Signed-off-by: Ian Jackson
Acked-by: Wei Liu
___
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
On Tue, Sep 05, 2017 at 05:32:26PM +0800, Yi Sun wrote:
> This patch implements main data structures of MBA.
>
> Like CAT features, MBA HW info has cos_max which means the max thrtl
> register number, and thrtl_max which means the max throttle value
> (delay value). It also has a flag to represent
>>> On 19.09.17 at 10:34, wrote:
> I do wonder whether this function belongs in the grant table code though.
> Getting the page from a (d, gfn) tuple is probably something that's needed in
> a few places and hence putting the code in common/memory.c (with suitable
> adjustment to the error valu
Hi, all!
We did some work on implementing the idea with
feedback events from the backend to the frontend.
Please see attached the changes to the existing sndif protocol [1]:
1. Introduced a new event channel from back to front
2. New event with number of bytes played/captured (XENSND_EVT_CUR_
On Tue, Sep 05, 2017 at 05:32:27PM +0800, Yi Sun wrote:
> This patch implements get HW info flow for MBA including its callback
> function and sysctl interface.
>
> Signed-off-by: Yi Sun
> ---
> v3:
> - replace 'PSR_VAL_TYPE_MBA' to 'PSR_TYPE_MBA_THRTL'.
> (suggested by Roger Pau Monné)
On Tue, Sep 05, 2017 at 05:32:28PM +0800, Yi Sun wrote:
> This patch implements get value domctl interface for MBA.
>
> Signed-off-by: Yi Sun
> Reviewed-by: Roger Pau Monné
> ---
> v3:
> - change 'PSR_VAL_TYPE_MBA' to 'PSR_TYPE_MBA_THRTL'.
> (suggested by Roger Pau Monné)
> ---
> xen/
On Fri, 2017-09-15 at 12:01 -0400, Meng Xu wrote:
> On Wed, Sep 13, 2017 at 8:16 PM, Dario Faggioli
> wrote:
> >
> > > I'm ok with what it is in this patch, although I feel that we can
> > > kill the
> > > if (scinfo->extratime !=
> > > LIBXL_DOMAIN_SCHED_PARAM_EXTRATIME_DEFAULT)
> > > because L
On Fri, Sep 15, 2017 at 07:48:40PM +0100, Ian Jackson wrote:
> +
> +int xentoolcore_restrict_all(uint32_t domid) {
> +/* xxx lock */
> +int r;
> +Xentoolcore__Active_Handle *ah;
> +
> +lock();
> +XENTOOLCORE_LIST_FOREACH(ah, &handles, entry) {
> +r = ah->restrict_callback(ah
On Fri, Sep 15, 2017 at 07:48:44PM +0100, Ian Jackson wrote:
> +static int all_restrict_cb(Xentoolcore__Active_Handle *ah, uint32_t domid) {
> +xendevicemodel_handle *dmod = CONTAINER_OF(ah, *dmod, tc_ah);
> +
> +if (dmod->fd < 0)
> +/* just in case */
> +return 0;
> +
> +
On Fri, Sep 15, 2017 at 07:48:46PM +0100, Ian Jackson wrote:
> Signed-off-by: Ian Jackson
Acked-by: Wei Liu
___
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
On Fri, Sep 15, 2017 at 07:48:45PM +0100, Ian Jackson wrote:
> +static int all_restrict_cb(Xentoolcore__Active_Handle *ah, uint32_t domid) {
> +xencall_handle *xcall = CONTAINER_OF(ah, *xcall, tc_ah);
> +int nullfd = -1, r;
> +
> +if (xcall->fd < 0)
> +/* just in case */
> +
Hi,
On 19/09/17 09:56, Jan Beulich wrote:
On 19.09.17 at 10:34, wrote:
I do wonder whether this function belongs in the grant table code though.
Getting the page from a (d, gfn) tuple is probably something that's needed in
a few places and hence putting the code in common/memory.c (with suitab
On Fri, Sep 15, 2017 at 07:48:47PM +0100, Ian Jackson wrote:
> +static int all_restrict_cb(Xentoolcore__Active_Handle *ah, uint32_t domid) {
> +xenforeignmemory_handle *fmem = CONTAINER_OF(ah, *fmem, tc_ah);
> +
> +if (fmem->fd < 0)
> +/* just in case */
> +return 0;
> +
> +
On Fri, Sep 15, 2017 at 07:48:49PM +0100, Ian Jackson wrote:
> Signed-off-by: Ian Jackson
Acked-by: Wei Liu
___
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
On Fri, Sep 15, 2017 at 07:48:48PM +0100, Ian Jackson wrote:
> Signed-off-by: Ian Jackson
Acked-by: Wei Liu
___
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
On Fri, Sep 15, 2017 at 07:48:50PM +0100, Ian Jackson wrote:
> Replace the ad-hoc exit clauses with the error handling style where
> - local variables contain either things to be freed, or sentinels
> - all error exits go via an "err" label which frees everything
>
> Signed-off-by: Ian Jackson
On Fri, Sep 15, 2017 at 07:48:51PM +0100, Ian Jackson wrote:
> Now we can also abolish the temporary local variable "fd" and simply
> use h->fd.
>
> This ordering is necessary to be able to call
> xentoolcore__register_active_handle sensibly.
>
> Signed-off-by: Ian Jackson
Acked-by: Wei Liu
_
On Fri, Sep 15, 2017 at 07:48:52PM +0100, Ian Jackson wrote:
> Signed-off-by: Ian Jackson
Acked-by: Wei Liu
___
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
Hi,
On 19/09/17 08:13, Roger Pau Monné wrote:
On Mon, Sep 18, 2017 at 06:32:22PM +0100, Julien Grall wrote:
Hi Roger,
On 18/09/17 17:58, Roger Pau Monné wrote:
On Mon, Sep 18, 2017 at 05:27:52PM +0100, Julien Grall wrote:
The implementation of get_paged_frame is currently different whether t
> -Original Message-
> From: Julien Grall [mailto:julien.gr...@arm.com]
> Sent: 19 September 2017 10:40
> To: Jan Beulich ; Paul Durrant
>
> Cc: Andrew Cooper ; George Dunlap
> ; Ian Jackson ; Wei Liu
> ; sstabell...@kernel.org; xen-devel@lists.xen.org; Tim
> (Xen.org)
> Subject: Re: [Xen
On Fri, Sep 15, 2017 at 07:48:54PM +0100, Ian Jackson wrote:
> This functionality is still quite imperfect, but it will be useful in
> certain restricted use cases.
>
> Signed-off-by: Ian Jackson
Seeing this is mostly plumbing for QEMU and a technology preview
feature:
Acked-by: Wei Liu
_
On Fri, Sep 15, 2017 at 07:48:56PM +0100, Ian Jackson wrote:
> Signed-off-by: Ian Jackson
Acked-by: Wei Liu
___
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
On Fri, Sep 15, 2017 at 07:48:57PM +0100, Ian Jackson wrote:
> +/*
> + * userlookup_helper_getpwnam(libxl__gc*, const char *user,
> + * struct passwd **pwd_r);
> + *
> + * returns 1 if the user was found, 0 if it was not, -1 on error
> + */
> +#define DEFINE_USERLOOKUP
On Tue, Sep 05, 2017 at 05:32:29PM +0800, Yi Sun wrote:
> This patch implements set value flow for MBA including its callback
> function and domctl interface.
>
> It also changes the memebers in 'cos_write_info' to transfer the
> feature array, feature properties array and value array. Then, we
>
>>> On 19.09.17 at 11:39, wrote:
> On 19/09/17 09:56, Jan Beulich wrote:
> On 19.09.17 at 10:34, wrote:
>>> I do wonder whether this function belongs in the grant table code though.
>>> Getting the page from a (d, gfn) tuple is probably something that's needed
>>> in
>>> a few places and hen
Add a domctl hypercall to set the domain's resource limits regarding
grant tables.
Signed-off-by: Juergen Gross
Acked-by: Daniel De Graaf
---
V6:
- moved earlier in series to support set_gnttab_limits being
mandatory for domain creation
V5:
- add set_gnttab_limits to create_domain_common in x
When creating a Xenstore stubdom set the grant limits: the stubdom
will need to setup a very limited amount of grants only, so 4 grant
frames are enough. For being able to support up to 32768 domains it
will need 128 maptrack frames (1 mapping per domain, 256 maptrack
entries per maptrack frame).
Delay the allocation of the grant table sub structures in order to
allow modifying parameters needed for sizing of these structures at a
per domain basis. Allocate the structures from gnttab_setup_table()
and the table frames only from gnttab_grow_table().
Signed-off-by: Juergen Gross
---
V6:
- m
Instead of attaching the ARM specific grant table data to the domain
structure add it to struct grant_table. Add the needed arch functions
to the asm-*/grant_table.h includes.
Signed-off-by: Juergen Gross
---
V7:
- re-add #include in grant_table.h (Julien Grall)
---
xen/arch/arm/domain.c
Instead of using the same global resource limits of grant tables (max.
number of grant frames, max. number of maptrack frames) for all domains
make these limits per domain. Set those per-domain limits in
grant_table_set_limits().
Signed-off-by: Juergen Gross
---
V6:
- several changes due to new p
On very large hosts a guest needs to know whether it will have to
handle frame numbers larger than 32 bits in order to select the
appropriate grant interface version.
Add a new Xen specific CPUID node to contain the maximum guest address
width similar to the x86 CPUID node 0x8008 containing th
Add a new libxc function xc_domain_set_gnttbl_limits() setting the
limits for the maximum numbers of grant table frames and maptrack
frames of a domain.
Signed-off-by: Juergen Gross
Reviewed-by: Paul Durrant
Acked-by: Wei Liu
---
V4:
- use domid_t (Wei Liu)
---
tools/libxc/include/xenctrl.h |
Add a function for obtaining the highest possible physical memory
address of the system. This value is influenced by:
- hypervisor configuration (CONFIG_BIGMEM)
- processor capability (max. addressable physical memory)
- memory map at boot time
- memory hotplug capability
The value is especially
The x86 and arm versions of XENMAPSPACE_grant_table handling are nearly
identical. Move the code into a function in grant_table.c and add an
architecture dependant hook to handle the differences.
Switch to mfn_t in order to be more type safe.
Signed-off-by: Juergen Gross
---
V7:
- only call gntt
Many definitions can be moved from xen/grant_table.h to
common/grant_table.c now, as they are no longer used in other sources.
Rearrange the elements of struct grant_table to minimize holes due to
alignment of elements.
Signed-off-by: Juergen Gross
Reviewed-by: Paul Durrant
Reviewed-by: Wei Liu
The boot parameters gnttab_max_frames and gnttab_max_maptrack_frames
are used for dom0 only now, as all other domains require a
XEN_DOMCTL_set_gnttab_limits call now. So make that explicit by
setting the boot values for dom0 only.
While updating the documentation regarding new scope of the boot
pa
In gnttab_get_status_frames() all accesses to nr_status_frames should
be done with the grant table lock held.
While at it correct coding style: labels should be indented by one
space.
Signed-off-by: Juergen Gross
Reviewed-by: Paul Durrant
Reviewed-by: Wei Liu
---
xen/common/grant_table.c | 15
Add the maximum possible mfn of the host to the libxl_physinfo
data structure.
Signed-off-by: Juergen Gross
---
tools/libxl/libxl.c | 1 +
tools/libxl/libxl.h | 9 +
tools/libxl/libxl_types.idl | 1 +
3 files changed, 11 insertions(+)
diff --git a/tools/libxl/libxl.c b/t
Add new domain config items for setting the limits for the maximum
numbers of grant table frames and maptrack frames of a domain.
Signed-off-by: Juergen Gross
---
V6:
- made set_gnttab_limits hypercall mandatory, taking defaults from
xl.conf
V4:
- rename configuration items to use max_ prefixe
Add xl.conf config items for default values of grant limits:
max_grant_frames will set the default for the maximum number of grant
frames for a domain which will take effect if the domain's config file
doesn't specify a value. If max_grant_frames isn't set in xl.conf it
will default to 32 for host
Currently Linux has no support for grant v2 as this would reduce the
maximum number of active grants by a factor of 2 compared to v1,
because the number of possible grants are limited by the allowed number
of grant frames and grant entries of v2 need twice as much bytes as
those of v1.
Unfortunate
Add the maximum possible mfn to struct xen_sysctl_physinfo in order to
enable Xen tools to size the grant table frame limits for a domU.
Signed-off-by: Juergen Gross
---
xen/common/sysctl.c | 1 +
xen/include/public/sysctl.h | 2 ++
2 files changed, 3 insertions(+)
diff --git a/xen/comm
On 19/09/17 10:47, Paul Durrant wrote:
-Original Message-
From: Julien Grall [mailto:julien.gr...@arm.com]
Sent: 19 September 2017 10:40
To: Jan Beulich ; Paul Durrant
Cc: Andrew Cooper ; George Dunlap
; Ian Jackson ; Wei Liu
; sstabell...@kernel.org; xen-devel@lists.xen.org; Tim
(Xen.
On Fri, Sep 15, 2017 at 07:48:59PM +0100, Ian Jackson wrote:
> This is an RFC because it does not currently compile, because not all
> the places that use xentoolcore have a definition of domid in scope!
>
> Signed-off-by: Ian Jackson
If the places you mentioned are in xen.git we should probably
On Tue, Sep 05, 2017 at 05:32:30PM +0800, Yi Sun wrote:
> This patch creates general interfaces in libxl to support all psr
> allocation features.
>
> Add 'LIBXL_HAVE_PSR_GENERIC' to indicate interface change.
>
> Please note, the functionality cannot work until later patches
> are applied.
>
>
> -Original Message-
> From: Jan Beulich [mailto:jbeul...@suse.com]
> Sent: 19 September 2017 10:58
> To: Julien Grall
> Cc: Andrew Cooper ; George Dunlap
> ; Ian Jackson ; Paul
> Durrant ; Wei Liu ;
> sstabell...@kernel.org; xen-devel@lists.xen.org; Tim (Xen.org)
>
> Subject: Re: [Xen-de
On Fri, Sep 15, 2017 at 02:55:03PM +0100, George Dunlap wrote:
> On 09/15/2017 02:38 PM, Wei Liu wrote:
> > On Fri, Aug 25, 2017 at 05:43:43PM +0100, George Dunlap wrote:
> >> AFL considers a testcase to be a useful addition not only if there are
> >> tuples exercised by that testcase which were no
> -Original Message-
> From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of
> Juergen Gross
> Sent: 19 September 2017 10:59
> To: xen-de...@lists.xenproject.org
> Cc: Juergen Gross ; sstabell...@kernel.org; Wei Liu
> ; George Dunlap ;
> Andrew Cooper ; Ian Jackson
> ; Tim (
> -Original Message-
> From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of
> Juergen Gross
> Sent: 19 September 2017 10:59
> To: xen-de...@lists.xenproject.org
> Cc: Juergen Gross ; sstabell...@kernel.org; Wei Liu
> ; George Dunlap ;
> Andrew Cooper ; Ian Jackson
> ; Tim (
On Tue, Sep 05, 2017 at 05:32:31PM +0800, Yi Sun wrote:
> This patch implements a new libxc get hw info interface and corresponding
> data structures. It also changes libxl_psr.c to call this new interface.
>
> Signed-off-by: Yi Sun
> ---
> v3:
> - rename 'psr_cat/PSR_CAT' to 'psr_alloc/PSR_A
flight 113592 libvirt real [real]
http://logs.test-lab.xenproject.org/osstest/logs/113592/
Failures :-/ but no regressions.
Tests which did not succeed, but are not blocking:
test-armhf-armhf-libvirt-xsm 14 saverestore-support-checkfail like 113495
test-armhf-armhf-libvirt 14 saveresto
On 19/09/17 12:14, Paul Durrant wrote:
>> -Original Message-
>> From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of
>> Juergen Gross
>> Sent: 19 September 2017 10:59
>> To: xen-de...@lists.xenproject.org
>> Cc: Juergen Gross ; sstabell...@kernel.org; Wei Liu
>> ; George Du
On Tue, Sep 05, 2017 at 05:32:32PM +0800, Yi Sun wrote:
> This patch implements the new libxl get hw info interface,
> 'libxl_psr_get_hw_info', which is suitable to all psr allocation
> features. It also implements corresponding list free function,
> 'libxl_psr_hw_info_list_free' and make 'libxl_ps
> -Original Message-
> From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of
> Juergen Gross
> Sent: 19 September 2017 10:59
> To: xen-de...@lists.xenproject.org
> Cc: Juergen Gross ; sstabell...@kernel.org; Wei Liu
> ; George Dunlap ;
> Andrew Cooper ; Ian Jackson
> ; Tim (
> -Original Message-
> From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of
> Juergen Gross
> Sent: 19 September 2017 10:59
> To: xen-de...@lists.xenproject.org
> Cc: Juergen Gross ; sstabell...@kernel.org; Wei Liu
> ; George Dunlap ;
> Andrew Cooper ; Ian Jackson
> ; Tim (
On Tue, Sep 05, 2017 at 05:32:33PM +0800, Yi Sun wrote:
> This patch implements a new xl get HW info interface. A new argument
> is added for psr-hwinfo command to get and show MBA HW info.
>
> Signed-off-by: Yi Sun
> ---
> v3:
> - change the format string of printf in 'psr_mba_hwinfo'.
>
> -Original Message-
> From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of
> Juergen Gross
> Sent: 19 September 2017 10:59
> To: xen-de...@lists.xenproject.org
> Cc: Juergen Gross ; sstabell...@kernel.org; Wei Liu
> ; George Dunlap ;
> Andrew Cooper ; Ian Jackson
> ; Tim (
On Tue, Sep 05, 2017 at 05:32:34PM +0800, Yi Sun wrote:
> This patch renames 'xc_psr_cat_type' to 'xc_psr_type' so that
> the structure name is common for all allocation features.
>
> Signed-off-by: Yi Sun
> Acked-by: Wei Liu
> Reviewed-by: Chao Peng
> ---
> v3:
> - change 'xc_psr_val_type'
On 19/09/17 12:28, Paul Durrant wrote:
>> -Original Message-
>> From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of
>> Juergen Gross
>> Sent: 19 September 2017 10:59
>> To: xen-de...@lists.xenproject.org
>> Cc: Juergen Gross ; sstabell...@kernel.org; Wei Liu
>> ; George Du
On Mon, Sep 18, 2017 at 05:27:52PM +0100, Julien Grall wrote:
> The implementation of get_paged_frame is currently different whether the
> architecture support sharing memory or paging memory. Both
> version are extremely similar so it is possible to consolidate in a
> single implementation.
>
> T
> -Original Message-
> From: Juergen Gross [mailto:jgr...@suse.com]
> Sent: 19 September 2017 11:36
> To: Paul Durrant ; xen-de...@lists.xenproject.org
> Cc: sstabell...@kernel.org; Wei Liu ; George Dunlap
> ; Andrew Cooper
> ; Ian Jackson ; Tim
> (Xen.org) ; julien.gr...@arm.com; jbeul...@
Wei Liu writes ("Re: [PATCH 03/22] xentoolcore, _restrict_all: Introduce new
library and implementation"):
> On Fri, Sep 15, 2017 at 07:48:40PM +0100, Ian Jackson wrote:
> > +int xentoolcore_restrict_all(uint32_t domid) {
> > +/* xxx lock */
>
> This should be removed.
Oops, missed one indeed.
Hi Wei,
On 19/09/17 11:38, Wei Liu wrote:
On Mon, Sep 18, 2017 at 05:27:52PM +0100, Julien Grall wrote:
The implementation of get_paged_frame is currently different whether the
architecture support sharing memory or paging memory. Both
version are extremely similar so it is possible to consolid
Wei Liu writes ("Re: [PATCH 03/22] xentoolcore, _restrict_all: Introduce new
library and implementation"):
> On Fri, Sep 15, 2017 at 07:48:40PM +0100, Ian Jackson wrote:
> > +int xentoolcore_restrict_all(uint32_t domid) {
> > +int r;
> > +Xentoolcore__Active_Handle *ah;
> > +
> > +lock
Wei Liu writes ("Re: [PATCH 08/22] xentoolcore_restrict_all: "Implement" for
libxencall"):
> On Fri, Sep 15, 2017 at 07:48:45PM +0100, Ian Jackson wrote:
> > +nullfd = open("/dev/null",O_RDONLY);
>
> Space after "," please.
OK. I will keep that change when the code moves, in a moment.
> Wi
Wei Liu writes ("Re: [PATCH 10/22] xentoolcore_restrict_all: Implement for
libxenforeignmemory"):
> Same comment for xendevicemodel_restrict on idempotent applies here.
Are you happy with me fixing this by changing the docs rather than the
code ?
Ian.
___
Wei Liu writes ("Re: [PATCH 17/22] xl, libxl: Provide dm_restrict"):
> On Fri, Sep 15, 2017 at 07:48:54PM +0100, Ian Jackson wrote:
> > This functionality is still quite imperfect, but it will be useful in
> > certain restricted use cases.
...
> Seeing this is mostly plumbing for QEMU and a technol
On Tue, Sep 19, 2017 at 11:47:12AM +0100, Ian Jackson wrote:
> Wei Liu writes ("Re: [PATCH 03/22] xentoolcore, _restrict_all: Introduce new
> library and implementation"):
> > On Fri, Sep 15, 2017 at 07:48:40PM +0100, Ian Jackson wrote:
> > > +int xentoolcore_restrict_all(uint32_t domid) {
> > > +
Wei Liu writes ("Re: [PATCH 20/22] libxl: userlookup_helper_getpwnam rename and
turn into a macro"):
> On Fri, Sep 15, 2017 at 07:48:57PM +0100, Ian Jackson wrote:
> > +#define DEFINE_USERLOOKUP_HELPER(NAME,SPEC_TYPE,STRUCTNAME,SYSCONF)
> > \
>
> Some of the "\"'s are misaligned.
So th
On Tue, Sep 19, 2017 at 11:51:06AM +0100, Ian Jackson wrote:
> Wei Liu writes ("Re: [PATCH 10/22] xentoolcore_restrict_all: Implement for
> libxenforeignmemory"):
> > Same comment for xendevicemodel_restrict on idempotent applies here.
>
> Are you happy with me fixing this by changing the docs ra
Juergen Gross writes ("[PATCH v7 10/16] xl: add global grant limit config
items"):
> Add xl.conf config items for default values of grant limits:
>
> max_grant_frames will set the default for the maximum number of grant
> frames for a domain which will take effect if the domain's config file
> do
Juergen Gross writes ("[PATCH v7 07/16] libxc: add libxc support for setting
grant table resource limits"):
> Add a new libxc function xc_domain_set_gnttbl_limits() setting the
> limits for the maximum numbers of grant table frames and maptrack
> frames of a domain.
>
> Signed-off-by: Juergen Gro
Juergen Gross writes ("[PATCH v7 11/16] libxl: add libxl support for setting
grant table resource limits"):
> Add new domain config items for setting the limits for the maximum
> numbers of grant table frames and maptrack frames of a domain.
Acked-by: Ian Jackson
___
Juergen Gross writes ("[PATCH v7 09/16] libxl: add max possible mfn to
libxl_physinfo"):
> Add the maximum possible mfn of the host to the libxl_physinfo
> data structure.
Acked-by: Ian Jackson
___
Xen-devel mailing list
Xen-devel@lists.xen.org
https:
Wei Liu writes ("Re: [PATCH 22/22] RFC: tools: xentoolcore_restrict_all: use
domid_t"):
> On Fri, Sep 15, 2017 at 07:48:59PM +0100, Ian Jackson wrote:
> > This is an RFC because it does not currently compile, because not all
> > the places that use xentoolcore have a definition of domid in scope!
On Tue, Sep 05, 2017 at 05:32:35PM +0800, Yi Sun wrote:
> This patch implements generic get value interfaces in libxc and libxl.
> It also refactors the get value flow in xl to make it be suitable for all
> allocation features. Based on that, a new MBA get value command is added in
> xl.
>
> Sign
Hi Konrad,
On 19/09/17 01:32, Konrad Rzeszutek Wilk wrote:
+.PHONY: livepatch_depends.h
+livepatch_depends.h: note.bin
+ $(shell (../../../tools/firmware/hvmloader/mkhex $(NOTE_DEPENDS) $^ >
$@))
It looks quite odd to use a file in firmware/hvmloader for livepatch. Would
it be possible
Wei Liu writes ("Re: [PATCH 03/22] xentoolcore, _restrict_all: Introduce new
library and implementation"):
> The impression I get from the name and parameter from this API is that
> the following use case is allowed: a device model serving multiple
> domains.
Such a device model is obviously, by
Wei Liu writes ("Re: [PATCH 10/22] xentoolcore_restrict_all: Implement for
libxenforeignmemory"):
> Sure that's fine.
I have this now:
* If called again with the same domid, it may succeed, or it may
* fail (even though such a call is potentially meaningful).
* (If called again with a differe
Hi Konrad,
On 19/09/17 01:35, Konrad Rzeszutek Wilk wrote:
On Thu, Sep 14, 2017 at 02:20:42PM +0100, Julien Grall wrote:
Hi Konrad,
On 12/09/17 01:37, Konrad Rzeszutek Wilk wrote:
This was found when porting livepatch-build-tools to ARM64/32.
When livepatch-build-tools are built (and test-ca
The implementation of get_paged_frame is currently different whether the
architecture support sharing memory or paging memory. Both
version are extremely similar so it is possible to consolidate in a
single implementation.
The main difference is the x86 version will allow grant on foreign page
whe
1 - 100 of 259 matches
Mail list logo