Re: [Xen-devel] [Qemu-devel] [PATCH RESEND] xen: limit pkg-config to PKG_CONFIG_PATH for xen libraries

2017-03-26 Thread Juergen Gross
On 24/03/17 20:34, Paul Durrant wrote: >> -Original Message- >> From: Qemu-devel [mailto:qemu-devel- >> bounces+paul.durrant=citrix@nongnu.org] On Behalf Of Paul Durrant >> Sent: 24 March 2017 19:18 >> To: 'Stefano Stabellini' ; Juergen Gros

Re: [Xen-devel] [PATCH RESEND] xen: limit pkg-config to PKG_CONFIG_PATH for xen libraries

2017-03-24 Thread Juergen Gross
ack to > previous methods of probing. > > Signed-off-by: Paul Durrant NAK. You are breaking normal qemu build with installed Xen pkg-config files. Juergen > --- > Cc: Anthony Perard > Cc: Stefano Stabellini > Cc: Juergen Gross > --- > configure | 12 >

Re: [Xen-devel] [PATCH 2/2] configure: use pkg-config for obtaining xen version

2017-03-24 Thread Juergen Gross
On 24/03/17 17:42, Paul Durrant wrote: >> -Original Message- > [snip] That's a change in behaviour that I, and probably others, have long been >> used to. What we really want, presumably, is to have pkg-config just look >> under tools/pkgconfig when querying for the version of xencontr

Re: [Xen-devel] [PATCH 2/2] configure: use pkg-config for obtaining xen version

2017-03-24 Thread Juergen Gross
On 24/03/17 16:51, Juergen Gross wrote: > On 24/03/17 16:44, Paul Durrant wrote: >>> -Original Message- >>> From: Juergen Gross [mailto:jgr...@suse.com] >>> Sent: 24 March 2017 15:35 >>> To: Paul Durrant ; 'Stefano Stabellin

Re: [Xen-devel] [PATCH 2/2] configure: use pkg-config for obtaining xen version

2017-03-24 Thread Juergen Gross
On 24/03/17 16:44, Paul Durrant wrote: >> -Original Message- >> From: Juergen Gross [mailto:jgr...@suse.com] >> Sent: 24 March 2017 15:35 >> To: Paul Durrant ; 'Stefano Stabellini' >> >> Cc: Anthony Perard ; xen- >> de...@lists.xenp

Re: [Xen-devel] [PATCH 2/2] configure: use pkg-config for obtaining xen version

2017-03-24 Thread Juergen Gross
On 24/03/17 16:12, Paul Durrant wrote: >> -Original Message- >> From: Stefano Stabellini [mailto:sstabell...@kernel.org] >> Sent: 22 March 2017 18:22 >> To: Juergen Gross >> Cc: Stefano Stabellini ; qemu-de...@nongnu.org; >> xen-de...@lists.xen

[Xen-devel] [GIT PULL] xen: fix for 4.11 rc4

2017-03-24 Thread Juergen Gross
Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-4.11b-rc4-tag xen: fix for 4.11 rc4 It contains a fix for PM under Xen. Thanks. Juergen drivers/xen/xen-acpi-processor.c | 36 +++- 1 file changed,

Re: [Xen-devel] [PATCH v3 2/3] xen/x86: use trampoline e820 buffer for BIOS interface only

2017-03-24 Thread Juergen Gross
es than the limited trampoline >> located buffer can. >> >> Add a new raw e820 table for common purpose and copy the BIOS buffer >> to it. Doing the copying in assembly avoids the need to export the >> symbols for the BIOS E820 buffer and number of entries. >> >>

Re: [Xen-devel] [GSoC] GSoC Introduction : Fuzzing Xen hypercall interface

2017-03-24 Thread Juergen Gross
u've sent is fine for both. > I added Juergen Gross in the recipients for this. I'd still be prefer > the fuzzing project in case I can figure out a useful proposal, but the > idea for the floating point project seems much clearer, so I figured to > have something along the fo

[Xen-devel] [PATCH] xen/x86: use 64 bit mask when masking away mfn bits

2017-03-24 Thread Juergen Gross
more than 16 TB of memory. Signed-off-by: Juergen Gross --- This patch should be considered for backporting. Signed-off-by: Juergen Gross --- xen/arch/x86/mm/p2m-pt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/mm/p2m-pt.c b/xen/arch/x86/mm/p2m-pt.c index

Re: [Xen-devel] [PATCH v2 5/9] x86/pagewalk: Helpers for reserved bit handling

2017-03-24 Thread Juergen Gross
On 24/03/17 08:51, Jan Beulich wrote: On 24.03.17 at 06:45, wrote: >> On 23/03/17 18:35, Andrew Cooper wrote: >>> Would you prefer ~((uint64_t)_PAGE_PSE_PAT | (_PAGE_PSE_PAT - 1)) or >>> ~(_PAGE_PSE_PAT | (_PAGE_PSE_PAT - 1) | 0ULL) >> >> Wouldn't it be better to just define the _PAGE_PSE bit

[Xen-devel] [PATCH v3 3/3] xen/x86: support larger memory map from EFI

2017-03-24 Thread Juergen Gross
Use a larger e820 map buffer for non-BIOS memory map sources. This requires to have different defines for the maximum number of E820 map entries for the raw BIOS buffer and the later used struct e820map. Signed-off-by: Juergen Gross Reviewed-by: Jan Beulich --- V2: - define E820_BIOS_MAX in

[Xen-devel] [PATCH v3 1/3] xen/x86: split boot trampoline into permanent and temporary part

2017-03-24 Thread Juergen Gross
igned-off-by: Juergen Gross --- V3: - drop trampoline_boot_start label, use wakeup_stack instead (Jan Beulich) V2: - don't reserve space for the wakeup stack, just use the rest of the permanent trampoline page (Jan Beulich) - add an build time assertion for wakeup stack size (J

[Xen-devel] [PATCH v3 2/3] xen/x86: use trampoline e820 buffer for BIOS interface only

2017-03-24 Thread Juergen Gross
to it. Doing the copying in assembly avoids the need to export the symbols for the BIOS E820 buffer and number of entries. Signed-off-by: Juergen Gross --- V3: - rework of e820map_copy (Jan Beulich) - again ARRAY_SIZE() (Jan Beulich) V2: - move copying the BIOS E820 table to the common one into

[Xen-devel] [PATCH v3 0/3] xen: support of large memory maps

2017-03-24 Thread Juergen Gross
;s multiboot2 series. Tested and verified the Xen-e820 has been used in the test. Suspend and resume have been verified to work, too. Juergen Gross (3): xen/x86: split boot trampoline into permanent and temporary part xen/x86: use trampoline e820 buffer for BIOS interface only xen/x86: support

Re: [Xen-devel] [PATCH v4 1/8] xen: import ring.h from xen

2017-03-23 Thread Juergen Gross
On 23/03/17 19:22, Stefano Stabellini wrote: > On Thu, 23 Mar 2017, Paolo Bonzini wrote: >> On 23/03/2017 14:55, Juergen Gross wrote: >>> On 23/03/17 14:00, Greg Kurz wrote: >>>> On Mon, 20 Mar 2017 11:19:05 -0700 >>>> Stefano Stabellini wrote: >>&g

Re: [Xen-devel] [PATCH v2 5/9] x86/pagewalk: Helpers for reserved bit handling

2017-03-23 Thread Juergen Gross
On 23/03/17 18:35, Andrew Cooper wrote: > On 23/03/17 17:12, Tim Deegan wrote: >> At 17:02 + on 23 Mar (1490288548), Andrew Cooper wrote: >>> On 23/03/17 16:55, Tim Deegan wrote: At 16:31 + on 16 Mar (1489681899), Andrew Cooper wrote: > Some bits are unconditionally reserved in pag

Re: [Xen-devel] [PATCH v2 1/3] xen/x86: split boot trampoline into permanent and temporary part

2017-03-23 Thread Juergen Gross
On 23/03/17 17:54, Jan Beulich wrote: On 23.03.17 at 17:44, wrote: >> On 23/03/17 16:04, Jan Beulich wrote: >> On 23.03.17 at 07:25, wrote: --- a/xen/arch/x86/xen.lds.S +++ b/xen/arch/x86/xen.lds.S @@ -335,3 +335,5 @@ ASSERT(IS_ALIGNED(__bss_end,8), "__bss_end >>>

Re: [Xen-devel] [PATCH v2 2/3] xen/x86: use trampoline e820 buffer for BIOS interface only

2017-03-23 Thread Juergen Gross
On 23/03/17 16:35, Jan Beulich wrote: On 23.03.17 at 07:25, wrote: >> --- a/xen/arch/x86/boot/mem.S >> +++ b/xen/arch/x86/boot/mem.S >> @@ -67,10 +67,32 @@ get_memory_map: >> >> ret >> >> +/* >> + * Copy E820 map obtained from BIOS to a buffer allocated by Xen. >> + * Input: %rdi

Re: [Xen-devel] [PATCH v2 1/3] xen/x86: split boot trampoline into permanent and temporary part

2017-03-23 Thread Juergen Gross
On 23/03/17 16:04, Jan Beulich wrote: On 23.03.17 at 07:25, wrote: >> @@ -131,6 +151,14 @@ start64: >> movabs $__high_start,%rax >> jmpq*%rax >> >> +#include "wakeup.S" >> + >> +/* The first page of trampoline is permanent, the rest boot-time only. */ >> +.equ

Re: [Xen-devel] [PATCH 0/2] libxl: add PV display device driver interface

2017-03-23 Thread Juergen Gross
gt; { > return libxl__device_list(&libxl__vtpm_devtype, ctx, domid, num); > } > > DEFINE_DEVICE_TYPE_STRUCT(vtpm, > .update_config = libxl_device_vtpm_update_config > .get_params = libxl_device_vtpm_get_params > ); > > Correct? Right. Possibly using the same trick as ab

Re: [Xen-devel] [PATCH] xen, fbfront: fix connecting to backend

2017-03-23 Thread Juergen Gross
On 23/03/17 14:37, Jan Beulich wrote: On 23.03.17 at 13:52, wrote: >> Connecting to the backend isn't working reliably in xen-fbfront: in >> case XenbusStateInitWait of the backend has been missed the backend >> transition to XenbusStateConnected will trigger the connected state >> only witho

[Xen-devel] [PATCH] xen, fbfront: add support for specifying size via xenstore

2017-03-23 Thread Juergen Gross
size. Signed-off-by: Juergen Gross --- drivers/video/fbdev/xen-fbfront.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/video/fbdev/xen-fbfront.c b/drivers/video/fbdev/xen-fbfront.c index 3ee309c..46f6396 100644 --- a/drivers/video/fbdev/xen-fbfront.c +++ b/drivers/video/

[Xen-devel] [PATCH] xen, fbfront: fix connecting to backend

2017-03-23 Thread Juergen Gross
: sta...@vger.kernel.org Signed-off-by: Juergen Gross --- drivers/video/fbdev/xen-fbfront.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/fbdev/xen-fbfront.c b/drivers/video/fbdev/xen-fbfront.c index d0115a7..3ee309c 100644 --- a/drivers/video/fbdev/xen-fbfront.c

Re: [Xen-devel] [PATCH 0/2] libxl: add PV display device driver interface

2017-03-23 Thread Juergen Gross
< nr; i++) dt->dispose(list + i * dt->dev_elem_size); free(list); } BTW: exactly this pattern is to be found at the very end of libxl_retrieve_domain_configuration(). The others should be doable, too. Juergen > > 2017-03-23 12:21 GMT+02:00 Juergen Gross : >> On

Re: [Xen-devel] [PATCH 0/2] libxl: add PV display device driver interface

2017-03-23 Thread Juergen Gross
On 23/03/17 11:10, Oleksandr Grytsov wrote: > From: Oleksandr Grytsov > > Hi all, > > We are working on series of PV drivers (display, sound, input etc.) and > would like to add their support to libxl and xl. These patches add PV display > device. PV display is based on [1] protocol. > > Durin

Re: [Xen-devel] maybe revert commit c275a57f5ec3 "xen/balloon: Set balloon's initial state to number of existing RAM pages"

2017-03-23 Thread Juergen Gross
On 23/03/17 03:13, Boris Ostrovsky wrote: > > > On 03/22/2017 05:16 PM, Dan Streetman wrote: >> I have a question about a problem introduced by this commit: >> c275a57f5ec3056f732843b11659d892235faff7 >> "xen/balloon: Set balloon's initial state to number of existing RAM >> pages" >> >> It change

[Xen-devel] [PATCH v2 0/3] xen: support of large memory maps

2017-03-22 Thread Juergen Gross
;s multiboot2 series. Juergen Gross (3): xen/x86: split boot trampoline into permanent and temporary part xen/x86: use trampoline e820 buffer for BIOS interface only xen/x86: support larger memory map from EFI xen/arch/x86/boot/mem.S| 32 - xen/arch/x86/boot

[Xen-devel] [PATCH v2 3/3] xen/x86: support larger memory map from EFI

2017-03-22 Thread Juergen Gross
Use a larger e820 map buffer for non-BIOS memory map sources. This requires to have different defines for the maximum number of E820 map entries for the raw BIOS buffer and the later used struct e820map. Signed-off-by: Juergen Gross --- V2: - define E820_BIOS_MAX in assembly code only (Jan

[Xen-devel] [PATCH v2 1/3] xen/x86: split boot trampoline into permanent and temporary part

2017-03-22 Thread Juergen Gross
igned-off-by: Juergen Gross --- V2: - don't reserve space for the wakeup stack, just use the rest of the permanent trampoline page (Jan Beulich) - add an build time assertion for wakeup stack size (Jan Beulich) - some minor fixes (Jan Beulich) --- xen/arch/x86/boot/trampol

[Xen-devel] [PATCH v2 2/3] xen/x86: use trampoline e820 buffer for BIOS interface only

2017-03-22 Thread Juergen Gross
to it. Doing the copying in assembly avoids the need to export the symbols for the BIOS E820 buffer and number of entries. Signed-off-by: Juergen Gross --- V2: - move copying the BIOS E820 table to the common one into assembly code avoiding the need to expose the BIOS table to C code

Re: [Xen-devel] [PATCH v6 5/7] xen/9pfs: send requests to the backend

2017-03-22 Thread Juergen Gross
t_queue: the backend will send a notification > after consuming more requests. > > Signed-off-by: Stefano Stabellini > Reviewed-by: Boris Ostrovsky > CC: gr...@kaod.org > CC: jgr...@suse.com > CC: Eric Van Hensbergen > CC: Ron Minnich > CC: Latchesar Ionkov > CC: v9

Re: [Xen-devel] [PATCH v6 4/7] xen/9pfs: connect to the backend

2017-03-22 Thread Juergen Gross
Eric Van Hensbergen > CC: Ron Minnich > CC: Latchesar Ionkov > CC: v9fs-develo...@lists.sourceforge.net Reviewed-by: Juergen Gross Juergen ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH 2/3] xen/x86: use trampoline e820 buffer for BIOS interface only

2017-03-22 Thread Juergen Gross
On 22/03/17 16:23, Jan Beulich wrote: On 22.03.17 at 16:01, wrote: >> On 22/03/17 14:12, Jan Beulich wrote: >> On 21.03.17 at 14:10, wrote: @@ -194,10 +194,10 @@ static void __init efi_arch_process_memory_map(EFI_SYSTEM_TABLE *SystemTable, type = E820_NVS; >>

Re: [Xen-devel] [PATCH 0/3] xen: support of large memory maps

2017-03-22 Thread Juergen Gross
On 22/03/17 16:17, Alex Thorlton wrote: > On Tue, Mar 21, 2017 at 02:10:20PM +0100, Juergen Gross wrote: >> This patch series is the first part for adding support of large EFI >> memory maps (> the current limit of 128 entries) while reducing >> trampoline size. >>

Re: [Xen-devel] [PATCH 3/3] xen/x86: support larger memory map from EFI

2017-03-22 Thread Juergen Gross
On 22/03/17 14:19, Jan Beulich wrote: On 21.03.17 at 14:10, wrote: >> Use a larger e820 map buffer for non-BIOS memory map sources. This >> requires to have different defines for the maximum number of E820 map >> entries for the raw BIOS buffer and the later used struct e820map. >> >> While a

Re: [Xen-devel] [PATCH 2/3] xen/x86: use trampoline e820 buffer for BIOS interface only

2017-03-22 Thread Juergen Gross
On 22/03/17 14:12, Jan Beulich wrote: On 21.03.17 at 14:10, wrote: >> @@ -133,7 +134,8 @@ static struct change_member *change_point[2*E820MAX] >> __initdata; >> static struct e820entry *overlap_list[E820MAX] __initdata; >> static struct e820entry new_bios[E820MAX] __initdata; >> >> -stat

Re: [Xen-devel] [PATCH 1/3] xen/x86: split boot trampoline into permanent and temporary part

2017-03-22 Thread Juergen Gross
On 22/03/17 12:33, Jan Beulich wrote: On 21.03.17 at 14:10, wrote: >> The hypervisor needs a trampoline in low memory for early boot and >> later for bringing up cpus and during wakeup from suspend. Today this >> trampoline is kept completely even if most of it isn't needed later. >> >> Split

Re: [Xen-devel] [PATCH 2/2] configure: use pkg-config for obtaining xen version

2017-03-21 Thread Juergen Gross
On 21/03/17 19:54, Stefano Stabellini wrote: > On Tue, 21 Mar 2017, Juergen Gross wrote: >> On 17/03/17 19:33, Stefano Stabellini wrote: >>> On Fri, 17 Mar 2017, Juergen Gross wrote: >>>> On 16/03/17 21:20, Stefano Stabellini wrote: >>>>> On Thu, 16 Mar

Re: [Xen-devel] [PATCH 1/2] xenstore: set correct error code when violating quota

2017-03-21 Thread Juergen Gross
On 21/03/17 18:16, Wei Liu wrote: > On Tue, Mar 21, 2017 at 05:14:47PM +, Wei Liu wrote: >> On Mon, Mar 20, 2017 at 09:00:20AM +0100, Juergen Gross wrote: >>> When the number of permitted xenstore entries for a domain is being >>> exceeded the operation trying to c

[Xen-devel] [PATCH 1/2] xen, input: add xen-kbdfront module parameter for setting resolution

2017-03-21 Thread Juergen Gross
Add a parameter for setting the resolution of xen-kbdfront in order to be able to cope with a (virtual) frame buffer of arbitrary resolution. Signed-off-by: Juergen Gross --- drivers/input/misc/xen-kbdfront.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers

[Xen-devel] [PATCH 0/2] xen, input: xen-kbdfront pointing device resolution support

2017-03-21 Thread Juergen Gross
y Xen tools. Juergen Gross (2): xen,input: add xen-kbdfront module parameter for setting resolution xen,input: repair xen-kbdfront resolution setting via xenstore drivers/input/misc/xen-kbdfront.c | 42 ++- 1 file changed, 28 insertions(+), 14 dele

[Xen-devel] [PATCH 2/2] xen, input: repair xen-kbdfront resolution setting via xenstore

2017-03-21 Thread Juergen Gross
Setting the pointing device resolution via Xenstore isn't working reliably: in case XenbusStateInitWait has been missed the resolution settings won't be read. Correct this. Cc: sta...@vger.kernel.org Signed-off-by: Juergen Gross --- drivers/input/misc/xen-kbdfr

[Xen-devel] [PATCH 1/3] xen/x86: split boot trampoline into permanent and temporary part

2017-03-21 Thread Juergen Gross
only. Introduce a new entry at the boundary. Reduce the stack for wakeup coding in order for the permanent trampoline to fit in a single page. 4k of stack seems excessive, about 3.5k should be more than enough. Signed-off-by: Juergen Gross --- xen/arch/x86/boot/head.S | 2 ++ xen/arch/x86

[Xen-devel] [PATCH 3/3] xen/x86: support larger memory map from EFI

2017-03-21 Thread Juergen Gross
places. Signed-off-by: Juergen Gross --- xen/arch/x86/boot/mem.S| 7 --- xen/arch/x86/setup.c | 2 +- xen/include/asm-x86/e820.h | 7 ++- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/xen/arch/x86/boot/mem.S b/xen/arch/x86/boot/mem.S index 602ab2c..17db546 100644

[Xen-devel] [PATCH 2/3] xen/x86: use trampoline e820 buffer for BIOS interface only

2017-03-21 Thread Juergen Gross
to it. Signed-off-by: Juergen Gross --- xen/arch/x86/e820.c | 22 +++--- xen/arch/x86/efi/efi-boot.h | 10 +- xen/arch/x86/setup.c| 45 - xen/include/asm-x86/e820.h | 7 --- 4 files changed, 44 insertions

[Xen-devel] [PATCH 0/3] xen: support of large memory maps

2017-03-21 Thread Juergen Gross
;s multiboot2 series. Juergen Gross (3): xen/x86: split boot trampoline into permanent and temporary part xen/x86: use trampoline e820 buffer for BIOS interface only xen/x86: support larger memory map from EFI xen/arch/x86/boot/head.S | 2 ++ xen/arch/x86/boot/mem.S| 7 ---

Re: [Xen-devel] Supporting systems with large E820 maps

2017-03-21 Thread Juergen Gross
On 21/03/17 11:05, Jan Beulich wrote: On 21.03.17 at 06:14, wrote: >> On 20/03/17 20:03, Alex Thorlton wrote: >>> Hey everyone, >>> >>> Recently, I've been working with Boris Ostrovsky to get Xen running on >>> some of our larger systems, and we've run into a few problems with the >>> amount

Re: [Xen-devel] [PATCH v5 6/7] xen/9pfs: receive responses

2017-03-21 Thread Juergen Gross
CC: Latchesar Ionkov > CC: v9fs-develo...@lists.sourceforge.net Reviewed-by: Juergen Gross Juergen ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v5 5/7] xen/9pfs: send requests to the backend

2017-03-21 Thread Juergen Gross
On 20/03/17 18:59, Stefano Stabellini wrote: > Implement struct p9_trans_module create and close functions by looking > at the available Xen 9pfs frontend-backend connections. We don't expect > many frontend-backend connections, thus walking a list is OK. > > Send requests to the backend by copyin

Re: [Xen-devel] [PATCH v5 4/7] xen/9pfs: connect to the backend

2017-03-21 Thread Juergen Gross
On 20/03/17 18:59, Stefano Stabellini wrote: > Implement functions to handle the xenbus handshake. Upon connection, > allocate the rings according to the protocol specification. > > Initialize a work_struct and a wait_queue. The work_struct will be used > to schedule work upon receiving an event c

Re: [Xen-devel] [PATCH v5 3/7] xen/9pfs: introduce Xen 9pfs transport driver

2017-03-21 Thread Juergen Gross
y: Stefano Stabellini > Reviewed-by: Boris Ostrovsky > CC: gr...@kaod.org > CC: jgr...@suse.com > CC: Eric Van Hensbergen > CC: Ron Minnich > CC: Latchesar Ionkov > CC: v9fs-develo...@lists.sourceforge.net Reviewed-by: Juergen Gross Juergen

Re: [Xen-devel] Backport request

2017-03-21 Thread Juergen Gross
On 01/03/17 13:31, Juergen Gross wrote: > I'd like to request backport of upstream commit bc6a499ebcf1 > ("libxl: correct xenstore entry for empty cdrom") to at least > 4.8 and 4.7. > > As libxl sources have been split in 4.9 the patch doesn't apply. > Att

Re: [Xen-devel] [PATCH 2/2] configure: use pkg-config for obtaining xen version

2017-03-20 Thread Juergen Gross
On 17/03/17 19:33, Stefano Stabellini wrote: > On Fri, 17 Mar 2017, Juergen Gross wrote: >> On 16/03/17 21:20, Stefano Stabellini wrote: >>> On Thu, 16 Mar 2017, Juergen Gross wrote: >>>> Instead of trying to guess the Xen version to use by compiling various >>

Re: [Xen-devel] Supporting systems with large E820 maps

2017-03-20 Thread Juergen Gross
On 20/03/17 20:03, Alex Thorlton wrote: > Hey everyone, > > Recently, I've been working with Boris Ostrovsky to get Xen running on > some of our larger systems, and we've run into a few problems with the > amount of space that Xen sets aside for the E820 map. > > The first problem that I hit was

[Xen-devel] [PATCH 1/2] xenstore: set correct error code when violating quota

2017-03-20 Thread Juergen Gross
When the number of permitted xenstore entries for a domain is being exceeded the operation trying to create a new entry is denied. Unfortunately errno isn't being set in this case so the error code returned to the client is undefined. Set errno to ENOSPC in this case. Signed-off-by: Ju

[Xen-devel] [PATCH 0/2] xensore: fixing two bugs

2017-03-20 Thread Juergen Gross
Two small patches to fix bugs: one error path correction (setting correct error code for caller) and add some missing checks for allocation failures. Juergen Gross (2): xenstore: set correct error code when violating quota xenstore: add missing checks for allocation failure tools/xenstore

[Xen-devel] [PATCH 2/2] xenstore: add missing checks for allocation failure

2017-03-20 Thread Juergen Gross
Add a missing allocation failure checks. Signed-off-by: Juergen Gross --- tools/xenstore/xenstored_core.c | 12 1 file changed, 12 insertions(+) diff --git a/tools/xenstore/xenstored_core.c b/tools/xenstore/xenstored_core.c index ed80345..fe11ff2 100644 --- a/tools/xenstore

Re: [Xen-devel] [PATCH v2 1/2] xen: sched: don't call hooks of the wrong scheduler via VCPU2OP

2017-03-17 Thread Juergen Gross
e scheduler of the pCPU > they (always) run on. > > While there, rename VCPU2OP itself to something > that makes it easier to understand what it does. > > Signed-off-by: Dario Faggioli Reviewed-by: Juergen Gross Juergen ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v2 1/2] xen: sched: don't call hooks of the wrong scheduler via VCPU2OP

2017-03-17 Thread Juergen Gross
e scheduler of the pCPU > they (always) run on. > > While there, rename VCPU2OP itself to something > that makes it easier to understand what it does. > > Signed-off-by: Dario Faggioli Reviewed-by: Juergen Gross Juergen ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] reboot dom0 without vps downtime

2017-03-17 Thread Juergen Gross
On 17/03/17 09:49, Vasiliy Tolstov wrote: > 2017-03-17 11:47 GMT+03:00 Juergen Gross : >> (Dropping xen-users) >> >> I have plans for the future, but I'm not sure when I'll have enough >> time for it. >> >> Any help on this topic is welcome,

Re: [Xen-devel] reboot dom0 without vps downtime

2017-03-17 Thread Juergen Gross
On 17/03/17 09:23, Vasiliy Tolstov wrote: > 2017-03-17 11:21 GMT+03:00 Juergen Gross : >> Not yet. > > > Does this planned or how can i do that if i can write some code ? =) (Dropping xen-users) I have plans for the future, but I'm not sure when I'll have enough ti

Re: [Xen-devel] reboot dom0 without vps downtime

2017-03-17 Thread Juergen Gross
On 17/03/17 08:09, Vasiliy Tolstov wrote: > Hi. I'm not using xen for past 4 years (switched to kvm) but now i'm > interesting - does it possible to reboot (for update) dom0 ? > As i know, xen stubdoms can dedicate network, disk and xenstored to > external domains. Does it possible to reboot dom0 ?

[Xen-devel] [GIT PULL] xen: fix for 4.11 rc3

2017-03-16 Thread Juergen Gross
Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-4.11b-rc3-tag xen: fix for 4.11 rc3 It contains a minor fix for using the appropriate refcount_t instead of atomic_t. Thanks. Juergen drivers/xen/gntdev.c | 11 ++- 1 file

Re: [Xen-devel] [PATCH] xen: sched: don't call hooks of the wrong scheduler via VCPU2OP

2017-03-16 Thread Juergen Gross
velopping, I hit the following assert (in > sched_credit2.c, on a CPU inside a cpupool that > does not use Credit2): > > csched2_context_saved() > { > ... > ASSERT(!vcpu_on_runq(svc)); > ... > } > > Fix this by taking care, in VCPU2OP, of the case > when the vcpu is an idle o

Re: [Xen-devel] [PATCH v3 4/7] xen/9pfs: connect to the backend

2017-03-16 Thread Juergen Gross
On 16/03/17 19:03, Stefano Stabellini wrote: > On Thu, 16 Mar 2017, Juergen Gross wrote: >> On 15/03/17 19:44, Stefano Stabellini wrote: >>> On Wed, 15 Mar 2017, Juergen Gross wrote: >>>> On 14/03/17 22:22, Stefano Stabellini wrote: >>>>> Hi

Re: [Xen-devel] [PATCH 2/2] configure: use pkg-config for obtaining xen version

2017-03-16 Thread Juergen Gross
On 16/03/17 21:20, Stefano Stabellini wrote: > On Thu, 16 Mar 2017, Juergen Gross wrote: >> Instead of trying to guess the Xen version to use by compiling various >> test programs first just ask the system via pkg-config. Only if it >> can't return the version fall back

[Xen-devel] [PATCH 1/2] xen: use 5 digit xen versions

2017-03-16 Thread Juergen Gross
Today qemu is using e.g. the value 480 for Xen version 4.8.0. As some Xen version tests are using ">" relations this scheme will lead to problems when Xen version 4.10.0 is being reached. Instead of the 3 digit schem use a 5 digit scheme (e.g. 40800 for version 4.8.0). Signed-of

[Xen-devel] [PATCH 0/2] xen: use pkg-config for configure

2017-03-16 Thread Juergen Gross
This small patch set is to be applied on top of Paul's series for support of libxendevicemodel, or (maybe even better) it should be merged into this series. Juergen Gross (2): xen: use 5 digit xen versions configure: use pkg-config for obtaining xen version configure

[Xen-devel] [PATCH 2/2] configure: use pkg-config for obtaining xen version

2017-03-16 Thread Juergen Gross
Instead of trying to guess the Xen version to use by compiling various test programs first just ask the system via pkg-config. Only if it can't return the version fall back to the test program scheme. Signed-off-by: Juergen Gross --- configure | 31 +++ 1

Re: [Xen-devel] [PATCH v4 4/7] xen/9pfs: connect to the backend

2017-03-15 Thread Juergen Gross
On 15/03/17 20:23, Stefano Stabellini wrote: > Implement functions to handle the xenbus handshake. Upon connection, > allocate the rings according to the protocol specification. > > Initialize a work_struct and a wait_queue. The work_struct will be used > to schedule work upon receiving an event c

Re: [Xen-devel] [PATCH v4 0/7] Xen transport for 9pfs frontend driver

2017-03-15 Thread Juergen Gross
On 15/03/17 20:23, Stefano Stabellini wrote: > Hi all, > > This patch series implements a new transport for 9pfs, aimed at Xen > systems. > > The transport is based on a traditional Xen frontend and backend drivers > pair. This patch series implements the frontend, which typically runs in > a reg

Re: [Xen-devel] [PATCH v3 4/7] xen/9pfs: connect to the backend

2017-03-15 Thread Juergen Gross
On 15/03/17 19:44, Stefano Stabellini wrote: > On Wed, 15 Mar 2017, Juergen Gross wrote: >> On 14/03/17 22:22, Stefano Stabellini wrote: >>> Hi Juergen, >>> >>> thank you for the review! >>> >>> On Tue, 14 Mar 2017, Juergen Gross w

Re: [Xen-devel] [Xen-users] "Hello Xen Project" Book.

2017-03-15 Thread Juergen Gross
On 15/03/17 19:05, Mohsen wrote: > Thank you so much Lars. > I used LibreOffice and I will test HTML format and inform you. You are aware of the MediaWiki export function of LibreOffice? Juergen ___ Xen-devel mailing list Xen-devel@lists.xen.org https

Re: [Xen-devel] PV performance degraded after live migration

2017-03-15 Thread Juergen Gross
On 15/03/17 16:43, Boris Ostrovsky wrote: > On 03/15/2017 11:26 AM, Andrew Cooper wrote: >> On 15/03/17 15:23, Olaf Hering wrote: >>> On Wed, Mar 15, Olaf Hering wrote: >>> On Wed, Mar 15, Andrew Cooper wrote: > As a crazy idea, doest this help? > tsc->incarnation = 0 >>> This does ind

Re: [Xen-devel] PV performance degraded after live migration

2017-03-15 Thread Juergen Gross
On 15/03/17 16:26, Andrew Cooper wrote: > On 15/03/17 15:23, Olaf Hering wrote: >> On Wed, Mar 15, Olaf Hering wrote: >> >>> On Wed, Mar 15, Andrew Cooper wrote: As a crazy idea, doest this help? tsc->incarnation = 0 >> This does indeed help. One system shows now the results below, which

Re: [Xen-devel] [PATCH v2 08/17] tools: provide pkg-config file for libxengnttab

2017-03-15 Thread Juergen Gross
On 15/03/17 11:17, Wei Liu wrote: > On Tue, Mar 14, 2017 at 08:06:51PM +, Andrew Cooper wrote: >> On 14/03/17 13:31, Juergen Gross wrote: >>> In order to be able to use pkg-config for obtaining linker- and >>> compiler-flags provide a xengnttab.pc and a xengntshr.pc

Re: [Xen-devel] [PATCH v3 00/21] x86/xen: untangle PV and PVHVM guest support code

2017-03-15 Thread Juergen Gross
On 14/03/17 18:35, Vitaly Kuznetsov wrote: > Changes since v2: > - Rebase to 4.11.0-rc1+ > - XEN_HAVE_PVMMU moved to config XEN_PV [Juergen Gross] > - .pin_vcpu kept for x86_hyper_xen_hvm to support PVH Dom0 in future > [Juergen Gross] > - 'extern' qualifiers d

Re: [Xen-devel] [PATCH v3 01/21] x86/xen: separate PV and HVM hypervisors

2017-03-15 Thread Juergen Gross
can be dropped. > > Signed-off-by: Vitaly Kuznetsov > --- > Changes since v2: >.pin_vcpu kept for x86_hyper_xen_hvm to support PVH Dom0 in future >[Juergen Gross] > --- Reviewed-by: Juergen Gross Juergen ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v3 03/21] x86/xen: add CONFIG_XEN_PV to Kconfig

2017-03-15 Thread Juergen Gross
On 14/03/17 18:35, Vitaly Kuznetsov wrote: > All code to support Xen PV will get under this new option. For the > beginning, check for it in the common code. > > Signed-off-by: Vitaly Kuznetsov > --- > Changes since v2: >select XEN_HAVE_PVMMU moved to config

[Xen-devel] [PATCH] tools: remove gntshr support

2017-03-15 Thread Juergen Gross
libgnttab contains the complete gntshr support, but the tools build infrastructure contains dedicated support for gntshr _and_ gnttab. Remove the gntshr specific flags and switch their users to gnttab instead. Signed-off-by: Juergen Gross --- .gitignore| 1 - tools

Re: [Xen-devel] [PATCH v2 08/17] tools: provide pkg-config file for libxengnttab

2017-03-14 Thread Juergen Gross
On 14/03/17 21:06, Andrew Cooper wrote: > On 14/03/17 13:31, Juergen Gross wrote: >> In order to be able to use pkg-config for obtaining linker- and >> compiler-flags provide a xengnttab.pc and a xengntshr.pc file. >> >> Signed-off-by: Juergen Gross >> Acked-by: W

Re: [Xen-devel] [PATCH v3 4/7] xen/9pfs: connect to the backend

2017-03-14 Thread Juergen Gross
On 14/03/17 22:22, Stefano Stabellini wrote: > Hi Juergen, > > thank you for the review! > > On Tue, 14 Mar 2017, Juergen Gross wrote: >> On 14/03/17 00:50, Stefano Stabellini wrote: >>> Implement functions to handle the xenbus handshake. Upon connection, >>&

[Xen-devel] [PATCH] tools/libxl: correct distclean target

2017-03-14 Thread Juergen Gross
Commit 3e5f1a63b53920763 ("tools: adapt xenlight.pc and xlutil.pc to new pkg-config scheme") introduced an error for "make distclean" as *.pc.in are deleted which are now files in git. Signed-off-by: Juergen Gross --- tools/libxl/Makefile | 1 - 1 file changed, 1 deletion(-)

[Xen-devel] [PATCH] tools: correct build in directory below tools

2017-03-14 Thread Juergen Gross
Recent changes to create *.pc files introduced a bug when trying to build a library from a directory below tools as PKG_CONFIG_DIR wouldn't be set. Correct this by adding a default value to Rules.mk. Signed-off-by: Juergen Gross --- tools/Rules.mk | 2 ++ 1 file changed, 2 insertions(+)

[Xen-devel] [PATCH v2 14/17] tools: provide pkg-config file for libxenstat

2017-03-14 Thread Juergen Gross
In order to be able to use pkg-config for obtaining linker- and compiler-flags provide a xenstat.pc file. Signed-off-by: Juergen Gross Acked-by: Wei Liu --- .gitignore | 1 + tools/xenstat/libxenstat/Makefile | 20 +++- tools/xenstat/libxenstat

[Xen-devel] [PATCH v2 04/17] tools: install PKG_INSTALLDIR in tools/Makefile

2017-03-14 Thread Juergen Gross
Instead of installing $(PKG_INSTALLDIR) in multiple Makefiles below tools, do so in tools/Makefile. Signed-off-by: Juergen Gross --- tools/Makefile | 5 - tools/libxc/Makefile | 1 - tools/libxl/Makefile | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tools

[Xen-devel] [PATCH v2 17/17] tools: adapt xenlight.pc and xlutil.pc to new pkg-config scheme

2017-03-14 Thread Juergen Gross
Instead of generating the *.pc.in files at configure time use the new pkg-config scheme for those files. Add the dependencies to other Xen libraries as needed. Signed-off-by: Juergen Gross Acked-by: Wei Liu --- .gitignore| 1 - tools/configure | 4

[Xen-devel] [PATCH v2 06/17] tools: provide pkg-config file for libxentoollog

2017-03-14 Thread Juergen Gross
In order to be able to use pkg-config for obtaining linker- and compiler-flags provide a xentoollog.pc file. Signed-off-by: Juergen Gross Acked-by: Wei Liu --- .gitignore | 1 + tools/libs/toollog/Makefile | 20 +++- tools/libs/toollog

[Xen-devel] [PATCH v2 13/17] tools: provide pkg-config file for libxenstore

2017-03-14 Thread Juergen Gross
In order to be able to use pkg-config for obtaining linker- and compiler-flags provide a xenstore.pc file. Signed-off-by: Juergen Gross Acked-by: Wei Liu --- .gitignore| 1 + tools/xenstore/Makefile | 21 + tools/xenstore/xenstore.pc.in | 10

[Xen-devel] [PATCH v2 16/17] tools: provide pkg-config file for libxenblktapctl

2017-03-14 Thread Juergen Gross
In order to be able to use pkg-config for obtaining linker- and compiler-flags provide a xenblktapctl.pc file. Signed-off-by: Juergen Gross Acked-by: Wei Liu --- .gitignore | 1 + tools/blktap2/control/Makefile | 23 +-- tools

[Xen-devel] [PATCH v2 07/17] tools: provide pkg-config file for libxenevtchn

2017-03-14 Thread Juergen Gross
In order to be able to use pkg-config for obtaining linker- and compiler-flags provide a xenevtchn.pc file. Signed-off-by: Juergen Gross Acked-by: Wei Liu --- .gitignore| 1 + tools/libs/evtchn/Makefile| 21 - tools/libs/evtchn

[Xen-devel] [PATCH v2 15/17] tools: provide pkg-config file for libxenvchan

2017-03-14 Thread Juergen Gross
In order to be able to use pkg-config for obtaining linker- and compiler-flags provide a xenvchan.pc file. Signed-off-by: Juergen Gross Acked-by: Wei Liu --- .gitignore| 1 + tools/libvchan/Makefile | 21 - tools/libvchan/xenvchan.pc.in | 10

[Xen-devel] [PATCH v2 12/17] tools: provide pkg-config file for libxenguest, update the one for libxenctrl

2017-03-14 Thread Juergen Gross
In order to be able to use pkg-config for obtaining linker- and compiler-flags provide a xenguest.pc file. Update the xencontrol.pc file to reflect the dependencies of libxenctrl. Signed-off-by: Juergen Gross Acked-by: Wei Liu --- tools/libxc/Makefile | 6 -- tools/libxc

[Xen-devel] [PATCH v2 03/17] tools, stubdom: set PKG_CONFIG_DIR in main Makefiles

2017-03-14 Thread Juergen Gross
Instead of setting the PKG_CONFIG_DIR make variable in each library Makefile do it in tools/Makefile and stubdom/Makefile globally. Signed-off-by: Juergen Gross Acked-by: Wei Liu --- stubdom/Makefile | 1 + tools/Makefile | 3 +++ tools/libxc/Makefile | 1 - 3 files changed, 4

[Xen-devel] [PATCH v2 09/17] tools: provide pkg-config file for libxencall

2017-03-14 Thread Juergen Gross
In order to be able to use pkg-config for obtaining linker- and compiler-flags provide a xencall.pc file. Signed-off-by: Juergen Gross Acked-by: Wei Liu --- .gitignore| 1 + tools/libs/call/Makefile | 21 - tools/libs/call/xencall.pc.in

[Xen-devel] [PATCH v2 02/17] tools: add missing library flag definitions

2017-03-14 Thread Juergen Gross
LDLIBS_* and SHLIB_* settings in tools/Rules.mk are sometimes missing some SHDEPS_* added to them. Add the missing flags, even if sometimes being empty. Signed-off-by: Juergen Gross Acked-by: Wei Liu --- tools/Rules.mk | 27 +++ 1 file changed, 15 insertions(+), 12

[Xen-devel] [PATCH v2 08/17] tools: provide pkg-config file for libxengnttab

2017-03-14 Thread Juergen Gross
In order to be able to use pkg-config for obtaining linker- and compiler-flags provide a xengnttab.pc and a xengntshr.pc file. Signed-off-by: Juergen Gross Acked-by: Wei Liu --- .gitignore| 2 ++ tools/libs/gnttab/Makefile| 22 +- tools/libs

[Xen-devel] [PATCH v2 11/17] tools: provide pkg-config file for libxendevicemodel

2017-03-14 Thread Juergen Gross
In order to be able to use pkg-config for obtaining linker- and compiler-flags provide a xendevicemodel.pc file. Signed-off-by: Juergen Gross Acked-by: Wei Liu --- .gitignore | 1 + tools/libs/devicemodel/Makefile | 21 - tools

[Xen-devel] [PATCH v2 00/17] tools: provide pkg-config files for all libs

2017-03-14 Thread Juergen Gross
in V2: - added patch 4 (Wei Liu) - patch 14 (was 13): correct position of .gitignore entry (Wei Liu) Juergen Gross (17): tools: fix typo in tools/Rules.mk tools: add missing library flag definitions tools,stubdom: set PKG_CONFIG_DIR in main Makefiles tools: install PKG_INSTALLDIR in tools/Mak

<    8   9   10   11   12   13   14   15   16   17   >