xen: pvh: Add machine option to disable the mapcache
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | xen: mapcache: Assert mapcache existancehw/ | +10 | 1 reply | |
| 2/5 | xen: mapcache: Add function to check if the mapcache is enabledhw/ hw/ include/ | +12 | 1 reply | |
| 3/5 | physmem: xen: Conditionalize use of the mapcachesystem/ | +7 | 4 replies | |
| 4/5 | hw/xen-hvm: Add a mapcache arg to xen_register_ioreq()hw/ hw/ hw/ +1 more | +17 | 1 reply | |
| 5/5 | hw/xen: xenpvh: Add prop to enable/disable the mapcachehw/ include/ | +124 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Peter Xu | Stefano Stabellini |
|---|---|---|
| 1/5 | R-b | |
| 2/5 | R-b | |
| 3/5 | A-b | R-b |
| 4/5 | R-b | |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 0/5] xen: pvh: Add machine option to disable the mapcache
From: "Edgar E. Iglesias" <[email protected]>
This adds a mapcache option to the PVH machines allowing users to disable the mapcache. To remain backwards compatible, the option defaults to "on".
When disabled, all guest memory is mapped at startup rather than on demand. Starting QEMU may take longer in this mode, but runtime overhead is reduced and it also enables virtio vhost backends to work.
As a trade-off, grants are unavailable without the mapcache and guests with large amounts of RAM can take quite a while to start.
Cheers,
Edgar
Edgar E. Iglesias (5):
xen: mapcache: Assert mapcache existance
xen: mapcache: Add function to check if the mapcache is enabled
physmem: xen: Conditionalize use of the mapcache hw/xen-hvm: Add a mapcache arg to xen_register_ioreq() hw/xen: xenpvh: Add prop to enable/disable the mapcache
hw/i386/xen/xen-hvm.c | 2 +- hw/xen/xen-hvm-common.c | 18 +++-- hw/xen/xen-mapcache.c | 16 ++++ hw/xen/xen-pvh-common.c | 134 +++++++++++++++++++++++++++++--- hw/xen/xen_stubs.c | 5 ++ include/hw/xen/xen-hvm-common.h | 3 +- include/hw/xen/xen-pvh-common.h | 2 + include/system/xen-mapcache.h | 1 + system/physmem.c | 13 ++-- 9 files changed, 169 insertions(+), 25 deletions(-)
Signature · 1 line
2.43.0