[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1341400520-31770-4-git-send-email-stefano.stabellini@eu.citrix.com>
Date: Wed, 4 Jul 2012 12:15:19 +0100
From: Stefano Stabellini <stefano.stabellini@...citrix.com>
To: xen-devel@...ts.xensource.com
CC: linux-kernel@...r.kernel.org, stefano.stabellini@...citrix.com,
Ian.Campbell@...rix.com, david.vrabel@...rix.com
Subject: [PATCH WIP 4/5] xen: allow privcmd for hvm guests
Ian's initial XENMAPSPACE_gmfn_foreign implementation is enough to get
privcmd mmap to work for XENFEAT_auto_translated_physmap guests.
Signed-off-by: Stefano Stabellini <stefano.stabellini@...citrix.com>
---
drivers/xen/xenfs/privcmd.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/drivers/xen/xenfs/privcmd.c b/drivers/xen/xenfs/privcmd.c
index c200b49..5c2b9e9 100644
--- a/drivers/xen/xenfs/privcmd.c
+++ b/drivers/xen/xenfs/privcmd.c
@@ -387,13 +387,6 @@ static int privcmd_mmap(struct file *file, struct vm_area_struct *vma)
{
//printk(KERN_CRIT "privcmd_mmap\n");
- /* Unsupported for auto-translate guests. */
- if (xen_feature(XENFEAT_auto_translated_physmap))
- {
- printk(KERN_CRIT "privcmd_mmap -- no auto translated..\n");
- return -ENOSYS;
- }
-
/* DONTCOPY is essential for Xen because copy_page_range doesn't know
* how to recreate these mappings */
vma->vm_flags |= VM_RESERVED | VM_IO | VM_DONTCOPY | VM_PFNMAP;
--
1.7.2.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists