From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adin Scannell Subject: [PATCH] Add necessary bits to pvops Linux for mapping paged-out pages Date: Fri, 16 Dec 2011 22:22:18 -0500 Message-ID: <1324092141-9730-1-git-send-email-adin@scannell.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: konrad@darnok.org, andres@gridcentric.ca, olaf@aepfle.de, JBeulich@suse.com, adin@gridcentric.com List-Id: xen-devel@lists.xenproject.org I've ported a couple of patches to the Linux pvops kernel that are necessary for correctly running domains with paging. In a nutshell: in the case of a foreign attempt to map a paged-out page, the correct error code will now be propogated up to libxc, which will already handle it correctly. This required an implementation of mmap_batch_v2. I've tested it using a highly-paged domain and everything looks okay (qemu will receive the appropriate error via the mmap_batch_v2 and retry). (My apologies if anyone/everyone receives this set of patches more than once, I've had some trouble with both my connection dying and guilt freaking out while I'm sending, leaving things in a bit of an unknown state.)