Re: [Xen-devel] [PATCH v4 3/6] tools/dm_restrict: Ask QEMU to chroot

2018-11-06 Thread George Dunlap
On 11/06/2018 09:14 AM, Paul Durrant wrote: >> -Original Message- >> From: Xen-devel [mailto:xen-devel-boun...@lists.xenproject.org] On Behalf >> Of George Dunlap >> Sent: 05 November 2018 18:07 >> To: xen-devel@lists.xenproject.org >> Cc: Anthony Perard ; Ian Jackson >> ; Wei Liu ; George

Re: [Xen-devel] [PATCH v4 4/6] tools/dm_restrict: Unshare mount and IPC namespaces on Linux

2018-11-06 Thread George Dunlap
On 11/06/2018 09:16 AM, Paul Durrant wrote: >> diff --git a/tools/libxl/libxl_netbsd.c b/tools/libxl/libxl_netbsd.c >> index 2edfb00641..dce3f1fdce 100644 >> --- a/tools/libxl/libxl_netbsd.c >> +++ b/tools/libxl/libxl_netbsd.c >> @@ -124,3 +124,8 @@ int libxl__pci_topology_init(libxl__gc *gc, >>

Re: [Xen-devel] [PATCH v5 03/24] hw: acpi: The RSDP build API can return void

2018-11-06 Thread Paolo Bonzini
On 05/11/2018 02:40, Samuel Ortiz wrote: > /* RSDP */ > -static GArray * > +static void > build_rsdp(GArray *rsdp_table, BIOSLinker *linker, unsigned xsdt_tbl_offset) > { > AcpiRsdpDescriptor *rsdp = acpi_data_push(rsdp_table, sizeof *rsdp); > @@ -392,8 +392,6 @@ build_rsdp(GArray

Re: [Xen-devel] [PATCH 3/3] tools: ipxe: Correct download error handling

2018-11-06 Thread Wei Liu
On Mon, Nov 05, 2018 at 06:42:34PM +, Ian Jackson wrote: > This shell fragment lacked set -e. So, eg if the download failed a > broken ipxe.tar.gz would be left behind. > > Signed-off-by: Ian Jackson Acked-by: Wei Liu ___ Xen-devel mailing list

Re: [Xen-devel] [PATCH 2/3] tools: No longer advertise GIT_HTTP env var

2018-11-06 Thread Wei Liu
On Mon, Nov 05, 2018 at 06:42:33PM +, Ian Jackson wrote: > In "build: add autoconf to replace custom checks in tools/check" > --enable-githttp was introduced. But we missed this comment where it > was advertised. > > Signed-off-by: Ian Jackson Whether you squash this patch into previous

Re: [Xen-devel] [PATCH 1/3] tools: Once again honour GIT_HTTP env var

2018-11-06 Thread Wei Liu
On Mon, Nov 05, 2018 at 06:42:32PM +, Ian Jackson wrote: > In "build: add autoconf to replace custom checks in tools/check" > --enable-githttp was introduced. But that had the effect of > uncondtionally setting GIT_HTTP from the configure variable. > > But the env var is advertised in some

Re: [Xen-devel] Dom0 kernel 4.14 with SMP randomly crashing

2018-11-06 Thread Rishi
On Mon, Nov 5, 2018 at 6:32 PM Rishi <2rushike...@gmail.com> wrote: > > > On Mon, Nov 5, 2018 at 6:29 PM Rishi <2rushike...@gmail.com> wrote: > >> Yes, I'm taking out patches from 4.4 and actually do have a working 4.9 >> kernel along with blktap. Tested networking and disk IO in it. >> >> There

Re: [Xen-devel] [PATCH 8/8] tools/libvchan: libxenvchan_client_init: use ENOENT for no server

2018-11-06 Thread Wei Liu
On Fri, Nov 02, 2018 at 05:01:13PM +, Ian Jackson wrote: > * Promise that we will set errno to ENOENT if the server is not > yet set up. > * Arrange that all ENOENT returns other than from the read of ring-ref > are turned into EIO, logging when we do so. This sounds reasonable to me, but

Re: [Xen-devel] [PATCH 7/8] tools/libvchan: libxenvchan_*_init: Promise an errno

2018-11-06 Thread Wei Liu
On Fri, Nov 02, 2018 at 05:01:12PM +, Ian Jackson wrote: > Thse functiosn do in fact leave errno set. We are going to want to > use this. > > Signed-off-by: Ian Jackson Acked-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.xenproject.org

Re: [Xen-devel] [PATCH 6/8] tools/libvchan: Add xentoollog to direct dependencies

2018-11-06 Thread Wei Liu
On Fri, Nov 02, 2018 at 05:01:11PM +, Ian Jackson wrote: > We are going to add a call to xtl_log. > > Signed-off-by: Ian Jackson Acked-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.xenproject.org

Re: [Xen-devel] [PATCH 4/8] tools/libvchan: init_xs_srv: Simplify error handling (2)

2018-11-06 Thread Wei Liu
On Fri, Nov 02, 2018 at 05:01:09PM +, Ian Jackson wrote: > * Abolish fail_xs_open which is now exactly the same as fail. > > * Change all gotos to refer to fail instead. > > No functional change. > Oh here it is. > Signed-off-by: Ian Jackson Acked-by: Wei Liu Feel free to add my ack

Re: [Xen-devel] [PATCH 5/8] tools/libvchan: init_xs_srv: Turn xs retry from goto into for (; ; )

2018-11-06 Thread Wei Liu
On Fri, Nov 02, 2018 at 05:01:10PM +, Ian Jackson wrote: > No functional change. > > Signed-off-by: Ian Jackson Acked-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [PATCH 3/8] tools/libvchan: init_xs_srv: Simplify error handling (1)

2018-11-06 Thread Wei Liu
On Fri, Nov 02, 2018 at 05:01:08PM +, Ian Jackson wrote: > * Use xs_close instead of the deprecated xs_daemon_close. > > * Initialise xs to NULL.That means xs_close can now be called in > all cases. Move it to the fail clause. > > * free(domid_str) is already safe in all cases since

Re: [Xen-devel] [PATCH 2/8] tools/xenstore: Document that xs_close(0) is OK.

2018-11-06 Thread Wei Liu
On Fri, Nov 02, 2018 at 05:01:07PM +, Ian Jackson wrote: > Signed-off-by: Ian Jackson Acked-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [PATCH 1/8] tools/libvchan: Initialise xs_transaction_t to XBT_NULL, not NULL

2018-11-06 Thread Wei Liu
On Fri, Nov 02, 2018 at 05:01:06PM +, Ian Jackson wrote: > This is an integer type, not a pointer. > > Signed-off-by: Ian Jackson Good catch. Acked-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.xenproject.org

Re: [Xen-devel] [PATCH v2] xen-blkfront: fix kernel panic with negotiate_mq error path

2018-11-06 Thread Juergen Gross
On 30/10/2018 17:49, Manjunath Patil wrote: > info->nr_rings isn't adjusted in case of ENOMEM error from > negotiate_mq(). This leads to kernel panic in error path. > > Typical call stack involving panic - > #8 page_fault at 8175936f > [exception RIP: blkif_free_ring+33] > RIP:

Re: [Xen-devel] [PATCH] xen/grant-table: Fix incorrect gnttab_dma_free_pages() pr_debug message

2018-11-06 Thread Juergen Gross
On 02/11/2018 15:04, Liam Merwick wrote: > If a call to xenmem_reservation_increase() in gnttab_dma_free_pages() > fails it triggers a message "Failed to decrease reservation..." which > should be "Failed to increase reservation..." > > Fixes: 9bdc7304f536 ('xen/grant-table: Allow allocating

Re: [Xen-devel] [PATCH v3] CONFIG_XEN_PV breaks xen_create_contiguous_region on ARM

2018-11-06 Thread Juergen Gross
On 01/11/2018 00:11, Stefano Stabellini wrote: > From: Stefano Stabellini > > xen_create_contiguous_region has now only an implementation if > CONFIG_XEN_PV is defined. However, on ARM we never set CONFIG_XEN_PV but > we do have an implementation of xen_create_contiguous_region which is >

Re: [Xen-devel] [OSSTEST PATCH] ts-xen-build: Force reliance on ipxe tarball

2018-11-06 Thread Wei Liu
On Mon, Nov 05, 2018 at 06:35:54PM +, Ian Jackson wrote: > xen.git/tools/firmware/etherboot/Makefile tries to get a tarball from > xen-extfiles first and if that fails, tries cloning from ipxe.org. > > ipxe.org is sometimes down (or half-down) and when that happens > without a tarball the

Re: [Xen-devel] [PATCH v4 5/6] tools/dm_depriv: Add first cut RLIMITs

2018-11-06 Thread Paul Durrant
> -Original Message- > From: Xen-devel [mailto:xen-devel-boun...@lists.xenproject.org] On Behalf > Of George Dunlap > Sent: 05 November 2018 18:07 > To: xen-devel@lists.xenproject.org > Cc: Anthony Perard ; Ian Jackson > ; Wei Liu ; George Dunlap > > Subject: [Xen-devel] [PATCH v4 5/6]

Re: [Xen-devel] [PATCH v4 4/6] tools/dm_restrict: Unshare mount and IPC namespaces on Linux

2018-11-06 Thread Paul Durrant
> -Original Message- > From: Xen-devel [mailto:xen-devel-boun...@lists.xenproject.org] On Behalf > Of George Dunlap > Sent: 05 November 2018 18:07 > To: xen-devel@lists.xenproject.org > Cc: Anthony Perard ; Ian Jackson > ; Wei Liu ; George Dunlap > > Subject: [Xen-devel] [PATCH v4 4/6]

Re: [Xen-devel] [PATCH v4 3/6] tools/dm_restrict: Ask QEMU to chroot

2018-11-06 Thread Paul Durrant
> -Original Message- > From: Xen-devel [mailto:xen-devel-boun...@lists.xenproject.org] On Behalf > Of George Dunlap > Sent: 05 November 2018 18:07 > To: xen-devel@lists.xenproject.org > Cc: Anthony Perard ; Ian Jackson > ; Wei Liu ; George Dunlap > > Subject: [Xen-devel] [PATCH v4 3/6]

Re: [Xen-devel] [PATCH v4 2/6] SUPPORT.md: Add qemu-depriv section

2018-11-06 Thread Paul Durrant
> -Original Message- > From: Xen-devel [mailto:xen-devel-boun...@lists.xenproject.org] On Behalf > Of George Dunlap > Sent: 05 November 2018 18:07 > To: xen-devel@lists.xenproject.org > Cc: Stefano Stabellini ; Wei Liu > ; Konrad Wilk ; Andrew Cooper > ; Tim (Xen.org) ; George Dunlap > ;

Re: [Xen-devel] [PATCH v4 1/6] docs/qemu-deprivilege: Revise and update with status and future plans

2018-11-06 Thread Paul Durrant
> -Original Message- > From: Xen-devel [mailto:xen-devel-boun...@lists.xenproject.org] On Behalf > Of George Dunlap > Sent: 05 November 2018 18:07 > To: xen-devel@lists.xenproject.org > Cc: Stefano Stabellini ; Wei Liu > ; Konrad Wilk ; Andrew Cooper > ; Tim (Xen.org) ; George Dunlap > ;

Re: [Xen-devel] [PATCH 3/3] tools: ipxe: Correct download error handling

2018-11-06 Thread Paul Durrant
> -Original Message- > From: Xen-devel [mailto:xen-devel-boun...@lists.xenproject.org] On Behalf > Of Paul Durrant > Sent: 06 November 2018 08:44 > To: Ian Jackson ; xen-devel@lists.xenproject.org > Cc: Ian Jackson ; Wei Liu > Subject: Re: [Xen-devel] [PATCH 3/3] tools: ipxe: Correct

[Xen-devel] [ovmf baseline-only test] 75574: tolerable FAIL

2018-11-06 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 75574 ovmf real [real] http://osstest.xensource.com/osstest/logs/75574/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-i386-xl-qemuu-ovmf-amd64 10 debian-hvm-install fail like 75573

Re: [Xen-devel] [PATCH 3/3] tools: ipxe: Correct download error handling

2018-11-06 Thread Paul Durrant
> -Original Message- > From: Ian Jackson [mailto:ian.jack...@eu.citrix.com] > Sent: 05 November 2018 18:43 > To: xen-devel@lists.xenproject.org > Cc: Ian Jackson ; Paul Durrant > ; Wei Liu > Subject: [PATCH 3/3] tools: ipxe: Correct download error handling > > This shell fragment lacked

Re: [Xen-devel] [PATCH 2/3] tools: No longer advertise GIT_HTTP env var

2018-11-06 Thread Paul Durrant
> -Original Message- > From: Ian Jackson [mailto:ian.jack...@eu.citrix.com] > Sent: 05 November 2018 18:43 > To: xen-devel@lists.xenproject.org > Cc: Ian Jackson ; Paul Durrant > ; Wei Liu > Subject: [PATCH 2/3] tools: No longer advertise GIT_HTTP env var > > In "build: add autoconf to

Re: [Xen-devel] [PATCH 1/3] tools: Once again honour GIT_HTTP env var

2018-11-06 Thread Paul Durrant
> -Original Message- > From: Ian Jackson [mailto:ian.jack...@eu.citrix.com] > Sent: 05 November 2018 18:43 > To: xen-devel@lists.xenproject.org > Cc: Ian Jackson ; Paul Durrant > ; Wei Liu > Subject: [PATCH 1/3] tools: Once again honour GIT_HTTP env var > > In "build: add autoconf to

Re: [Xen-devel] [OSSTEST PATCH] ts-xen-build: Force reliance on ipxe tarball

2018-11-06 Thread Paul Durrant
> -Original Message- > From: Ian Jackson [mailto:ian.jack...@eu.citrix.com] > Sent: 05 November 2018 18:36 > To: xen-devel@lists.xenproject.org > Cc: Ian Jackson ; Paul Durrant > ; Wei Liu > Subject: [OSSTEST PATCH] ts-xen-build: Force reliance on ipxe tarball > >

Re: [Xen-devel] Does XEN ARM support RTC in domu?

2018-11-06 Thread Peng Fan
Hi Julien, > -Original Message- > From: Xen-devel [mailto:xen-devel-boun...@lists.xenproject.org] On Behalf Of > Peng Fan > Sent: 2018年11月5日 10:11 > To: Julien Grall ; xen-devel@lists.xenproject.org; > Stefano Stabellini > Subject: Re: [Xen-devel] Does XEN ARM support RTC in domu? > >

<    1   2