its instead of different v1 and v2 limits
- double default limit for huge hosts
Juergen Gross (10):
xen: add function for obtaining highest possible memory address
libxc: add libxc support for setting grant table resource limits
tools: set grant limits for xenstore stubdom
libxl: add max possible
On 22/09/17 10:35, Jan Beulich wrote:
On 22.09.17 at 10:27, wrote:
>> On 22/09/17 09:53, Jan Beulich wrote:
>> On 22.09.17 at 08:19, wrote:
On 21/09/17 13:48, Jan Beulich wrote:
On 21.09.17 at 13:39, wrote:
>> On
On 22/09/17 09:53, Jan Beulich wrote:
On 22.09.17 at 08:19, wrote:
>> On 21/09/17 13:48, Jan Beulich wrote:
>> On 21.09.17 at 13:39, wrote:
On 21/09/17 13:31, Jan Beulich wrote:
On 21.09.17 at 09:53, wrote:
>> On
On 21/09/17 13:48, Jan Beulich wrote:
On 21.09.17 at 13:39, wrote:
>> On 21/09/17 13:31, Jan Beulich wrote:
>> On 21.09.17 at 09:53, wrote:
On 21/09/17 08:15, Jan Beulich wrote:
On 21.09.17 at 06:35, wrote:
>> On
On 21/09/17 16:14, Boris Ostrovsky wrote:
>
>
> On 09/21/2017 04:01 AM, Juergen Gross wrote:
>> Physical addresses on processors supporting 5 level paging can be up to
>> 52 bits wide. For a Xen pv guest running on such a machine those
>> physical addresses ha
On 21/09/17 13:48, Jan Beulich wrote:
On 21.09.17 at 13:39, wrote:
>> On 21/09/17 13:31, Jan Beulich wrote:
>> On 21.09.17 at 09:53, wrote:
On 21/09/17 08:15, Jan Beulich wrote:
On 21.09.17 at 06:35, wrote:
>> On
On 21/09/17 13:31, Jan Beulich wrote:
On 21.09.17 at 09:53, wrote:
>> On 21/09/17 08:15, Jan Beulich wrote:
>> On 21.09.17 at 06:35, wrote:
On 20/09/17 17:35, Jan Beulich wrote:
On 20.09.17 at 14:44, wrote:
>> On
s enumerated.
>
> This patch fixes the issues.
>
> Signed-off-by: Yi Sun <yi.y@linux.intel.com>
Reviewed-by: Juergen Gross <jgr...@suse.com>
Juergen
> ---
> xen/arch/x86/psr.c | 9 +++--
> 1 file changed, 7 insertions(+), 2 deletions(-)
>
> diff --gi
reading/writing a MFN from/to a pte don't use the kernel's
PTE_PFN_MASK but a new XEN_PTE_MFN_MASK allowing full 40 bit wide MFNs.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
arch/x86/include/asm/xen/page.h | 11 ++-
arch/x86/xen/mmu_pv.c | 4 ++--
2 files chang
On 21/09/17 08:15, Jan Beulich wrote:
On 21.09.17 at 06:35, wrote:
>> On 20/09/17 17:35, Jan Beulich wrote:
>> On 20.09.17 at 14:44, wrote:
On 20/09/17 13:48, Jan Beulich wrote:
On 20.09.17 at 13:10, wrote:
>> I
On 20/09/17 16:34, Julien Grall wrote:
> Hi Juergen,
>
> On 20/09/17 07:34, Juergen Gross wrote:
>> diff --git a/xen/include/asm-arm/grant_table.h
>> b/xen/include/asm-arm/grant_table.h
>> index 0a248a765a..0870b5b782 100644
>> --- a/xen/include/asm-arm/grant_tab
On 20/09/17 17:35, Jan Beulich wrote:
On 20.09.17 at 14:44, wrote:
>> On 20/09/17 13:48, Jan Beulich wrote:
>> On 20.09.17 at 13:10, wrote:
On 20/09/17 12:34, Jan Beulich wrote:
On 20.09.17 at 08:34, wrote:
>> ---
On 20/09/17 17:36, Jan Beulich wrote:
On 20.09.17 at 14:48, wrote:
>> On 20/09/17 14:07, Jan Beulich wrote:
>> On 20.09.17 at 08:34, wrote:
@@ -3469,14 +3460,17 @@ grant_table_create(
/* Simple stuff. */
On 20/09/17 17:42, Jan Beulich wrote:
On 20.09.17 at 14:58, wrote:
>> On 20/09/17 14:18, Jan Beulich wrote:
>> On 20.09.17 at 08:34, wrote:
On very large hosts a guest needs to know whether it will have to
>>>
>>> ... a PV guest ...
>>
>> What
On 20/09/17 19:15, Julien Grall wrote:
> Hi Juergen,
>
> On 20/09/17 15:33, Juergen Gross wrote:
>> On 20/09/17 16:24, Julien Grall wrote:
>>> On 20/09/17 14:08, Juergen Gross wrote:
>>>> On 20/09/17 14:51, Julien Grall wrote:
>>>>>
On 20/09/17 16:24, Julien Grall wrote:
> Hi Juergen,
>
> On 20/09/17 14:08, Juergen Gross wrote:
>> On 20/09/17 14:51, Julien Grall wrote:
>>> Hi Juergen,
>>>
>>> Sorry for the late comment.
>>>
>>> On 20/09/17 07:34, Juergen Gross w
On 20/09/17 14:51, Julien Grall wrote:
> Hi Juergen,
>
> Sorry for the late comment.
>
> On 20/09/17 07:34, Juergen Gross wrote:
>> Add a function for obtaining the highest possible physical memory
>> address of the system. This value is influenced by:
>&
On 20/09/17 14:53, Julien Grall wrote:
> Hi Juergen,
>
> On 20/09/17 07:34, Juergen Gross wrote:
>> 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-b
On 20/09/17 14:18, Jan Beulich wrote:
On 20.09.17 at 08:34, wrote:
>> On very large hosts a guest needs to know whether it will have to
>
> ... a PV guest ...
What about a HVM guest with (potentially) more than 16TB?
>> handle frame numbers larger than 32 bits in order to
On 20/09/17 14:07, Jan Beulich wrote:
On 20.09.17 at 08:34, wrote:
>> --- a/xen/arch/arm/domain_build.c
>> +++ b/xen/arch/arm/domain_build.c
>> @@ -2098,7 +2098,7 @@ static void __init find_gnttab_region(struct domain *d,
>> kinfo->gnttab_size = (_etext - _stext) &
On 20/09/17 13:48, Jan Beulich wrote:
On 20.09.17 at 13:10, wrote:
>> On 20/09/17 12:34, Jan Beulich wrote:
>> On 20.09.17 at 08:34, wrote:
--- a/xen/common/compat/grant_table.c
+++ b/xen/common/compat/grant_table.c
@@ -1777,13 +1784,15
On 20/09/17 12:34, Jan Beulich wrote:
On 20.09.17 at 08:34, wrote:
>> --- a/xen/common/compat/grant_table.c
>> +++ b/xen/common/compat/grant_table.c
>> @@ -157,21 +157,14 @@ int compat_grant_table_op(unsigned int cmd,
>> unsigned int
On 20/09/17 12:02, Jan Beulich wrote:
On 20.09.17 at 11:44, wrote:
>> On 20/09/17 11:22, Jan Beulich wrote:
>> On 20.09.17 at 08:34, wrote:
@@ -3381,75 +3425,21 @@ grant_table_create(
struct domain *d)
{
struct grant_table
On 20/09/17 11:22, Jan Beulich wrote:
On 20.09.17 at 08:34, wrote:
>> @@ -3381,75 +3425,21 @@ grant_table_create(
>> struct domain *d)
>> {
>> struct grant_table *t;
>> -unsigned int i, j;
>>
>> if ( (t = xzalloc(struct grant_table)) == NULL )
>> -
On 20/09/17 11:32, Jan Beulich wrote:
On 20.09.17 at 10:58, wrote:
>> On 20/09/17 10:57, Jan Beulich wrote:
>> On 20.09.17 at 08:34, wrote:
--- a/xen/arch/x86/mm.c
+++ b/xen/arch/x86/mm.c
@@ -6312,6 +6312,17 @@ int
On 20/09/17 10:58, Jan Beulich wrote:
>>>> On 20.09.17 at 08:34, <jgr...@suse.com> wrote:
>> 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.
>>
>> Sig
On 20/09/17 10:57, Jan Beulich wrote:
On 20.09.17 at 08:34, wrote:
>> --- a/xen/arch/x86/mm.c
>> +++ b/xen/arch/x86/mm.c
>> @@ -6312,6 +6312,17 @@ int pv_ro_page_fault(unsigned long addr, struct
>> cpu_user_regs *regs)
>> return 0;
>> }
>>
>> +unsigned long
On 20/09/17 09:55, Jan Beulich wrote:
On 20.09.17 at 09:20, wrote:
>> For your case: what about adding a configure option to disable building
>> the python bindings (and any dependencies like e.g. pygrub) instead of
>> doing so in case of a version mismatch? This would avoid
On 20/09/17 09:00, Jan Beulich wrote:
> Hello,
>
> for quite a while (apparently as of Marek's series in February) I've
> been seeing
>
> xen/lowlevel/xc/xc.c: In function ‘pyxc_dom_extract_cpuid’:
> xen/lowlevel/xc/xc.c:692:13: error: implicit declaration of function
> ‘PyBytes_AS_STRING’
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 <jgr...@suse.com>
Reviewed-by: Paul Durrant <paul.durr...@citrix.com>
---
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 <jgr...@suse.com>
Reviewed-by
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 <jgr...@suse.
parameters remove the documentation of gnttab_max_nr_frames as it
isn't existing any longer.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
V7:
- add boot parameter documentation changes
---
docs/misc/xen-command-line.markdown | 15 +++
xen/arch/arm/domain_build.c
()).
Signed-off-by: Juergen Gross <jgr...@suse.com>
Reviewed-by: Paul Durrant <paul.durr...@citrix.com>
---
V6:
- move call of grant_table_init() for dom0 to grant_table_create()
(Jan Beulich)
- move frame allocations to gnttab_grow_table() (Jan Beulich)
- several other changes due to new
).
Signed-off-by: Juergen Gross <jgr...@suse.com>
Acked-by: Wei Liu <wei.l...@citrix.com>
---
tools/helpers/init-xenstore-domain.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/tools/helpers/init-xenstore-domain.c
b/tools/helpers/init-xenstore-domain.c
index 8a41ee7d3a
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 <jgr...@suse.com>
---
xen/common/sysctl.c | 1 +
xen/include/public/sysctl.h | 2 ++
2 files changed, 3 inse
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 <jgr...@suse.com>
Reviewed-by: Paul D
Add the maximum possible mfn of the host to the libxl_physinfo
data structure.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Acked-by: Ian Jackson <ian.jack...@eu.citrix.com>
---
tools/libxl/libxl.c | 1 +
tools/libxl/libxl.h | 9 +
tools/libxl/libxl_types.
Add a domctl hypercall to set the domain's resource limits regarding
grant tables.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Acked-by: Daniel De Graaf <dgde...@tycho.nsa.gov>
---
V8:
- remove stale #if 0, adjust comments (Paul Durrant)
V6:
- moved earlier in serie
needed for dom0 to decide sizing of grant frame
limits of guests and for pv domains for selecting the grant interface
version to use.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
xen/arch/x86/mm.c| 11 +++
xen/common/memory.c | 8
xen/include/asm-arm/mm.
gnttab_setup_table() to
gnttab_grow_table() (Paul Durrant)
- patch 4: correct error message (Paul Durrant)
- patch 6: rename *gnttbl* to *gnttab* (Paul Durrant)
Changes in V2:
- add per-domain grant limits instead of different v1 and v2 limits
- double default limit for huge hosts
Juergen Gross (15
the maximum
physical address width. The maximum frame width needs to take memory
hotplug into account.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
xen/arch/x86/traps.c| 4
xen/include/public/arch-x86/cpuid.h | 11 ++-
2 files changed, 14 insertions
-off-by: Juergen Gross <jgr...@suse.com>
Acked-by: Ian Jackson <ian.jack...@eu.citrix.com>
---
V7:
- don't use xc_maximum_ram_page() but max_possible_mfn from physinfo
---
docs/man/xl.conf.pod.5 | 12
tools/xl/xl.c | 15 +++
tools/xl/xl.h | 2
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 <jgr...@suse.com>
Reviewed-by: Paul Durrant <paul.durr...@citrix.com>
Acked-by: Wei Liu <wei.l...@ci
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 <jgr...@suse.com>
Acked-by: Ian Jackson <ian.jack...@eu.citrix.com>
---
V6:
- made set_gnttab_limits hypercall mandatory, tak
> warning: Value stored to 'p' during its initialization is never read
>
> Signed-off-by: Colin Ian King <colin.k...@canonical.com>
Reviewed-by: Juergen Gross <jgr...@suse.com>
Juergen
> ---
> arch/x86/include/asm/xen/hypercall.h | 4 ++--
> 1 file changed, 2 in
On 19/09/17 17:55, Jan Beulich wrote:
On 19.09.17 at 11:58, wrote:
>> --- a/xen/common/grant_table.c
>> +++ b/xen/common/grant_table.c
>> @@ -40,6 +40,45 @@
>> #include
>> #include
>>
>> +/* Per-domain grant information. */
>> +struct grant_table {
>> +/*
>> +
Juergen Gross (2):
xen: add a global indicator for grant copy being available
xen: dont try setting max grants multiple times
hw/block/xen_disk.c | 30 +-
hw/xen/xen_backend.c | 11 +++
include/hw/xen/xen_backend.h | 1 +
3 files changed
of letting the generic backend code open the gnttab device
do it in blk_connect() and close it again in blk_disconnect.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
hw/block/xen_disk.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/hw/block/xen_disk.
for the availability of grant copy
in xen_be_init() opening the gnttab device just for that purpose and
closing it again afterwards. Advertise the availability via a global
flag and use that flag in the qdisk backend.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
hw/block/xen_disk.c
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 <jgr...
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 <jgr...
of different v1 and v2 limits
- double default limit for huge hosts
Juergen Gross (16):
xen: correct gnttab_get_status_frames()
xen: move XENMAPSPACE_grant_table code into grant_table.c
xen: clean up grant_table.h
xen: add new domctl hypercall to set grant table resource limits
xen: add
Add the maximum possible mfn of the host to the libxl_physinfo
data structure.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
tools/libxl/libxl.c | 1 +
tools/libxl/libxl.h | 9 +
tools/libxl/libxl_types.idl | 1 +
3 files changed, 11 insertions(+)
diff --git a
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 <jgr...@suse.com>
---
V6:
- made set_gnttab_limits hypercall mandatory, taking defaults from
xl.conf
V4:
- rename configuration
-off-by: Juergen Gross <jgr...@suse.com>
---
V7:
- don't use xc_maximum_ram_page() but max_possible_mfn from physinfo
---
docs/man/xl.conf.pod.5 | 12
tools/xl/xl.c | 15 +++
tools/xl/xl.h | 2 ++
3 files changed, 29 insertions(+)
diff --git a/do
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 <jgr...@suse.com>
---
xen/common/sysctl.c | 1 +
xen/include/public/sysctl.h | 2 ++
2 files changed, 3 inse
parameters remove the documentation of gnttab_max_nr_frames as it
isn't existing any longer.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
V7:
- add boot parameter documentation changes
---
docs/misc/xen-command-line.markdown | 15 +++
xen/arch/arm/domain_build.c
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 <jgr...@suse.com>
Reviewed-by: Paul Durrant <paul.durr...@citrix.com&
needed for dom0 to decide sizing of grant frame
limits of guests and for pv domains for selecting the grant interface
version to use.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
xen/arch/x86/mm.c| 11 +++
xen/common/memory.c | 8
xen/include/asm-arm/mm.
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 <jgr...@suse.com>
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 <jgr...@suse.com>
Reviewed-by: Paul D
the maximum
physical address width. The maximum frame width needs to take memory
hotplug into account.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
xen/arch/x86/traps.c| 4
xen/include/public/arch-x86/cpuid.h | 11 ++-
2 files changed, 14 insertions
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 <jgr...@suse.com>
Reviewed-by: Paul Durrant <paul.durr...@citrix.com>
Acked-by: Wei Liu <wei.
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 <
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 <jgr...@suse.com>
---
V7:
- re-add #include in grant_table.h (Julien Grall)
---
xe
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 <jgr...@suse.com>
---
V6:
- s
Add a domctl hypercall to set the domain's resource limits regarding
grant tables.
Signed-off-by: Juergen Gross <jgr...@suse.com>
Acked-by: Daniel De Graaf <dgde...@tycho.nsa.gov>
---
V6:
- moved earlier in series to support set_gnttab_limits being
mandatory for domain creatio
).
Signed-off-by: Juergen Gross <jgr...@suse.com>
Acked-by: Wei Liu <wei.l...@citrix.com>
---
tools/helpers/init-xenstore-domain.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/tools/helpers/init-xenstore-domain.c
b/tools/helpers/init-xenstore-domain.c
index 8a41ee7d3a
On 18/09/17 13:05, George Dunlap wrote:
> On 09/18/2017 11:46 AM, Roger Pau Monné wrote:
>> On Mon, Sep 18, 2017 at 11:15:03AM +0100, George Dunlap wrote:
>>> On 09/18/2017 10:45 AM, Roger Pau Monné wrote:
On Mon, Sep 18, 2017 at 10:37:58AM +0100, Wei Liu wrote:
> On Mon, Sep 18, 2017 at
> warning: Value stored to 'p' during its initialization is never read
>
> Signed-off-by: Colin Ian King <colin.k...@canonical.com>
With the code style issue pointed out below fixed:
Reviewed-by: Juergen Gross <jgr...@suse.com>
> ---
> arch/x86/include/asm/xen/h
On 15/09/17 15:21, Jan Beulich wrote:
On 15.09.17 at 15:00, wrote:
>> So I've found the data I've searched in the hypervisor. The maximum
>> frame number to expect can be calculated from max_page, mem_hotplug
>> and the maximum physical address from cpuid node 0x8008. If
On 13/09/17 11:23, Juergen Gross wrote:
> On 12/09/17 20:54, Andrew Cooper wrote:
>> On 08/09/17 15:48, Juergen Gross wrote:
>>> static void gnttab_request_version(void)
>>> {
>>> - int rc;
>>> + long rc;
>>> struct gnttab_set_
On 15/09/17 13:19, Wei Liu wrote:
> On Thu, Sep 14, 2017 at 05:18:44PM +0100, Joao Martins wrote:
>> On 09/14/2017 05:10 PM, Wei Liu wrote:
>>> On Thu, Sep 07, 2017 at 05:53:54PM +0100, Joao Martins wrote:
Hey!
We wanted to brought up this small proposal regarding the lack of
On 15/09/17 10:49, Julien Grall wrote:
> Hi Juergen,
>
> On 15/09/2017 08:22, Juergen Gross wrote:
>> On 14/09/17 19:31, Julien Grall wrote:
>>> Hi Juergen,
>>>
>>> On 13/09/17 16:46, Juergen Gross wrote:
>>>> diff --git a/xen/include/
On 14/09/17 19:20, Julien Grall wrote:
> Hi Juergen,
>
> On 13/09/17 16:46, Juergen Gross wrote:
>> diff --git a/xen/common/grant_table.c b/xen/common/grant_table.c
>> index 00ff075bd9..a462ea7905 100644
>> --- a/xen/common/grant_table.c
>> +++ b/xen/common/gra
On 14/09/17 19:31, Julien Grall wrote:
> Hi Juergen,
>
> On 13/09/17 16:46, Juergen Gross wrote:
>> diff --git a/xen/include/xen/grant_table.h
>> b/xen/include/xen/grant_table.h
>> index df11b31264..f3f2fb9ebc 100644
>> --- a/xen/include/xen/grant_table.h
>&
On 14/09/17 18:31, Tycho Andersen wrote:
> Hi Juergen,
>
> On Thu, Sep 14, 2017 at 02:38:58PM +0200, Juergen Gross wrote:
>> xenbus_client.c contains some functions specific for pv guests.
>> Enclose them with #ifdef CONFIG_XEN_PV to avoid compiling them when
>> they
On 14/09/17 16:00, Boris Ostrovsky wrote:
> On 09/14/2017 08:38 AM, Juergen Gross wrote:
>> xenbus_client.c contains some functions specific for pv guests.
>> Enclose them with #ifdef CONFIG_XEN_PV to avoid compiling them when
>> they are not needed (e.g. on ARM).
>>
xenbus_client.c contains some functions specific for pv guests.
Enclose them with #ifdef CONFIG_XEN_PV to avoid compiling them when
they are not needed (e.g. on ARM).
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
drivers/xen/xenbus/xenbus_client.c
On 14/09/17 12:41, Julien Grall wrote:
> Hi,
>
> CC Juergen, Boris and Stefano.
>
> On 08/09/17 18:24, Tycho Andersen wrote:
>> On Fri, Sep 08, 2017 at 12:53:47AM -0700, Christoph Hellwig wrote:
+/*
+ * Lookup the page table entry for a virtual address and return a
pointer to
with, I also realized that there were other issues with
> "dom0_nodes=" and "rmrr=", partly pre-existing, but partly also due to
> those recent changes not having gone far enough.
>
> Signed-off-by: Jan Beulich <jbeul...@suse.com
On 13/09/17 18:20, Boris Ostrovsky wrote:
> On 09/13/2017 10:45 AM, Juergen Gross wrote:
>> On 13/09/17 15:50, Boris Ostrovsky wrote:
>>> On 09/13/2017 09:38 AM, Juergen Gross wrote:
>>>> On 13/09/17 15:22, Boris Ostrovsky wrote:
>>>>> On 09/12/2017 0
On 12/09/17 02:45, anshulmakkar wrote:
> libxc receives scheduler specific configuration parametes from
> libxl.
>
> Signed-off-by: Anshul Makkar
> ---
> tools/libxc/include/xenctrl.h | 6 +-
> tools/libxc/xc_cpupool.c | 4 +++-
>
On 12/09/17 02:45, anshulmakkar wrote:
> Introduces scheduler specific parameter at libxl level which are
> passed on to libxc. eg runqueue for credit2
>
> Signed-off-by: Anshul Makkar
> ---
> tools/libxl/libxl.h | 2 +-
> tools/libxl/libxl_cpupool.c | 15
On 12/09/17 02:45, anshulmakkar wrote:
> Handles extra scheduler configuration paramers received
> at init stage.
>
> Signed-off-by: Anshul Makkar
> ---
> xen/common/cpupool.c| 13 -
> xen/common/sched_arinc653.c | 2 +-
> xen/common/sched_credit.c
On 13/09/17 17:46, Juergen Gross wrote:
> 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. This will allow setting individual limits
> in the future. For no
On 13/09/17 17:46, Juergen Gross wrote:
> 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. Either do it from gnttab_grow_table() or just
> before the domain is started the firs
On 12/09/17 02:45, anshulmakkar wrote:
> Attached patch series introduces the concept of runqueue
> per cpupool.
>
> "runqueue" configuration option can be specified with xl command
> while configuring cpupool. This will define the basis for
> grouping of cpus (cpu, core, socket, all) in that
On 13/09/17 18:01, Paul Durrant wrote:
>> -Original Message-
>> From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of
>> Juergen Gross
>> Sent: 13 September 2017 08:47
>> To: xen-devel@lists.xen.org
>> Cc: Juergen Gross <jgr...@sus
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 <jgr...@suse.
).
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
tools/helpers/init-xenstore-domain.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/tools/helpers/init-xenstore-domain.c
b/tools/helpers/init-xenstore-domain.c
index 8a41ee7d3a..047ad0cb1d 100644
--- a/tools/helpers/init-xe
.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
V6:
- several changes due to new patch order
V3:
- correct error message (Paul Durrant)
---
xen/common/compat/grant_table.c | 31 +++---
xen/common/grant_table.c | 121 --
xen/include/a
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 <jgr...@suse.com>
Reviewed-by: Paul Durrant <paul.durr...@citrix.com>
Acked-by: Wei Liu <wei.
limits
- double default limit for huge hosts
Juergen Gross (12):
xen: correct gnttab_get_status_frames()
xen: move XENMAPSPACE_grant_table code into grant_table.c
xen: clean up grant_table.h
xen: add new domctl hypercall to set grant table resource limits
libxc: add libxc support for setting
Add a domctl hypercall to set the domain's resource limits regarding
grant tables. It is accepted only as long as neither
gnttab_setup_table() has been called for the domain, nor the domain
has started to run.
Signed-off-by: Juergen Gross <jgr...@suse.com>
---
V6:
- moved earlier in
-off-by: Juergen Gross <jgr...@suse.com>
---
docs/man/xl.conf.pod.5 | 12
tools/libxl/libxl.h | 9 -
tools/libxl/libxl_mem.c | 5 +
tools/xl/xl.c | 14 ++
tools/xl/xl.h | 2 ++
5 files changed, 41 insertions(+), 1 deletion(-)
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 <jgr...@suse.com>
Reviewed-by: Paul D
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 <jgr...@suse.com>
---
xen/arch/arm/domain.c | 2 --
xen/common/grant_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 <jgr...@suse.com>
---
V6:
- made set_gnttab_limits hypercall mandatory, taking defaults from
xl.conf
V4:
- rename configuration
201 - 300 of 3633 matches
Mail list logo