All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Introduce XEN_PAGE_* definitions for mapping guests memory
@ 2021-08-19 17:50 Costin Lupu
  2021-08-19 17:50 ` [PATCH v2 1/4] public: Add page related definitions for accessing " Costin Lupu
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Costin Lupu @ 2021-08-19 17:50 UTC (permalink / raw)
  To: xen-devel
  Cc: Andrew Cooper, George Dunlap, Ian Jackson, Jan Beulich,
	Julien Grall, Stefano Stabellini, Wei Liu, Juergen Gross

This series tries to fix a side-effect introduced by commits 0dbb4be7 and
d1b32abd which added a dependency to xenctrl for foreignmemory and gnntab
libraries library only because they needed to use the XC_PAGE_* values.

These changes introduce the XEN_PAGE_* definitions that will be used by any
toolstack component that doesn't need a dependency to xenctrl library.

Changes since v1:
- Use same page definitions for both x86_64 and ARM (i.e. a single page.h file)
- Introduce xen_mk_long()

Costin Lupu (4):
  public: Add page related definitions for accessing guests memory
  libs/ctrl: Use Xen values for XC_PAGE_* definitions
  libs/foreignmemory: Use XEN_PAGE_* definitions
  libs/gnttab: Use XEN_PAGE_* definitions

 tools/include/xenctrl.h            |  7 +++---
 tools/libs/foreignmemory/core.c    |  2 +-
 tools/libs/foreignmemory/freebsd.c | 10 ++++-----
 tools/libs/foreignmemory/linux.c   | 18 +++++++--------
 tools/libs/foreignmemory/minios.c  | 10 +--------
 tools/libs/foreignmemory/netbsd.c  | 10 ++++-----
 tools/libs/foreignmemory/private.h |  2 +-
 tools/libs/foreignmemory/solaris.c |  6 ++---
 tools/libs/gnttab/freebsd.c        | 20 ++++++++---------
 tools/libs/gnttab/linux.c          | 20 ++++++++---------
 tools/libs/gnttab/netbsd.c         | 20 ++++++++---------
 xen/include/public/page.h          | 36 ++++++++++++++++++++++++++++++
 xen/include/public/xen.h           |  3 +++
 13 files changed, 98 insertions(+), 66 deletions(-)
 create mode 100644 xen/include/public/page.h

-- 
2.20.1



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-08-24 13:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-19 17:50 [PATCH v2 0/4] Introduce XEN_PAGE_* definitions for mapping guests memory Costin Lupu
2021-08-19 17:50 ` [PATCH v2 1/4] public: Add page related definitions for accessing " Costin Lupu
2021-08-20  6:52   ` Jan Beulich
2021-08-20  7:44     ` Costin Lupu
2021-08-20  9:06       ` Jan Beulich
2021-08-20  9:08       ` Julien Grall
2021-08-20  9:26         ` Jan Beulich
2021-08-23 17:16           ` Julien Grall
2021-08-24  6:18             ` Jan Beulich
2021-08-24 13:03             ` Costin Lupu
2021-08-24 13:19               ` Jan Beulich
2021-08-19 17:50 ` [PATCH v2 2/4] libs/ctrl: Use Xen values for XC_PAGE_* definitions Costin Lupu
2021-08-19 17:50 ` [PATCH v2 3/4] libs/foreignmemory: Use XEN_PAGE_* definitions Costin Lupu
2021-08-19 17:50 ` [PATCH v2 4/4] libs/gnttab: " Costin Lupu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.