k Wilk
> ; Roger Pau Monné
> ; Jens Axboe ; Wei Liu
> ; Paul Durrant
> ; David S. Miller ; Jakub Kicinski
> ; Boris
> Ostrovsky ; Stefano Stabellini
>
> Subject: [PATCH v2 5/8] xen/events: link interdomain events to associated
> xenbus device
>
> In order
> -Original Message-
> From: Juergen Gross
> Sent: 11 February 2021 10:16
> To: xen-de...@lists.xenproject.org; net...@vger.kernel.org;
> linux-kernel@vger.kernel.org
> Cc: Juergen Gross ; Wei Liu ; Paul
> Durrant ; David
> S. Miller ; Jakub Kicinski
>
From: Paul Durrant
Prior to commit 4a8c31a1c6f5 ("xen/blkback: rework connect_ring() to avoid
inconsistent xenstore 'ring-page-order' set by malicious blkfront"), the
behaviour of xen-blkback when connecting to a frontend was:
- read 'ring-page-order'
- if not pre
> -Original Message-
> From: Roger Pau Monné
> Sent: 02 February 2021 16:29
> To: Paul Durrant
> Cc: xen-de...@lists.xenproject.org; linux-bl...@vger.kernel.org;
> linux-kernel@vger.kernel.org; Paul
> Durrant ; Konrad Rzeszutek Wilk
> ; Jens Axboe
> ;
> -Original Message-
> From: Xen-devel On Behalf Of Dongli
> Zhang
> Sent: 30 January 2021 05:09
> To: p...@xen.org; 'Jürgen Groß' ;
> xen-de...@lists.xenproject.org; linux-
> bl...@vger.kernel.org; linux-kernel@vger.kernel.org
> Cc: 'Paul Durrant
From: Paul Durrant
Prior to commit 4a8c31a1c6f5 ("xen/blkback: rework connect_ring() to avoid
inconsistent xenstore 'ring-page-order' set by malicious blkfront"), the
behaviour of xen-blkback when connecting to a frontend was:
- read 'ring-page-order'
- if not pre
Apologies; I missed the v2 from the subject line. I'll re-send.
Paul
> -Original Message-
> From: Xen-devel On Behalf Of Paul
> Durrant
> Sent: 28 January 2021 12:55
> To: xen-de...@lists.xenproject.org; linux-bl...@vger.kernel.org;
> linux-kernel@vger.kernel
From: Paul Durrant
Prior to commit 4a8c31a1c6f5 ("xen/blkback: rework connect_ring() to avoid
inconsistent xenstore 'ring-page-order' set by malicious blkfront"), the
behaviour of xen-blkback when connecting to a frontend was:
- read 'ring-page-order'
- if not pre
> -Original Message-
> From: Xen-devel On Behalf Of Dongli
> Zhang
> Sent: 27 January 2021 19:57
> To: Paul Durrant ; xen-de...@lists.xenproject.org;
> linux-bl...@vger.kernel.org; linux-
> ker...@vger.kernel.org
> Cc: Paul Durrant ; Konrad Rzeszutek Wilk
>
> -Original Message-
> From: Jan Beulich
> Sent: 27 January 2021 11:21
> To: p...@xen.org
> Cc: 'Paul Durrant' ; 'Konrad Rzeszutek Wilk'
> ; 'Roger Pau
> Monné' ; 'Jens Axboe' ; 'Dongli Zhang'
>
> -Original Message-
> From: Jan Beulich
> Sent: 27 January 2021 10:57
> To: Paul Durrant
> Cc: Paul Durrant ; Konrad Rzeszutek Wilk
> ; Roger Pau
> Monné ; Jens Axboe ; Dongli Zhang
> ;
> linux-kernel@vger.kernel.org; linux-bl...@vger.kernel.org;
>
From: Paul Durrant
Prior to commit 4a8c31a1c6f5 ("xen/blkback: rework connect_ring() to avoid
inconsistent xenstore 'ring-page-order' set by malicious blkfront"), the
behaviour of xen-blkback when connecting to a frontend was:
- read 'ring-page-order'
- if not pre
> -Original Message-
> From: Lee Jones
> Sent: 15 January 2021 20:09
> To: lee.jo...@linaro.org
> Cc: linux-kernel@vger.kernel.org; Wei Liu ; Paul Durrant
> ; David S.
> Miller ; Jakub Kicinski ; Alexei
> Starovoitov ;
> Daniel Borkmann ; Jesper Dangaard
> -Original Message-
> From: Souptick Joarder
> Sent: 12 July 2020 04:40
> To: boris.ostrov...@oracle.com; jgr...@suse.com; sstabell...@kernel.org
> Cc: xen-de...@lists.xenproject.org; linux-kernel@vger.kernel.org; Souptick
> Joarder
> ; John Hubbard ; Paul Durrant
> -Original Message-
> From: Souptick Joarder
> Sent: 12 July 2020 04:40
> To: boris.ostrov...@oracle.com; jgr...@suse.com; sstabell...@kernel.org
> Cc: xen-de...@lists.xenproject.org; linux-kernel@vger.kernel.org; Souptick
> Joarder
> ; John Hubbard ; Paul Durrant
> -Original Message-
> From: Souptick Joarder
> Sent: 12 July 2020 04:40
> To: boris.ostrov...@oracle.com; jgr...@suse.com; sstabell...@kernel.org
> Cc: xen-de...@lists.xenproject.org; linux-kernel@vger.kernel.org; Souptick
> Joarder
> ; John Hubbard ; Paul Durrant
> -Original Message-
> From: Boris Ostrovsky
> Sent: 17 June 2020 18:57
> To: Souptick Joarder ; jgr...@suse.com;
> sstabell...@kernel.org
> Cc: xen-de...@lists.xenproject.org; linux-kernel@vger.kernel.org; John
> Hubbard ;
> p...@xen.org
> Subject: Re: [RFC PATCH] xen/privcmd: Convert g
l of
> wake_up_process().
I guess the reason it was done that way was to ensure that queue->task
and queue->dealloc_task would be set before the relevant threads
executed, but I don't see anywhere relying on this so I guess change
is safe. The rest of it looks fine.
>
> Signed
the netdev until the vif
> is shut down")
> Cc: # 3.12
> Signed-off-by: Juergen Gross
Yes, looks like this should have been cleaned up a long time ago.
Reviewed-by: Paul Durrant
> ---
> drivers/net/xen-netback/interface.c | 1 -
> 1 file changed, 1 deletion(-)
>
> d
> -Original Message-
> From: Igor Druzhinin [mailto:igor.druzhi...@citrix.com]
> Sent: 28 February 2019 14:11
> To: xen-de...@lists.xenproject.org; net...@vger.kernel.org;
> linux-kernel@vger.kernel.org
> Cc: Wei Liu ; Paul Durrant ;
> da...@davemloft.net; Igor
&
> -Original Message-
> From: Xen-devel [mailto:xen-devel-boun...@lists.xenproject.org] On Behalf Of
> Paul Durrant
> Sent: 28 February 2019 11:22
> To: Wei Liu
> Cc: Igor Druzhinin ; Wei Liu
> ; net...@vger.kernel.org;
> linux-kernel@vger.kernel.org; xen-de
> -Original Message-
> From: Igor Druzhinin [mailto:igor.druzhi...@citrix.com]
> Sent: 28 February 2019 11:44
> To: Paul Durrant ; Wei Liu
> Cc: xen-de...@lists.xenproject.org; net...@vger.kernel.org;
> linux-kernel@vger.kernel.org;
> da...@davemloft.net
>
> -Original Message-
> From: Wei Liu [mailto:wei.l...@citrix.com]
> Sent: 28 February 2019 11:02
> To: Paul Durrant
> Cc: Igor Druzhinin ;
> xen-de...@lists.xenproject.org;
> net...@vger.kernel.org; linux-kernel@vger.kernel.org; Wei Liu
> ;
> da...@davemlof
> -Original Message-
> From: Igor Druzhinin [mailto:igor.druzhi...@citrix.com]
> Sent: 28 February 2019 02:03
> To: xen-de...@lists.xenproject.org; net...@vger.kernel.org;
> linux-kernel@vger.kernel.org
> Cc: Wei Liu ; Paul Durrant ;
> da...@davemloft.net; Igor
&
> -Original Message-
> From: Xen-devel [mailto:xen-devel-boun...@lists.xenproject.org] On Behalf Of
> Andrew Cooper
> Sent: 26 February 2019 09:30
> To: Roger Pau Monne ; Julien Grall
>
> Cc: Juergen Gross ; Stefano Stabellini
> ; Oleksandr
> Andrushchenko ; linux-kernel@vger.kernel.org
> -Original Message-
> From: Dongli Zhang [mailto:dongli.zh...@oracle.com]
> Sent: 07 January 2019 05:36
> To: xen-de...@lists.xenproject.org; linux-bl...@vger.kernel.org; linux-
> ker...@vger.kernel.org
> Cc: konrad.w...@oracle.com; Roger Pau Monne ;
> ax...@ke
> -Original Message-
> From: Dongli Zhang [mailto:dongli.zh...@oracle.com]
> Sent: 07 January 2019 05:36
> To: xen-de...@lists.xenproject.org; linux-bl...@vger.kernel.org; linux-
> ker...@vger.kernel.org
> Cc: konrad.w...@oracle.com; Roger Pau Monne ;
> ax...@ke
> -Original Message-
> On 12/19/2018 09:23 PM, Dongli Zhang wrote:
> > The xenstore 'ring-page-order' is used globally for each blkback queue
> and
> > therefore should be read from xenstore only once. However, it is
> obtained
> > in read_per_ring_refs() which might be called multiple time
> -Original Message-
> From: Dongli Zhang [mailto:dongli.zh...@oracle.com]
> Sent: 07 December 2018 15:10
> To: Paul Durrant ; linux-kernel@vger.kernel.org;
> xen-de...@lists.xenproject.org; linux-bl...@vger.kernel.org
> Cc: ax...@kernel.dk; Roger Pau Monne ;
> k
> -Original Message-
> From: Xen-devel [mailto:xen-devel-boun...@lists.xenproject.org] On Behalf
> Of Dongli Zhang
> Sent: 07 December 2018 04:18
> To: linux-kernel@vger.kernel.org; xen-de...@lists.xenproject.org; linux-
> bl...@vger.kernel.org
> Cc: ax...@kernel.dk; Roger Pau Monne ;
> kon
Apoligies. I appear to have already sent this a while ago.
Paul
> -Original Message-
> From: Paul Durrant [mailto:paul.durr...@citrix.com]
> Sent: 09 May 2018 14:16
> To: xen-de...@lists.xenproject.org; linux-kernel@vger.kernel.org; linux-
> arm-ker...@lists.infradead
lower layers of the
remap code.
Signed-off-by: Paul Durrant
Reviewed-by: Boris Ostrovsky
---
Cc: Juergen Gross
Cc: Thomas Gleixner
Cc: Ingo Molnar
Cc: Stefano Stabellini
v5:
- Handle the case of xen_feature(XENFEAT_auto_translated_physmap) &&
(PAGE_SIZE > XEN_PAGE_SIZE)
v4
> -Original Message-
> From: Oleksandr Andrushchenko [mailto:andr2...@gmail.com]
> Sent: 18 April 2018 11:21
> To: Paul Durrant ; Roger Pau Monne
>
> Cc: jgr...@suse.com; Artem Mygaiev ;
> Dongwon Kim ; airl...@linux.ie;
> oleksandr_andrushche...@epam.com; linu
> -Original Message-
> From: Xen-devel [mailto:xen-devel-boun...@lists.xenproject.org] On Behalf
> Of Roger Pau Monné
> Sent: 18 April 2018 11:11
> To: Oleksandr Andrushchenko
> Cc: jgr...@suse.com; Artem Mygaiev ;
> Dongwon Kim ; airl...@linux.ie;
> oleksandr_andrushche...@epam.com; linux
lower layers of the
remap code.
Signed-off-by: Paul Durrant
Reviewed-by: Boris Ostrovsky
---
Cc: Juergen Gross
Cc: Thomas Gleixner
Cc: Ingo Molnar
Cc: Stefano Stabellini
v5:
- Handle the case of xen_feature(XENFEAT_auto_translated_physmap) &&
(PAGE_SIZE > XEN_PAGE_SIZE)
v4
> -Original Message-
> From: Julien Grall [mailto:julien.gr...@arm.com]
> Sent: 11 April 2018 10:46
> To: Paul Durrant ; xen-de...@lists.xenproject.org;
> linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org
> Cc: Juergen Gross ; Thomas Gleixner
> ; Stef
lower layers of the
remap code.
Signed-off-by: Paul Durrant
Reviewed-by: Boris Ostrovsky
---
Cc: Juergen Gross
Cc: Thomas Gleixner
Cc: Ingo Molnar
Cc: Stefano Stabellini
v4:
- Remove stray line of debug that causes a build warning on ARM 32-bit
v3:
- Addres comments from Boris
- Fix A
> -Original Message-
> From: Boris Ostrovsky [mailto:boris.ostrov...@oracle.com]
> Sent: 09 April 2018 20:19
> To: Paul Durrant ; xen-de...@lists.xenproject.org;
> linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org
> Cc: Juergen Gross ; Thomas Gleixn
lower layers of the
remap code.
Signed-off-by: Paul Durrant
---
Cc: Boris Ostrovsky
Cc: Juergen Gross
Cc: Thomas Gleixner
Cc: Ingo Molnar
Cc: Stefano Stabellini
v2:
- Fix bug when mapping multiple pages of a resource
v3:
- Addres comments from Boris
- Fix ARM build
---
arch/arm/xen/enl
> -Original Message-
> From: Boris Ostrovsky [mailto:boris.ostrov...@oracle.com]
> Sent: 05 April 2018 23:34
> To: Paul Durrant ; x...@kernel.org; xen-
> de...@lists.xenproject.org; linux-kernel@vger.kernel.org
> Cc: Juergen Gross ; Thomas Gleixner
> ; Ingo Molnar
>
lower layers of the
remap code.
Signed-off-by: Paul Durrant
---
Cc: Boris Ostrovsky
Cc: Juergen Gross
Cc: Thomas Gleixner
Cc: Ingo Molnar
v2:
- Fix bug when mapping multiple pages of a resource
---
arch/x86/xen/mmu.c | 50 +++-
drivers/xen/priv
> -Original Message-
> From: Paul Durrant [mailto:paul.durr...@citrix.com]
> Sent: 05 April 2018 10:32
> To: xen-de...@lists.xenproject.org; linux-kernel@vger.kernel.org;
> x...@kernel.org
> Cc: Paul Durrant ; Boris Ostrovsky
> ; Juergen Gross ; Thomas
> Gleixner
lower layers of the
remap code.
Signed-off-by: Paul Durrant
---
Cc: Boris Ostrovsky
Cc: Juergen Gross
Cc: Thomas Gleixner
Cc: Ingo Molnar
---
arch/x86/xen/mmu.c | 50 -
drivers/xen/privcmd.c | 119 +
includ
> -Original Message-
> From: Dongli Zhang [mailto:dongli.zh...@oracle.com]
> Sent: 28 March 2018 00:42
> To: xen-de...@lists.xenproject.org; linux-kernel@vger.kernel.org
> Cc: net...@vger.kernel.org; Wei Liu ; Paul Durrant
>
> Subject: [PATCH 1/1] xen-netback: proc
> -Original Message-
> From: Joe Perches [mailto:j...@perches.com]
> Sent: 06 December 2017 06:40
> To: Wei Liu ; Paul Durrant
> Cc: xen-de...@lists.xenproject.org; net...@vger.kernel.org; linux-
> ker...@vger.kernel.org
> Subject: [PATCH] xen-netback: Fix logging
> -Original Message-
> From: Eduardo Otubo [mailto:ot...@redhat.com]
> Sent: 20 November 2017 10:41
> To: xen-de...@lists.xenproject.org
> Cc: net...@vger.kernel.org; Paul Durrant ; Wei
> Liu ; linux-kernel@vger.kernel.org;
> vkuzn...@redhat.com; cav...@redhat.com; che
present. A check is also added
to xen_remap_domain_gfn_range() to fail with -EOPNOTSUPP since this
should not be used in an HVM tools domain.
Signed-off-by: Paul Durrant
---
Cc: Boris Ostrovsky
Cc: Juergen Gross
Cc: Thomas Gleixner
Cc: Ingo Molnar
Cc: "H. Peter Anvin"
v4:
- Restore
> -Original Message-
> From: Paul Durrant [mailto:paul.durr...@citrix.com]
> Sent: 03 November 2017 16:58
> To: x...@kernel.org; xen-de...@lists.xenproject.org; linux-
> ker...@vger.kernel.org
> Cc: Paul Durrant ; Boris Ostrovsky
> ; Juergen Gross ; Thomas
> Gl
present.
This patch also moves xen_remap_domain_gfn_range() into the PV-only MMU
code and #ifdefs the (only) calling code in privcmd accordingly.
Signed-off-by: Paul Durrant
---
Cc: Boris Ostrovsky
Cc: Juergen Gross
Cc: Thomas Gleixner
Cc: Ingo Molnar
Cc: "H. Peter Anvin"
v3:
-
> -Original Message-
> From: Boris Ostrovsky [mailto:boris.ostrov...@oracle.com]
> Sent: 01 November 2017 18:19
> To: Juergen Gross ; Paul Durrant
> ; x...@kernel.org; xen-
> de...@lists.xenproject.org; linux-kernel@vger.kernel.org
> Cc: Thomas Gleixner ; Ingo Moln
> -Original Message-
> From: Juergen Gross [mailto:jgr...@suse.com]
> Sent: 01 November 2017 13:40
> To: Paul Durrant ; x...@kernel.org; xen-
> de...@lists.xenproject.org; linux-kernel@vger.kernel.org
> Cc: Boris Ostrovsky ; Thomas Gleixner
> ; Ingo Molnar ; H. Peter A
present.
This patch also moves xen_remap_domain_gfn_range() into the PV-only MMU
code and #ifdefs the (only) calling code in privcmd accordingly.
Signed-off-by: Paul Durrant
---
Cc: Boris Ostrovsky
Cc: Juergen Gross
Cc: Thomas Gleixner
Cc: Ingo Molnar
Cc: "H. Peter Anvin"
---
ar
> -Original Message-
> From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of
> Boris Ostrovsky
> Sent: 20 October 2017 16:09
> To: Paul Durrant ; x...@kernel.org; xen-
> de...@lists.xenproject.org; linux-kernel@vger.kernel.org
> Cc: Juergen Gross ; Tho
> -Original Message-
> From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of
> Boris Ostrovsky
> Sent: 19 October 2017 18:45
> To: Paul Durrant ; x...@kernel.org; xen-
> de...@lists.xenproject.org; linux-kernel@vger.kernel.org
> Cc: Juergen Gross ; Tho
present. A check is also added
to xen_remap_domain_gfn_range() to fail with -EOPNOTSUPP since this
should not be used in an HVM tools domain.
Signed-off-by: Paul Durrant
---
Cc: Boris Ostrovsky
Cc: Juergen Gross
Cc: Thomas Gleixner
Cc: Ingo Molnar
Cc: "H. Peter Anvin"
---
arch/x86
Apologies... I misformatted this. I will re-send.
Paul
> -Original Message-
> From: Paul Durrant [mailto:paul.durr...@citrix.com]
> Sent: 19 October 2017 16:24
> To: x...@kernel.org; xen-de...@lists.xenproject.org; linux-
> ker...@vger.kernel.org
> Cc: Paul Durrant
present. A check is also added
to xen_remap_domain_gfn_range() to fail with -EOPNOTSUPP since this
should not be used in an HVM tools domain.
Signed-off-by: Paul Durrant
---
Boris Ostrovsky
Juergen Gross
Thomas Gleixner
Ingo Molnar
"H. Peter Anvin"
---
arch/x86/xen/mmu.c | 14 +++
> -Original Message-
> From: 'Marek Marczykowski-Górecki'
> [mailto:marma...@invisiblethingslab.com]
> Sent: 26 June 2017 14:22
> To: Paul Durrant
> Cc: Juergen Groß ; Andrew Cooper
> ; x...@kernel.org; linux-
> ker...@vger.kernel.org;
> -Original Message-
> From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of
> Marek Marczykowski-Górecki
> Sent: 26 June 2017 13:45
> To: Juergen Groß
> Cc: Andrew Cooper ; x...@kernel.org; linux-
> ker...@vger.kernel.org; sta...@vger.kernel.org; xen-
> de...@lists.xenproj
> -Original Message-
> From: Juergen Gross [mailto:jgr...@suse.com]
> Sent: 02 March 2017 12:13
> To: Wei Liu
> Cc: Igor Druzhinin ; xen-devel de...@lists.xenproject.org>; Linux Kernel Mailing List ker...@vger.kernel.org>; net...@vger.kernel.org; Boris Ostrovsky
&g
> -Original Message-
> From: Stefano Stabellini [mailto:sstabell...@kernel.org]
> Sent: 14 February 2017 18:39
> To: Boris Ostrovsky
> Cc: Paul Durrant ; xen-de...@lists.xenproject.org;
> linux-kernel@vger.kernel.org; Stefano Stabellini ;
> Juergen Gross
> Subject
My previous reply got bounced because my tablet insisted on using HTML...
> -Original Message-
>
> These need to be static. (I can fix it when committing.)
Ok, thanks.
>
> And I am still not sure about using XEN_PAGE_SIZE. There is no
> dependency in the hypervisor on buffers being pag
=commit;h=524a98c2
Signed-off-by: Paul Durrant
---
Cc: Boris Ostrovsky
Cc: Juergen Gross
v3:
- Add module parameters for max number of dm_op buffers and max buffer
size
- Fix arm build
- Fix commit comment to reflect re-worked patch
v2:
- Lock the user pages rather than bouncing through kernel
compromised device model.
Signed-off-by: Paul Durrant
---
Cc: Boris Ostrovsky
Cc: Juergen Gross
v3:
- Extend restriction to mapping ioctls
v2:
- Make sure that a restriction cannot be cleared
---
drivers/xen/privcmd.c | 88 +-
include/uapi/xen
This patch series follows on from my recent Xen series [1], to provide
support in privcmd for de-privileging of device emulators.
[1] https://lists.xen.org/archives/html/xen-devel/2017-01/msg02558.html
Paul Durrant (3):
xen/privcmd: return -ENOTTY for unimplemented IOCTLs
xen/privcmd: Add
igned-off-by: Paul Durrant
---
Cc: Boris Ostrovsky
Cc: Juergen Gross
v2:
- Use -ENOTTY rather than -ENOSYS
---
drivers/xen/privcmd.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/xen/privcmd.c b/drivers/xen/privcmd.c
index 6e3306f..5e5c7ae 100644
--- a/driver
> -Original Message-
> From: Boris Ostrovsky [mailto:boris.ostrov...@oracle.com]
> Sent: 13 February 2017 14:09
> To: Paul Durrant ; xen-de...@lists.xenproject.org;
> linux-kernel@vger.kernel.org
> Cc: Juergen Gross
> Subject: Re: [PATCH v2 2/3] xen/privcmd: Ad
> -Original Message-
> From: Boris Ostrovsky [mailto:boris.ostrov...@oracle.com]
> Sent: 10 February 2017 17:45
> To: Paul Durrant ; xen-de...@lists.xenproject.org;
> linux-kernel@vger.kernel.org
> Cc: Juergen Gross
> Subject: Re: [PATCH v2 2/3] xen/privcmd: Ad
> -Original Message-
> From: Boris Ostrovsky [mailto:boris.ostrov...@oracle.com]
> Sent: 10 February 2017 16:18
> To: Paul Durrant ; xen-de...@lists.xenproject.org;
> linux-kernel@vger.kernel.org
> Cc: Juergen Gross
> Subject: Re: [PATCH v2 2/3] xen/privcmd: Ad
compromised device model.
Signed-off-by: Paul Durrant
---
Cc: Boris Ostrovsky
Cc: Juergen Gross
v2:
- Make sure that a restriction cannot be cleared
---
drivers/xen/privcmd.c | 67 +++---
include/uapi/xen/privcmd.h | 2 ++
2 files changed, 65 insertions
gateway for __HYPERVISOR_dm_op,
bouncing the callers buffers through kernel memory to allow the address
ranges to be audited (and negating the need to bounce through locked
memory in user-space).
[1] http://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=524a98c2
Signed-off-by: Paul Durrant
---
Cc: Boris
This patch series follows on from my recent Xen series [1], to provide
support in privcmd for de-privileging of device emulators.
[1] https://lists.xen.org/archives/html/xen-devel/2017-01/msg02558.html
Paul Durrant (3):
xen/privcmd: return -ENOTTY for unimplemented IOCTLs
xen/privcmd: Add
igned-off-by: Paul Durrant
---
Cc: Boris Ostrovsky
Cc: Juergen Gross
v2:
- Use -ENOTTY rather than -ENOSYS
---
drivers/xen/privcmd.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/xen/privcmd.c b/drivers/xen/privcmd.c
index 6e3306f..5e5c7ae 100644
--- a/driver
> -Original Message-
> From: Boris Ostrovsky [mailto:boris.ostrov...@oracle.com]
> Sent: 09 February 2017 15:50
> To: Paul Durrant ; xen-de...@lists.xenproject.org;
> linux-kernel@vger.kernel.org
> Cc: Juergen Gross
> Subject: Re: [PATCH 2/3] xen/privcmd: Ad
> -Original Message-
> From: Boris Ostrovsky [mailto:boris.ostrov...@oracle.com]
> Sent: 09 February 2017 15:26
> To: Jan Beulich ; Paul Durrant
>
> Cc: xen-de...@lists.xenproject.org; Juergen Gross ;
> linux-kernel@vger.kernel.org
> Subject: Re: [Xen-devel]
> -Original Message-
> From: Jan Beulich [mailto:jbeul...@suse.com]
> Sent: 09 February 2017 14:43
> To: Paul Durrant
> Cc: xen-de...@lists.xenproject.org; Boris Ostrovsky
> ; Juergen Gross ; linux-
> ker...@vger.kernel.org
> Subject: Re: [Xen-devel] [PAT
> -Original Message-
> From: Paul Durrant [mailto:paul.durr...@citrix.com]
> Sent: 09 February 2017 14:18
> To: xen-de...@lists.xenproject.org; linux-kernel@vger.kernel.org
> Cc: Paul Durrant ; Boris Ostrovsky
> ; Juergen Gross
> Subject: [PATCH 2/3] xen/privcmd: Ad
compromised device model.
Signed-off-by: Paul Durrant
---
Cc: Boris Ostrovsky
Cc: Juergen Gross
---
drivers/xen/privcmd.c | 64 +++---
include/uapi/xen/privcmd.h | 2 ++
2 files changed, 62 insertions(+), 4 deletions(-)
diff --git a/drivers/xen
The code goes so far as to set the default return code to -ENOSYS but
then overrides this to -EINVAL in the switch() statement's default
case.
This patch removes this pointless and incorrect override.
Signed-off-by: Paul Durrant
---
Cc: Boris Ostrovsky
Cc: Juergen Gross
---
driver
This patch series follows on from my recent Xen series [1], to provide
support in privcmd for de-privileging of device emulators.
[1] https://lists.xen.org/archives/html/xen-devel/2017-01/msg02558.html
Paul Durrant (3):
xen/privcmd: return -ENOSYS for unimplemented IOCTLs
xen/privcmd: Add
gateway for __HYPERVISOR_dm_op,
bouncing the callers buffers through kernel memory to allow the address
ranges to be audited (and negating the need to bounce through locked
memory in user-space).
[1] http://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=524a98c2
Signed-off-by: Paul Durrant
---
Cc: Boris
> -Original Message-
> From: Igor Druzhinin [mailto:igor.druzhi...@citrix.com]
> Sent: 17 January 2017 20:50
> To: Wei Liu
> Cc: Paul Durrant ; xen-de...@lists.xenproject.org;
> net...@vger.kernel.org; linux-kernel@vger.kernel.org; Igor Druzhinin
>
> Subject: [P
> -Original Message-
> From: Igor Druzhinin [mailto:igor.druzhi...@citrix.com]
> Sent: 17 January 2017 20:50
> To: Wei Liu
> Cc: Paul Durrant ; xen-de...@lists.xenproject.org;
> net...@vger.kernel.org; linux-kernel@vger.kernel.org; Igor Druzhinin
>
> Subject: [P
> -Original Message-
> From: Wei Liu [mailto:wei.l...@citrix.com]
> Sent: 13 January 2017 10:38
> To: Igor Druzhinin
> Cc: Wei Liu ; xen-de...@lists.xenproject.org; Paul
> Durrant ; net...@vger.kernel.org; linux-
> ker...@vger.kernel.org
> Subject: Re: [PATCH]
> -Original Message-
> From: Igor Druzhinin [mailto:igor.druzhi...@citrix.com]
> Sent: 12 January 2017 17:52
> To: Wei Liu ; xen-de...@lists.xenproject.org; Paul
> Durrant
> Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org; Igor Druzhinin
>
> Subject:
> -Original Message-
> From: Juergen Gross [mailto:jgr...@suse.com]
> Sent: 06 January 2017 15:06
> To: linux-kernel@vger.kernel.org; xen-de...@lists.xenproject.org
> Cc: boris.ostrov...@oracle.com; Juergen Gross ;
> konrad.w...@oracle.com; Roger Pau Monne ; Wei Li
> -Original Message-
> From: Arnd Bergmann [mailto:a...@arndb.de]
> Sent: 08 November 2016 13:35
> To: David Vrabel
> Cc: Arnd Bergmann ; Wei Liu ; Paul
> Durrant ; David S. Miller
> ; Juergen Gross ; Filipe Manco
> ; xen-de...@lists.xenproject.org;
> net...@vg
> -Original Message-
> From: Juergen Gross [mailto:jgr...@suse.com]
> Sent: 31 October 2016 16:48
> To: linux-kernel@vger.kernel.org; xen-de...@lists.xen.org
> Cc: David Vrabel ; boris.ostrov...@oracle.com;
> Juergen Gross ; Wei Liu ; Paul
> Durrant ; net...@vger
> -Original Message-
> From: Arnd Bergmann [mailto:a...@arndb.de]
> Sent: 12 October 2016 10:54
> To: Wei Liu ; Paul Durrant
> Cc: Arnd Bergmann ; David S. Miller
> ; David Vrabel ; xen-
> de...@lists.xenproject.org; net...@vger.kernel.org; linux-
> ker...@v
> -Original Message-
> From: Juergen Gross [mailto:jgr...@suse.com]
> Sent: 11 October 2016 12:34
> To: linux-kernel@vger.kernel.org; xen-de...@lists.xen.org
> Cc: David Vrabel ; boris.ostrov...@oracle.com;
> Paul Durrant ; Juergen Gross
> Subject: [PATCH v2] xenb
The Xen docs specify several flags which a guest can set to advertize
which values of the xenstore control/shutdown key it will recognize.
This patch adds code to write all the relevant feature-flag keys.
Signed-off-by: Paul Durrant
Cc: Boris Ostrovsky
Cc: David Vrabel
Cc: Juergen Gross
> -Original Message-
> From: David Vrabel [mailto:david.vra...@citrix.com]
> Sent: 10 October 2016 11:16
> To: Paul Durrant ; linux-kernel@vger.kernel.org;
> xen-de...@lists.xenproject.org
> Cc: Boris Ostrovsky ; Juergen Gross
>
> Subject: Re: [PATCH v2] xenbus: a
> -Original Message-
> From: Juergen Gross [mailto:jgr...@suse.com]
> Sent: 10 October 2016 10:17
> To: Paul Durrant ; linux-kernel@vger.kernel.org;
> xen-de...@lists.xenproject.org
> Cc: Boris Ostrovsky ; David Vrabel
>
> Subject: Re: [PATCH] xenbus: adverti
The Xen docs specify several flags which a guest can set to advertize
which values of the xenstore control/shutdown key it will recognize.
This patch adds code to write all the relevant feature-flag keys.
Signed-off-by: Paul Durrant
Cc: Boris Ostrovsky
Cc: David Vrabel
Cc: Juergen Gross
> -Original Message-
> From: Juergen Gross [mailto:jgr...@suse.com]
> Sent: 10 October 2016 10:11
> To: Paul Durrant ; linux-kernel@vger.kernel.org;
> xen-de...@lists.xenproject.org
> Cc: Boris Ostrovsky ; David Vrabel
>
> Subject: Re: [PATCH] xenbus: adverti
The Xen docs specify several flags which a guest can set to advertize
which values of the xenstore control/shutdown key it will recognize.
This patch adds code to write all the relevant feature-flag keys.
Signed-off-by: Paul Durrant
Cc: Boris Ostrovsky
Cc: David Vrabel
Cc: Juergen Gross
> -Original Message-
> From: Juergen Gross [mailto:jgr...@suse.com]
> Sent: 22 September 2016 11:39
> To: Paul Durrant ; xen-de...@lists.xenproject.org;
> net...@vger.kernel.org; linux-kernel@vger.kernel.org
> Cc: Wei Liu
> Subject: Re: [Xen-devel] [PATCH resend] x
> -Original Message-
> From: Juergen Gross [mailto:jgr...@suse.com]
> Sent: 22 September 2016 11:17
> To: Paul Durrant ; xen-de...@lists.xenproject.org;
> net...@vger.kernel.orga ; linux-
> ker...@vger.kernel.org
> Cc: Wei Liu
> Subject: Re: [Xen-devel] [PATCH res
> -Original Message-
> From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of
> Juergen Gross
> Sent: 22 September 2016 10:03
> To: xen-de...@lists.xenproject.org; net...@vger.kernel.orga; linux-
> ker...@vger.kernel.org
> Cc: Juergen Gross ; Wei Liu
> Subject: [Xen-devel] [
> -Original Message-
[snip]
> >
> > Also, I'm not sure this is correct, if blkfront sees the "Closing" state on
> > blkback it will try to close the frontend and destroy the block device (see
> > blkfront_closing), and this should be avoided. You should call
> > blkfront_resume as soon as y
1 - 100 of 130 matches
Mail list logo