800917b5a2
- Update to Xen 4.1.2_rc2 c/s 23152 - bnc#716695 - domUs using tap devices will not start updated multi-xvdp.patch - Upstream patches from Jan 23803-intel-pmu-models.patch 23800-x86_64-guest-addr-range.patch 23795-intel-ich10-quirk.patch 23804-x86-IPI-counts.patch - bnc#706106 - Inconsistent reporting of VM names during migration xend-migration-domname-fix.patch - bnc#712823 - L3:Xen guest does not start reliable when rebooted xend-vcpu-affinity-fix.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=143
58 lines
2.1 KiB
Diff
58 lines
2.1 KiB
Diff
xenpaging: do not bounce p2mt to xenpaging
|
|
|
|
Do not bounce p2mt to xenpaging because p2m_mem_paging_populate and
|
|
p2m_mem_paging_resume dont make use of p2mt. Only pages of type
|
|
p2m_ram_rw will be paged-out, and during page-in this type has to be
|
|
restored.
|
|
|
|
Signed-off-by: Olaf Hering <olaf@aepfle.de>
|
|
|
|
---
|
|
tools/xenpaging/xenpaging.c | 4 ----
|
|
xen/arch/x86/mm/p2m.c | 1 -
|
|
2 files changed, 5 deletions(-)
|
|
|
|
Index: xen-4.1.2-testing/tools/xenpaging/xenpaging.c
|
|
===================================================================
|
|
--- xen-4.1.2-testing.orig/tools/xenpaging/xenpaging.c
|
|
+++ xen-4.1.2-testing/tools/xenpaging/xenpaging.c
|
|
@@ -657,7 +657,6 @@ int main(int argc, char *argv[])
|
|
|
|
/* Prepare the response */
|
|
rsp.gfn = req.gfn;
|
|
- rsp.p2mt = req.p2mt;
|
|
rsp.vcpu_id = req.vcpu_id;
|
|
rsp.flags = req.flags;
|
|
|
|
@@ -674,10 +673,8 @@ int main(int argc, char *argv[])
|
|
else
|
|
{
|
|
DPRINTF("page already populated (domain = %d; vcpu = %d;"
|
|
- " p2mt = %x;"
|
|
" gfn = %"PRIx64"; paused = %d)\n",
|
|
paging->mem_event.domain_id, req.vcpu_id,
|
|
- req.p2mt,
|
|
req.gfn, req.flags & MEM_EVENT_FLAG_VCPU_PAUSED);
|
|
|
|
/* Tell Xen to resume the vcpu */
|
|
@@ -686,7 +683,6 @@ int main(int argc, char *argv[])
|
|
{
|
|
/* Prepare the response */
|
|
rsp.gfn = req.gfn;
|
|
- rsp.p2mt = req.p2mt;
|
|
rsp.vcpu_id = req.vcpu_id;
|
|
rsp.flags = req.flags;
|
|
|
|
Index: xen-4.1.2-testing/xen/arch/x86/mm/p2m.c
|
|
===================================================================
|
|
--- xen-4.1.2-testing.orig/xen/arch/x86/mm/p2m.c
|
|
+++ xen-4.1.2-testing/xen/arch/x86/mm/p2m.c
|
|
@@ -2975,7 +2975,6 @@ void p2m_mem_paging_populate(struct p2m_
|
|
|
|
/* Send request to pager */
|
|
req.gfn = gfn;
|
|
- req.p2mt = p2mt;
|
|
req.vcpu_id = v->vcpu_id;
|
|
|
|
mem_event_put_request(d, &req);
|