From d06b74f6817f4d271b82b25248cada7a8ac63572667297b8293ea84be7288c22 Mon Sep 17 00:00:00 2001 From: Charles Arnold Date: Mon, 19 Nov 2012 15:28:27 +0000 Subject: [PATCH] Renamed 26093-hvm_handle_PoD_and_grant_pages_in_HVMOP_get_mem_type.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=213 --- ...nd_grant_pages_in_HVMOP_get_mem_type.patch | 31 ------------------- xen.spec | 1 + 2 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 26093-hvm_handle_PoD_and_grant_pages_in_HVMOP_get_mem_type.patch diff --git a/26093-hvm_handle_PoD_and_grant_pages_in_HVMOP_get_mem_type.patch b/26093-hvm_handle_PoD_and_grant_pages_in_HVMOP_get_mem_type.patch deleted file mode 100644 index 30b5003..0000000 --- a/26093-hvm_handle_PoD_and_grant_pages_in_HVMOP_get_mem_type.patch +++ /dev/null @@ -1,31 +0,0 @@ -changeset: 26093:4ae08ca5500f -user: Olaf Hering -date: Fri Oct 19 16:09:05 2012 +0200 -files: xen/arch/x86/hvm/hvm.c -description: -hvm: handle PoD and grant pages in HVMOP_get_mem_type - -During kexec in a ballooned PVonHVM guest the new kernel needs to check -each pfn if its backed by a mfn to find ballooned pages. Currently all -PoD and grant pages will appear as HVMMEM_mmio_dm, so the new kernel has -to assume they are ballooned. This is wrong: PoD pages may turn into -real RAM at runtime, grant pages are also RAM. - -Signed-off-by: Olaf Hering -Acked-by: Tim Deegan -Committed-by: Tim Deegan - - ---- a/xen/arch/x86/hvm/hvm.c -+++ b/xen/arch/x86/hvm/hvm.c -@@ -4135,6 +4135,10 @@ long do_hvm_op(unsigned long op, XEN_GUE - a.mem_type = HVMMEM_ram_ro; - else if ( p2m_is_ram(t) ) - a.mem_type = HVMMEM_ram_rw; -+ else if ( p2m_is_magic(t) ) -+ a.mem_type = HVMMEM_ram_rw; -+ else if ( p2m_is_grant(t) ) -+ a.mem_type = HVMMEM_ram_rw; - else - a.mem_type = HVMMEM_mmio_dm; - rc = copy_to_guest(arg, &a, 1) ? -EFAULT : 0; diff --git a/xen.spec b/xen.spec index 808fdfd..5f8a77e 100644 --- a/xen.spec +++ b/xen.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: xen ExclusiveArch: %ix86 x86_64 %define xvers 4.2