Re: [PATCH v1 10/12] hw/arm: introduce xenpv machine

2022-10-18 Thread Stefano Stabellini
On Tue, 18 Oct 2022, Julien Grall wrote: > On 18/10/2022 02:26, Stefano Stabellini wrote: > > On Sun, 16 Oct 2022, Julien Grall wrote: > > > Hi, > > > > > > There seem to be some missing patches on xen-devel (including the cover > > > letter). Is th

Re: [PATCH v1 10/12] hw/arm: introduce xenpv machine

2022-10-17 Thread Stefano Stabellini
On Sun, 16 Oct 2022, Julien Grall wrote: > Hi, > > There seem to be some missing patches on xen-devel (including the cover > letter). Is that expected? > > On 15/10/2022 06:07, Vikram Garhwal wrote: > > Add a new machine xenpv which creates a IOREQ server to register/connect > > with > > Xen Hype

Re: Question to mem-path support at QEMU for Xen

2022-07-28 Thread Stefano Stabellini
On Thu, 28 Jul 2022, Igor Mammedov wrote: > On Thu, 28 Jul 2022 15:17:49 +0800 > Huang Rui wrote: > > > Hi Igor, > > > > Appreciate you for the reply! > > > > On Wed, Jul 27, 2022 at 04:19:30PM +0800, Igor Mammedov wrote: > > > On Tue, 26 Jul 2022 15:27:07 +0800 > > > Huang Rui wrote: > > >

Re: [PATCH 0/2] Decouple Xen-HVM from PIIX

2022-06-28 Thread Stefano Stabellini
On Tue, 28 Jun 2022, B wrote: > Am 26. Juni 2022 09:46:54 UTC schrieb Bernhard Beschow : > >hw/i386/xen/xen-hvm.c contains logic which is PIIX-specific. This makes > >xen-hvm.c depend on PIIX which can be avoided if PIIX logic was isolated in > >PIIX itself. > > > > > > > >Bernhard Beschow (2): >

Re: [PATCH v2] xen-mapcache: Avoid entry->lock overflow

2022-01-24 Thread Stefano Stabellini
entry map be remapped causing QEMU to write the wrong > data or crash (since remap is not atomic). > > Avoid this overflow by increasing the lock field to a uint32_t and also > detect it and abort rather than continuing regardless. > > Signed-off-by: Ross Lagerwall R

Re: [PATCH] xen-mapcache: Avoid entry->lock overflow

2022-01-21 Thread Stefano Stabellini
On Fri, 21 Jan 2022, Ross Lagerwall wrote: > In some cases, a particular mapcache entry may be mapped 256 times > causing the lock field to wrap to 0. For example, this may happen when > using emulated NVME and the guest submits a large scatter-gather write. > At this point, the entry map be remapp

Re: [PATCH] 9pfs: Fully restart unreclaim loop (CVE-2021-20181)

2021-01-14 Thread Stefano Stabellini
fix. For now let's keep it > simple and just restart the loop from the current head. > > Fixes: CVE-2021-20181 > Buglink: https://bugs.launchpad.net/qemu/+bug/1911666 > Reported-by: Zero Day Initiative > Reviewed-by: Christian Schoenebeck > Signed-off-by: Greg Kurz Revie

Re: [PATCH v2 1/1] security-process: update process information

2020-12-10 Thread Stefano Stabellini
ned-off-by: Prasad J Pandit Acked-by: Stefano Stabellini > --- > contribute/security-process.md | 154 - > 1 file changed, 95 insertions(+), 59 deletions(-) > > Update v2: incorporate inputs from upstream reviews > -> https://lists.nongnu.o

Re: [PATCH v1 1/1] security-process: update process information

2020-12-02 Thread Stefano Stabellini
On Wed, 2 Dec 2020, Daniel P. Berrangé wrote: > On Mon, Nov 30, 2020 at 07:19:07PM +0530, P J P wrote: > > From: Prasad J Pandit > > > > We are about to introduce a qemu-security mailing list to report > > and triage QEMU security issues. > > > > Update the QEMU security process web page with ne

Re: [PATCH v2 11/13] xen: remove GNUC check

2020-12-01 Thread Stefano Stabellini
On Thu, 26 Nov 2020, Peter Maydell wrote: > On Thu, 26 Nov 2020 at 11:30, wrote: > > > > From: Marc-André Lureau > > > > QEMU requires Clang or GCC, that define and support __GNUC__ extensions > > > > Signed-off-by: Marc-André Lureau > > --- > > include/hw/xen/interface/io/ring.h | 9 -

Re: [PATCH-for-6.0 v4 15/17] gitlab-ci: Add test for Xen (on CentOS 7)

2020-11-30 Thread Stefano Stabellini
On Fri, 27 Nov 2020, Anthony PERARD wrote: > On Thu, Nov 26, 2020 at 12:45:59PM -0500, Eduardo Habkost wrote: > > On Thu, Nov 26, 2020 at 05:38:24PM +, Anthony PERARD wrote: > > > Is `make check` going to do something useful with the Xen support? Or is > > > it going to need more work in order

Re: [PATCH-for-5.2 2/3] gitlab-ci: Add a job to cover the --without-default-devices config

2020-11-04 Thread Stefano Stabellini
On Wed, 4 Nov 2020, Thomas Huth wrote: > On 04/11/2020 03.27, Stefano Stabellini wrote: > [...] > > Actually I care about Xen and 9pfs support, it is one of the few > > combinations that I use regularly and it is even enabled in the Xilinx > > product I look after. But admi

Re: [PATCH-for-5.2 2/3] gitlab-ci: Add a job to cover the --without-default-devices config

2020-11-04 Thread Stefano Stabellini
On Wed, 4 Nov 2020, Paolo Bonzini wrote: > Il mer 4 nov 2020, 03:27 Stefano Stabellini ha > scritto: > FYI I tried to build the latest QEMU on Alpine Linux 3.12 ARM64 and I > get: > >   ninja: unknown tool 'query' > > Even after re

Re: [PATCH-for-5.2 2/3] gitlab-ci: Add a job to cover the --without-default-devices config

2020-11-03 Thread Stefano Stabellini
On Tue, 3 Nov 2020, Philippe Mathieu-Daudé wrote: > I forgot to Cc the 9pfs & Xen maintainers, doing it now ;) > > On 11/3/20 6:01 PM, Philippe Mathieu-Daudé wrote: > > On 11/3/20 5:52 PM, Daniel P. Berrangé wrote: > >> On Tue, Nov 03, 2020 at 05:46:03PM +0100, Philippe Mathieu-Daudé wrote: > >>>

Re: [PATCH] meson.build: fix building of Xen support for aarch64

2020-10-29 Thread Stefano Stabellini
le CONFIG_XEN for aarch64-softmmu to > >> make it not seem weird but that will require further build surgery. > >> > >> Signed-off-by: Alex Bennée > >> Cc: Masami Hiramatsu > >> Cc: Stefano Stabellini > >> Cc: Anthony Perard >

Re: [PATCH] meson.build: fix building of Xen support for aarch64

2020-10-29 Thread Stefano Stabellini
On Thu, 29 Oct 2020, Jason Andryuk wrote: > On Thu, Oct 29, 2020 at 6:01 AM Alex Bennée wrote: > > > > > > Stefano Stabellini writes: > > > > > On Wed, 28 Oct 2020, Alex Bennée wrote: > > >> Xen is supported on aarch64 although weirdly using the

Re: [PATCH] meson.build: fix building of Xen support for aarch64

2020-10-28 Thread Stefano Stabellini
will require further build surgery. > > Signed-off-by: Alex Bennée > Cc: Masami Hiramatsu > Cc: Stefano Stabellini > Cc: Anthony Perard > Cc: Paul Durrant > Fixes: 8a19980e3f ("configure: move accelerator logic to meson") > --- > meson.build | 2 ++ >

Re: [PATCH] xen: xenguest is not used so is not needed

2020-09-21 Thread Stefano Stabellini
Adding Paul On Sat, 19 Sep 2020, Philippe Mathieu-Daudé wrote: > Cc'ing qemu-trivial@ > > On 7/27/20 5:09 PM, Anthony PERARD wrote: > > On Mon, Jul 27, 2020 at 05:00:48PM +0300, Michael Tokarev wrote: > >> There's no references in only file which includes xenguest.h > >> to any xen definitions.

Re: [PATCH] migration: Truncate state file in xen-save-devices-state

2020-09-21 Thread Stefano Stabellini
Adding Paul On Mon, 21 Sep 2020, Dr. David Alan Gilbert wrote: > * Dov Murik (dovmu...@linux.vnet.ibm.com) wrote: > > > > > > On 21/09/2020 14:17, Dr. David Alan Gilbert wrote: > > > * Dov Murik (dovmu...@linux.vnet.ibm.com) wrote: > > > > When running the xen-save-devices-state QMP command, if

[PATCH v2 1/3] Revert "9p: init_in_iov_from_pdu can truncate the size"

2020-05-21 Thread Stefano Stabellini
From: Stefano Stabellini This reverts commit 16724a173049ac29c7b5ade741da93a0f46edff7. It causes https://bugs.launchpad.net/bugs/1877688. Signed-off-by: Stefano Stabellini --- hw/9pfs/9p.c | 33 +++-- hw/9pfs/9p.h | 2 +- hw/9pfs/virtio

[PATCH v2 2/3] xen/9pfs: yield when there isn't enough room on the ring

2020-05-21 Thread Stefano Stabellini
From: Stefano Stabellini Instead of truncating replies, which is problematic, wait until the client reads more data and frees bytes on the reply ring. Do that by calling qemu_coroutine_yield(). The corresponding qemu_coroutine_enter_if_inactive() is called from xen_9pfs_bh upon receiving the

[PATCH v2 0/3] revert 9pfs reply truncation, wait for free room to reply

2020-05-21 Thread Stefano Stabellini
Hi all, This short series reverts commit 16724a173049ac29c7b5ade741da93a0f46edff becauses it is the cause for https://bugs.launchpad.net/bugs/1877688. The original issue addressed by 16724a173049ac29c7b5ade741da93a0f46edff is solved differently in this series by using qemu_coroutine_yield() to wa

[PATCH v2 3/3] xen/9pfs: increase max ring order to 9

2020-05-21 Thread Stefano Stabellini
From: Stefano Stabellini The max order allowed by the protocol is 9. Increase the max order supported by QEMU to 9 to increase performance. Signed-off-by: Stefano Stabellini --- Changes in v2: - patch added --- hw/9pfs/xen-9p-backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: [PATCH 2/2] xen/9pfs: yield when there isn't enough room on the ring

2020-05-20 Thread Stefano Stabellini
On Wed, 20 May 2020, Stefano Stabellini wrote: > On Wed, 20 May 2020, Christian Schoenebeck wrote: > > On Mittwoch, 20. Mai 2020 03:47:12 CEST Stefano Stabellini wrote: > > > From: Stefano Stabellini > > > > > > Instead of truncating replies, which is prob

Re: [PATCH 2/2] xen/9pfs: yield when there isn't enough room on the ring

2020-05-20 Thread Stefano Stabellini
On Wed, 20 May 2020, Christian Schoenebeck wrote: > On Mittwoch, 20. Mai 2020 03:47:12 CEST Stefano Stabellini wrote: > > From: Stefano Stabellini > > > > Instead of truncating replies, which is problematic, wait until the > > client reads more data and frees bytes on

[PATCH 1/2] Revert "9p: init_in_iov_from_pdu can truncate the size"

2020-05-19 Thread Stefano Stabellini
From: Stefano Stabellini This reverts commit 16724a173049ac29c7b5ade741da93a0f46edff7. It causes https://bugs.launchpad.net/bugs/1877688. Signed-off-by: Stefano Stabellini --- hw/9pfs/9p.c | 33 +++-- hw/9pfs/9p.h | 2 +- hw/9pfs/virtio

[PATCH 2/2] xen/9pfs: yield when there isn't enough room on the ring

2020-05-19 Thread Stefano Stabellini
From: Stefano Stabellini Instead of truncating replies, which is problematic, wait until the client reads more data and frees bytes on the reply ring. Do that by calling qemu_coroutine_yield(). The corresponding qemu_coroutine_enter_if_inactive() is called from xen_9pfs_bh upon receiving the

[PATCH 0/2] revert 9pfs reply truncation, wait for free room to reply

2020-05-19 Thread Stefano Stabellini
Hi all, This short series reverts commit 16724a173049ac29c7b5ade741da93a0f46edff becauses it is the cause for https://bugs.launchpad.net/bugs/1877688. The original issue addressed by 16724a173049ac29c7b5ade741da93a0f46edff is solved differently in this series by using qemu_coroutine_yield() to wa

Re: [PATCH 0/1] virtio-9pfs: don't truncate response

2020-05-14 Thread Stefano Stabellini
On Thu, 14 May 2020, Christian Schoenebeck wrote: > The following patch reverts > SHA-1 16724a173049ac29c7b5ade741da93a0f46edff for the virtio backend. > > Greg, it is intended as a quick fix for > https://bugs.launchpad.net/bugs/1877688 at least for virtio, for the > case the appropriate fix on X

Re: [PATCH 1/1] virtio-9pfs: don't truncate response

2020-05-14 Thread Stefano Stabellini
4a173049ac29c7b5ade741da93a0f46edff7 (for virtio only) > Fixes: https://bugs.launchpad.net/bugs/1877688 (for virtio only) > Signed-off-by: Christian Schoenebeck Reviewed-by: Stefano Stabellini > --- > hw/9pfs/virtio-9p-device.c | 7 ++- > 1 file changed, 2 insertions(+), 5 deletions

Re: [PATCH 2/2] 9pfs: fix init_in_iov_from_pdu truncating size

2020-05-14 Thread Stefano Stabellini
On Thu, 14 May 2020, Christian Schoenebeck wrote: > On Donnerstag, 14. Mai 2020 01:31:30 CEST Stefano Stabellini wrote: > > > If there is really no way with Xen to ensure there's always a buffer size > > > according to msize, > > > > Thank you for the lon

Re: [PATCH 2/2] 9pfs: fix init_in_iov_from_pdu truncating size

2020-05-14 Thread Stefano Stabellini
On Thu, 14 May 2020, Christian Schoenebeck wrote: > On Donnerstag, 14. Mai 2020 17:51:27 CEST Stefano Stabellini wrote: > > On Thu, 14 May 2020, Christian Schoenebeck wrote: > > > Looks like this issue will still take quite some time to be fixed with > > > Xen. If you

Re: [PATCH 2/2] 9pfs: fix init_in_iov_from_pdu truncating size

2020-05-14 Thread Stefano Stabellini
On Thu, 14 May 2020, Christian Schoenebeck wrote: > Looks like this issue will still take quite some time to be fixed with Xen. > If > you don't mind I'll send out a patch to revert truncation on virtio side, so > that at least this bug is fixed with virtio ASAP. Let me answer to this quickly s

Re: [PATCH 0/2] 9pfs: regression init_in_iov_from_pdu truncating size

2020-05-13 Thread Stefano Stabellini
On Thu, 14 May 2020, Greg Kurz wrote: > On Tue, 12 May 2020 11:38:23 +0200 > Greg Kurz wrote: > > > On Sun, 10 May 2020 19:41:52 +0200 > > Christian Schoenebeck wrote: > > > > > Stefano, looks like your original patch needs some more fine tuning: > > > > > > https://bugs.launchpad.net/bugs/187

Re: [PATCH 2/2] 9pfs: fix init_in_iov_from_pdu truncating size

2020-05-13 Thread Stefano Stabellini
On Wed, 13 May 2020, Christian Schoenebeck wrote: > On Mittwoch, 13. Mai 2020 01:24:16 CEST Stefano Stabellini wrote: > > Let me premise that this patch fixes an important bug, so I am not > > asking you to do any more work to get this patch committed right now :-) > > Actu

Re: [PATCH 2/2] 9pfs: fix init_in_iov_from_pdu truncating size

2020-05-12 Thread Stefano Stabellini
On Tue, 12 May 2020, Christian Schoenebeck wrote: > On Dienstag, 12. Mai 2020 00:09:46 CEST Stefano Stabellini wrote: > > On Sun, 10 May 2020, Christian Schoenebeck wrote: > > > Commit SHA-1 16724a173049ac29c7b5ade741da93a0f46edff7 introduced > > > truncating th

Re: [PATCH 1/2] xen-9pfs: Fix log messages of reply errors

2020-05-11 Thread Stefano Stabellini
dling the request input. > > Signed-off-by: Christian Schoenebeck Acked-by: Stefano Stabellini > --- > hw/9pfs/xen-9p-backend.c | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/hw/9pfs/xen-9p-backend.c b/hw/9pfs/xen-9p-backend.c > index

Re: [PATCH 2/2] 9pfs: fix init_in_iov_from_pdu truncating size

2020-05-11 Thread Stefano Stabellini
On Sun, 10 May 2020, Christian Schoenebeck wrote: > Commit SHA-1 16724a173049ac29c7b5ade741da93a0f46edff7 introduced > truncating the response to the currently available transport buffer > size, which was supposed to fix an 9pfs error on Xen boot where > transport buffer might still be smaller than

Re: [PATCH v3 18/19] hw/arm: Do not build to 'virt' machine on Xen

2020-03-16 Thread Stefano Stabellini
7;t exist today. In short, I think this patch is fine, at least until somebody comes around and tries to add emulation to Xen on ARM. > Signed-off-by: Philippe Mathieu-Daudé > --- > Cc: Stefano Stabellini > Cc: Anthony Perard > Cc: Paul Durrant > Cc: xen-de...@lists.xenproje

[PATCH v2] 9p: init_in_iov_from_pdu can truncate the size

2020-01-06 Thread Stefano Stabellini
From: Stefano Stabellini init_in_iov_from_pdu might not be able to allocate the full buffer size requested, which comes from the client and could be larger than the transport has available at the time of the request. Specifically, this can happen with read operations, with the client requesting

Re: [PATCH] 9p: init_in_iov_from_pdu can truncate the size

2020-01-06 Thread Stefano Stabellini
On Mon, 6 Jan 2020, Greg Kurz wrote: > On Mon, 06 Jan 2020 16:24:18 +0100 > Christian Schoenebeck wrote: > > > On Montag, 6. Januar 2020 14:42:54 CET Greg Kurz wrote: > > > > diff --git a/hw/9pfs/virtio-9p-device.c b/hw/9pfs/virtio-9p-device.c > > > > index 775e8ff766..68873c3f5f 100644 > > > > -

Re: [PATCH] 9p: init_in_iov_from_pdu can truncate the size

2019-12-19 Thread Stefano Stabellini
On Thu, 19 Dec 2019, Christian Schoenebeck wrote: > On Donnerstag, 19. Dezember 2019 01:42:51 CET Stefano Stabellini wrote: > > From: Stefano Stabellini > > > > init_in_iov_from_pdu might not be able to allocate the full buffer size > > requested, which comes from the

[PATCH] 9p: init_in_iov_from_pdu can truncate the size

2019-12-18 Thread Stefano Stabellini
From: Stefano Stabellini init_in_iov_from_pdu might not be able to allocate the full buffer size requested, which comes from the client and could be larger than the transport has available at the time of the request. Specifically, this can happen with read operations, with the client requesting

Re: [Qemu-devel] [PATCH] MAINTAINERS: Change maintership of Xen code under hw/9pfs

2019-06-14 Thread Stefano Stabellini
On Fri, 14 Jun 2019, Paul Durrant wrote: > > -Original Message- > > From: Greg Kurz [mailto:gr...@kaod.org] > > Sent: 14 June 2019 09:16 > > To: Paul Durrant > > Cc: Anthony Perard ; qemu-devel@nongnu.org; > > Stefano Stabellini > > &g

Re: [Qemu-devel] [PATCH 09/21] configure: use pkg-config for obtaining xen version

2019-01-02 Thread Stefano Stabellini
On Tue, 11 Dec 2018, Daniel wrote: > On Tue, Dec 11, 2018 at 10:34:52AM +, Peter Maydell wrote: > > On Tue, 25 Apr 2017 at 19:35, Stefano Stabellini > > wrote: > > > > > > From: Juergen Gross > > > > > > Instead of trying to guess the

Re: [Qemu-devel] [PATCH for-3.1] hw/xen/xen_pt_graphics: Don't trust the BIOS ROM contents so much

2018-12-14 Thread Stefano Stabellini
On Fri, 14 Dec 2018, Peter Maydell wrote: > On Mon, 26 Nov 2018 at 15:03, Anthony PERARD > wrote: > > > > On Mon, Nov 19, 2018 at 04:26:58PM +, Peter Maydell wrote: > > > Coverity (CID 796599) points out that xen_pt_setup_vga() trusts > > > the rom->size field in the BIOS ROM from a PCI passt

Re: [Qemu-devel] [Qemu-block] [PATCH 02/18] xen: introduce new 'XenBus' and 'XenDevice' object hierarchy

2018-11-28 Thread Stefano Stabellini
On Wed, 28 Nov 2018, Paul Durrant wrote: > > -Original Message- > > From: Kevin Wolf [mailto:kw...@redhat.com] > > Sent: 28 November 2018 16:19 > > To: Paul Durrant > > Cc: qemu-bl...@nongnu.org; qemu-devel@nongnu.org; xen- > > de...@lists.xenproject.o

Re: [Qemu-devel] [PATCH 17/18] MAINTAINERS: add myself as a Xen maintainer

2018-11-27 Thread Stefano Stabellini
ork with the intent of eventually removing the > legacy code. It therefore seems reasonable that I become a maintiner of > the Xen code. > > Signed-off-by: Paul Durrant Acked-by: Stefano Stabellini > --- > Cc: Stefano Stabellini > Cc: Anthony Perard > Cc: Paolo Bonz

[Qemu-devel] possible BUG, ATS12NSOPW fails

2018-10-08 Thread Stefano Stabellini
Hi Peter, I am chasing an address translation error, and it looks like it might be a QEMU bug, because I cannot reproduce the problem on a physical board. The issue is that a requested ATS12NSOPW translation in Xen is reported as failing by QEMU, but actually the address is correct. The workflow

Re: [Qemu-devel] [PATCH 2/2] xen: Replace few mentions of xend by libxl

2018-09-14 Thread Stefano Stabellini
On Fri, 14 Sep 2018, Anthony PERARD wrote: > xend have been replaced by libxenlight (libxl) for many Xen releases > now. > > Signed-off-by: Anthony PERARD Acked-by: Stefano Stabellini > --- > hw/xenpv/xen_machine_pv.c | 2 +- > include/hw/xen/xen.h | 2

Re: [Qemu-devel] [PATCH 1/2] Remove broken Xen PV domain builder

2018-09-14 Thread Stefano Stabellini
PERARD Acked-by: Stefano Stabellini > --- > configure | 17 -- > hw/xenpv/Makefile.objs | 2 - > hw/xenpv/xen_domainbuild.c | 299 > hw/xenpv/xen_domainbuild.h | 13 -- > hw/xenpv/xen_machine_pv.c | 14 --

Re: [Qemu-devel] [RFC] xen: Don't use memory_region_init_ram_nomigrate() in pci_assign_dev_load_option_rom()

2018-06-15 Thread Stefano Stabellini
On Fri, 15 Jun 2018, Anthony PERARD wrote: > On Fri, Jun 15, 2018 at 11:06:47AM +0100, Peter Maydell wrote: > > On 5 June 2018 at 17:55, Anthony PERARD wrote: > > > On Fri, Jun 01, 2018 at 06:59:10PM +0100, Peter Maydell wrote: > > >> The xen pci_assign_dev_load_option_rom() currently creates a RA

[Qemu-devel] [PULL 3/3] xen-hvm: stop faking I/O to access PCI config space

2018-05-31 Thread Stefano Stabellini
: Paul Durrant Reviewed-by: Anthony PERARD Signed-off-by: Stefano Stabellini --- hw/i386/xen/trace-events | 2 + hw/i386/xen/xen-hvm.c| 102 +-- 2 files changed, 84 insertions(+), 20 deletions(-) diff --git a/hw/i386/xen/trace-events b/hw/i386/xen

[Qemu-devel] [PULL 2/3] xen-hvm: try to use xenforeignmemory_map_resource() to map ioreq pages

2018-05-31 Thread Stefano Stabellini
: Paul Durrant Reviewed-by: Anthony PERARD Signed-off-by: Stefano Stabellini --- configure | 5 hw/i386/xen/trace-events| 1 + hw/i386/xen/xen-hvm.c | 66 ++--- include/hw/xen/xen_common.h | 16 +++ 4 files changed

[Qemu-devel] [PULL 0/3] xen-20180531-tag

2018-05-31 Thread Stefano Stabellini
The following changes since commit c181ddaa176856b3cd2dfd12bbcf25fa9c884a97: Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20180531-1' into staging (2018-05-31 17:00:55 +0100) are available in the git repository at: http://xenbits.xenproject.org/git-http/people/sstab

[Qemu-devel] [PULL 1/3] xen/hvm: correct reporting of modified memory under physmap during migration

2018-05-31 Thread Stefano Stabellini
using physmap. Since there is no way to access physmap properly inside xen_hvm_modified_memory() let's make it a global structure. Signed-off-by: Igor Druzhinin Acked-by: Anthony PERARD Signed-off-by: Stefano Stabellini --- hw/i386/xen/xen-hvm.c

[Qemu-devel] [PULL v2 12/15] xen_disk: remove use of grant map/unmap

2018-05-22 Thread Stefano Stabellini
From: Paul Durrant Now that the (native or emulated) xen_be_copy_grant_refs() helper is always available, the xen_disk code can be significantly simplified by removing direct use of grant map and unmap operations. Signed-off-by: Paul Durrant Acked-by: Anthony Perard Signed-off-by: Stefano

[Qemu-devel] [PULL v2 15/15] xen_disk: be consistent with use of xendev and blkdev->xendev

2018-05-22 Thread Stefano Stabellini
-off-by: Stefano Stabellini --- hw/block/xen_disk.c | 90 +++-- 1 file changed, 46 insertions(+), 44 deletions(-) diff --git a/hw/block/xen_disk.c b/hw/block/xen_disk.c index 28651c5..9fbc0cd 100644 --- a/hw/block/xen_disk.c +++ b/hw/block/xen

[Qemu-devel] [PULL v2 10/15] xen: remove other open-coded use of libxengnttab

2018-05-22 Thread Stefano Stabellini
From: Paul Durrant Now that helpers are available in xen_backend, use them throughout all Xen PV backends. Signed-off-by: Paul Durrant Acked-by: Anthony Perard Signed-off-by: Stefano Stabellini --- hw/9pfs/xen-9p-backend.c | 32 +++- hw/char/xen_console.c| 9

[Qemu-devel] [PULL v2 08/15] xen_backend: add grant table helpers

2018-05-22 Thread Stefano Stabellini
the shared ring. No prior method requires access to the grant table. Signed-off-by: Paul Durrant Acked-by: Anthony PERARD Signed-off-by: Stefano Stabellini --- hw/xen/xen_backend.c | 123 ++- include/hw/xen/xen_backend.h | 33 2 files

[Qemu-devel] [PULL v2 14/15] xen_disk: use a single entry iovec

2018-05-22 Thread Stefano Stabellini
Acked-by: Anthony Perard Signed-off-by: Stefano Stabellini --- hw/block/xen_disk.c | 76 +++-- 1 file changed, 21 insertions(+), 55 deletions(-) diff --git a/hw/block/xen_disk.c b/hw/block/xen_disk.c index 28be8b6..28651c5 100644 --- a/hw/block

[Qemu-devel] [PULL v2 13/15] xen_backend: make the xen_feature_grant_copy flag private

2018-05-22 Thread Stefano Stabellini
From: Paul Durrant There is no longer any use of this flag outside of the xen_backend code. Signed-off-by: Paul Durrant Acked-by: Anthony Perard Signed-off-by: Stefano Stabellini --- hw/xen/xen_backend.c | 2 +- include/hw/xen/xen_backend.h | 1 - 2 files changed, 1 insertion(+), 2

[Qemu-devel] [PULL v2 06/15] checkpatch: generalize xen handle matching in the list of types

2018-05-22 Thread Stefano Stabellini
will match all Xen stable API handles of the forms detailed above. Signed-off-by: Paul Durrant Reviewed-by: Eric Blake Acked-by: Anthony PERARD Signed-off-by: Stefano Stabellini --- scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/checkpatch.pl b

[Qemu-devel] [PULL v2 05/15] xen-hvm: create separate function for ioreq server initialization

2018-05-22 Thread Stefano Stabellini
From: Paul Durrant The code is sufficiently substantial that it improves code readability to put it in a new function called by xen_hvm_init() rather than having it inline. Signed-off-by: Paul Durrant Reviewed-by: Anthony Perard Signed-off-by: Stefano Stabellini --- hw/i386/xen/xen-hvm.c

[Qemu-devel] [PULL v2 04/15] xen_pt: Present the size of 64 bit BARs correctly

2018-05-22 Thread Stefano Stabellini
PERARD Signed-off-by: Stefano Stabellini --- hw/xen/xen_pt_config_init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/xen/xen_pt_config_init.c b/hw/xen/xen_pt_config_init.c index a3ce33e..aee31c6 100644 --- a/hw/xen/xen_pt_config_init.c +++ b/hw/xen/xen_pt_config_init.c @@ -504,6 +504,8

[Qemu-devel] [PULL v2 11/15] xen_backend: add an emulation of grant copy

2018-05-22 Thread Stefano Stabellini
: Paul Durrant Acked-by: Anthony PERARD Signed-off-by: Stefano Stabellini --- hw/xen/xen_backend.c | 53 1 file changed, 53 insertions(+) diff --git a/hw/xen/xen_backend.c b/hw/xen/xen_backend.c index 50412d6..3c3fc2c 100644 --- a/hw/xen

[Qemu-devel] [PULL v2 07/15] xen: add a meaningful declaration of grant_copy_segment into xen_common.h

2018-05-22 Thread Stefano Stabellini
be cleaned up. Signed-off-by: Paul Durrant Acked-by: Anthony PERARD Signed-off-by: Stefano Stabellini --- hw/block/xen_disk.c | 18 -- include/hw/xen/xen_common.h | 17 +++-- 2 files changed, 15 insertions(+), 20 deletions(-) diff --git a/hw/block/xen_disk.c

[Qemu-devel] [PULL v2 03/15] configure: Add explanation for --enable-xen-pci-passthrough

2018-05-22 Thread Stefano Stabellini
From: Anthony PERARD Signed-off-by: Anthony PERARD Reviewed-by: Markus Armbruster Signed-off-by: Stefano Stabellini --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 59f91ab..a8498ab 100755 --- a/configure +++ b/configure @@ -1588,7

[Qemu-devel] [PULL v2 02/15] xen/pt: use address_space_memory object for memory region hooks

2018-05-22 Thread Stefano Stabellini
: Stefano Stabellini --- hw/xen/xen_pt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xen/xen_pt.c b/hw/xen/xen_pt.c index 9b7a960..e5a6eff 100644 --- a/hw/xen/xen_pt.c +++ b/hw/xen/xen_pt.c @@ -907,7 +907,7 @@ out: } } -memory_listener_register(&a

[Qemu-devel] [PULL v2 01/15] xen-pvdevice: Introduce a simplistic xen-pvdevice save state

2018-05-22 Thread Stefano Stabellini
: Igor Druzhinin Reviewed-by: Paul Durrant Acked-by: Anthony PERARD Signed-off-by: Stefano Stabellini --- hw/i386/xen/xen_pvdevice.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/hw/i386/xen/xen_pvdevice.c b/hw/i386/xen/xen_pvdevice.c index f748823..a146f18 100644 --- a/hw

[Qemu-devel] [PULL v2 09/15] xen_disk: remove open-coded use of libxengnttab

2018-05-22 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini --- hw/block/xen_disk.c | 122 ++-- 1 file changed, 32 insertions(+), 90 deletions(-) diff --git a/hw/block/xen_disk.c b/hw/block/xen_disk.c index 78bfb41..d3be45a 100644 --- a/hw/block/xen_disk.c +++ b/hw/block

[Qemu-devel] [PULL v2 00/15] xen-20180522-tag

2018-05-22 Thread Stefano Stabellini
The following changes since commit d32e41a1188e929cc0fb16829ce3736046951e39: Merge remote-tracking branch 'remotes/famz/tags/docker-and-block-pull-request' into staging (2018-05-18 14:11:52 +0100) are available in the git repository at: http://xenbits.xenproject.org/git-http/people/sstabe

Re: [Qemu-devel] [PULL 00/15] xen-20180521-tag

2018-05-22 Thread Stefano Stabellini
On Tue, 22 May 2018, Peter Maydell wrote: > On 21 May 2018 at 20:34, Stefano Stabellini wrote: > > The following changes since commit d32e41a1188e929cc0fb16829ce3736046951e39: > > > > Merge remote-tracking branch > > 'remotes/famz/tags/docker-and-block-pull-r

[Qemu-devel] [PULL 12/15] xen_disk: remove use of grant map/unmap

2018-05-21 Thread Stefano Stabellini
From: Paul Durrant Now that the (native or emulated) xen_be_copy_grant_refs() helper is always available, the xen_disk code can be significantly simplified by removing direct use of grant map and unmap operations. Signed-off-by: Paul Durrant Acked-by: Anthony Perard Signed-off-by: Stefano

[Qemu-devel] [PULL 15/15] xen_disk: be consistent with use of xendev and blkdev->xendev

2018-05-21 Thread Stefano Stabellini
-off-by: Stefano Stabellini --- hw/block/xen_disk.c | 90 +++-- 1 file changed, 46 insertions(+), 44 deletions(-) diff --git a/hw/block/xen_disk.c b/hw/block/xen_disk.c index 28651c5..9fbc0cd 100644 --- a/hw/block/xen_disk.c +++ b/hw/block/xen

[Qemu-devel] [PULL 09/15] xen_disk: remove open-coded use of libxengnttab

2018-05-21 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini --- hw/block/xen_disk.c | 122 ++-- 1 file changed, 32 insertions(+), 90 deletions(-) diff --git a/hw/block/xen_disk.c b/hw/block/xen_disk.c index 78bfb41..d3be45a 100644 --- a/hw/block/xen_disk.c +++ b/hw/block

[Qemu-devel] [PULL 03/15] configure: Add explanation for --enable-xen-pci-passthrough

2018-05-21 Thread Stefano Stabellini
From: Anthony PERARD Signed-off-by: Anthony PERARD Reviewed-by: Markus Armbruster Signed-off-by: Stefano Stabellini --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 59f91ab..a8498ab 100755 --- a/configure +++ b/configure @@ -1588,7

[Qemu-devel] [PULL 10/15] xen: remove other open-coded use of libxengnttab

2018-05-21 Thread Stefano Stabellini
From: Paul Durrant Now that helpers are available in xen_backend, use them throughout all Xen PV backends. Signed-off-by: Paul Durrant Acked-by: Anthony Perard Signed-off-by: Stefano Stabellini --- hw/9pfs/xen-9p-backend.c | 32 +++- hw/char/xen_console.c| 9

[Qemu-devel] [PULL 06/15] All the xen stable APIs define handle types of the form:

2018-05-21 Thread Stefano Stabellini
above. Signed-off-by: Paul Durrant Reviewed-by: Eric Blake Signed-off-by: Stefano Stabellini --- dtc | 2 +- scripts/checkpatch.pl | 2 +- ui/keycodemapdb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dtc b/dtc index e543880..558cd81 16 --- a

[Qemu-devel] [PULL 14/15] xen_disk: use a single entry iovec

2018-05-21 Thread Stefano Stabellini
Acked-by: Anthony Perard Signed-off-by: Stefano Stabellini --- hw/block/xen_disk.c | 76 +++-- 1 file changed, 21 insertions(+), 55 deletions(-) diff --git a/hw/block/xen_disk.c b/hw/block/xen_disk.c index 28be8b6..28651c5 100644 --- a/hw/block

[Qemu-devel] [PULL 07/15] xen: add a meaningful declaration of grant_copy_segment into xen_common.h

2018-05-21 Thread Stefano Stabellini
be cleaned up. Signed-off-by: Paul Durrant Acked-by: Anthony PERARD Signed-off-by: Stefano Stabellini --- hw/block/xen_disk.c | 18 -- include/hw/xen/xen_common.h | 17 +++-- 2 files changed, 15 insertions(+), 20 deletions(-) diff --git a/hw/block/xen_disk.c

[Qemu-devel] [PULL 13/15] xen_backend: make the xen_feature_grant_copy flag private

2018-05-21 Thread Stefano Stabellini
From: Paul Durrant There is no longer any use of this flag outside of the xen_backend code. Signed-off-by: Paul Durrant Acked-by: Anthony Perard Signed-off-by: Stefano Stabellini --- hw/xen/xen_backend.c | 2 +- include/hw/xen/xen_backend.h | 1 - 2 files changed, 1 insertion(+), 2

[Qemu-devel] [PULL 05/15] xen-hvm: create separate function for ioreq server initialization

2018-05-21 Thread Stefano Stabellini
From: Paul Durrant The code is sufficiently substantial that it improves code readability to put it in a new function called by xen_hvm_init() rather than having it inline. Signed-off-by: Paul Durrant Reviewed-by: Anthony Perard Signed-off-by: Stefano Stabellini --- hw/i386/xen/xen-hvm.c

[Qemu-devel] [PULL 02/15] xen/pt: use address_space_memory object for memory region hooks

2018-05-21 Thread Stefano Stabellini
: Stefano Stabellini --- hw/xen/xen_pt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xen/xen_pt.c b/hw/xen/xen_pt.c index 9b7a960..e5a6eff 100644 --- a/hw/xen/xen_pt.c +++ b/hw/xen/xen_pt.c @@ -907,7 +907,7 @@ out: } } -memory_listener_register(&a

[Qemu-devel] [PULL 11/15] xen_backend: add an emulation of grant copy

2018-05-21 Thread Stefano Stabellini
: Paul Durrant Acked-by: Anthony PERARD Signed-off-by: Stefano Stabellini --- hw/xen/xen_backend.c | 53 1 file changed, 53 insertions(+) diff --git a/hw/xen/xen_backend.c b/hw/xen/xen_backend.c index 50412d6..3c3fc2c 100644 --- a/hw/xen

[Qemu-devel] [PULL 01/15] xen-pvdevice: Introduce a simplistic xen-pvdevice save state

2018-05-21 Thread Stefano Stabellini
: Igor Druzhinin Reviewed-by: Paul Durrant Acked-by: Anthony PERARD Signed-off-by: Stefano Stabellini --- hw/i386/xen/xen_pvdevice.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/hw/i386/xen/xen_pvdevice.c b/hw/i386/xen/xen_pvdevice.c index f748823..a146f18 100644 --- a/hw

[Qemu-devel] [PULL 08/15] xen_backend: add grant table helpers

2018-05-21 Thread Stefano Stabellini
the shared ring. No prior method requires access to the grant table. Signed-off-by: Paul Durrant Acked-by: Anthony PERARD Signed-off-by: Stefano Stabellini --- hw/xen/xen_backend.c | 123 ++- include/hw/xen/xen_backend.h | 33 2 files

[Qemu-devel] [PULL 04/15] xen_pt: Present the size of 64 bit BARs correctly

2018-05-21 Thread Stefano Stabellini
PERARD Signed-off-by: Stefano Stabellini --- hw/xen/xen_pt_config_init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/xen/xen_pt_config_init.c b/hw/xen/xen_pt_config_init.c index a3ce33e..aee31c6 100644 --- a/hw/xen/xen_pt_config_init.c +++ b/hw/xen/xen_pt_config_init.c @@ -504,6 +504,8

[Qemu-devel] [PULL 00/15] xen-20180521-tag

2018-05-21 Thread Stefano Stabellini
The following changes since commit d32e41a1188e929cc0fb16829ce3736046951e39: Merge remote-tracking branch 'remotes/famz/tags/docker-and-block-pull-request' into staging (2018-05-18 14:11:52 +0100) are available in the git repository at: http://xenbits.xenproject.org/git-http/people/sstabe

Re: [Qemu-devel] [PATCH 03/11] xen: defer call to xen_restrict until just before os_setup_post

2018-03-11 Thread Stefano Stabellini
On Fri, 9 Mar 2018, Eduardo Habkost wrote: > On Fri, Mar 09, 2018 at 12:07:21PM +, Ian Jackson wrote: > > Ian Jackson writes ("Re: [PATCH 03/11] xen: defer call to xen_restrict > > until just before os_setup_post"): > > > Eduardo Habkost writes ("Re: [PATCH 03/11] xen: defer call to > > > xen

Re: [Qemu-devel] [PATCH] xen-pvdevice: Introduce a simplistic xen-pvdevice save state

2018-03-11 Thread Stefano Stabellini
On Thu, 8 Mar 2018, Igor Druzhinin wrote: > This should help to avoid problems with accessing the device after > migration/resume without PV drivers. Older systems will acquire > the new record when migrated which should not change their state for > worse. Could you please explain what problems th

Re: [Qemu-devel] [PATCH] 9pfs: Correctly handle cancelled requests

2018-01-26 Thread Stefano Stabellini
h ago on the v9fs-developper list). > > So in the end the following patch is not needed: > > http://lists.nongnu.org/archive/html/qemu-devel/2018-01/msg00175.html > > Zeroing the PDU size before pushing it back does job for virtio, and > it seems it will also work for Xen (at l

Re: [Qemu-devel] [PATCH] 9pfs: drop v9fs_register_transport()

2018-01-10 Thread Stefano Stabellini
On Mon, 8 Jan 2018, Greg Kurz wrote: > Stefano, can you ack/nack this one ? > > On Wed, 20 Dec 2017 20:42:54 +0100 > Greg Kurz wrote: > > > No good reasons to do this outside of v9fs_device_realize_common(). > > > > Signed-off-by: Greg Kurz Reviewed-by: Stef

Re: [Qemu-devel] [PATCH v3 1/2] 9pfs: allow PDU to complete without sending a reply

2018-01-10 Thread Stefano Stabellini
criptors > allocated by the transport, ie, finalizes the completion of the PDU > in the transport layer. It is hence renamed to pdu_complete. > > This will be used by a subsequent patch to fix request cancellation. > > Signed-off-by: Greg Kurz Reviewed-by: Stefano S

Re: [Qemu-devel] [PATCH v2] 9pfs: Correctly handle cancelled requests

2018-01-10 Thread Stefano Stabellini
On Wed, 20 Dec 2017, Greg Kurz wrote: > On Tue, 12 Dec 2017 15:14:06 -0800 (PST) > Stefano Stabellini wrote: > > > On Fri, 8 Dec 2017, Greg Kurz wrote: > > > Cc'ing Stefano using a more appropriate address :) > > > > Thanks Greg for the ping, one com

[Qemu-devel] [PULL 3/6] xenfb: Use Input Handlers directly

2017-12-14 Thread Stefano Stabellini
mapping, and supporting documention. Signed-off-by: Owen Smith Reviewed-by: Gerd Hoffmann Reviewed-by: Stefano Stabellini Signed-off-by: Stefano Stabellini --- hw/display/xenfb.c | 274 ++--- 1 file changed, 137 insertions(+), 137 deletions

[Qemu-devel] [PULL 1/6] xen-disk: use an IOThread per instance

2017-12-14 Thread Stefano Stabellini
instance in the log. Signed-off-by: Paul Durrant Acked-by: Stefano Stabellini Signed-off-by: Stefano Stabellini --- hw/block/trace-events | 7 +++ hw/block/xen_disk.c | 53 --- 2 files changed, 53 insertions(+), 7 deletions(-) diff --git a

[Qemu-devel] [PULL 4/6] xenfb: Add [feature|request]-raw-pointer

2017-12-14 Thread Stefano Stabellini
Owen Smith Reviewed-by: Gerd Hoffmann Reviewed-by: Stefano Stabellini Signed-off-by: Stefano Stabellini --- hw/display/xenfb.c | 47 ++- 1 file changed, 30 insertions(+), 17 deletions(-) diff --git a/hw/display/xenfb.c b/hw/display/xenfb.c index ed06e

[Qemu-devel] [PULL 6/6] xen/pt: Set is_express to avoid out-of-bounds write

2017-12-14 Thread Stefano Stabellini
/libglib-2.0.so.0+0x50580) #2 0x55e0fdda7d3d in device_set_realized hw/core/qdev.c:914 [...] Signed-off-by: Simon Gaiser Acked-by: Stefano Stabellini Signed-off-by: Stefano Stabellini --- hw/xen/xen_pt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/xen/xen_pt.c b/hw/xen/xen_pt.c index

[Qemu-devel] [PULL 2/6] ui: generate qcode to linux mappings

2017-12-14 Thread Stefano Stabellini
From: Owen Smith Use keycodedb to generate a qcode to linux mapping Signed-off-by: Owen Smith Reviewed-by: Gerd Hoffmann Signed-off-by: Stefano Stabellini --- Makefile | 1 + include/ui/input.h | 3 +++ ui/input-keymap.c | 1 + 3 files changed, 5 insertions(+) diff --git a

<    1   2   3   4   5   6   7   8   9   10   >