From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Chigurupati, Chaks" Subject: Moving of mmap'ed files from one guest into another guest Date: Thu, 3 Mar 2011 14:46:28 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT To: "kvm@vger.kernel.org" Return-path: Received: from tx2ehsobe004.messaging.microsoft.com ([65.55.88.14]:42486 "EHLO TX2EHSOBE008.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758472Ab1CCUqd convert rfc822-to-8bit (ORCPT ); Thu, 3 Mar 2011 15:46:33 -0500 Received: from mail2-tx2 (localhost.localdomain [127.0.0.1]) by mail2-tx2-R.bigfish.com (Postfix) with ESMTP id 44C0D6286C1 for ; Thu, 3 Mar 2011 20:46:32 +0000 (UTC) Received: from TX2EHSMHS046.bigfish.com (unknown [10.9.14.242]) by mail2-tx2.bigfish.com (Postfix) with ESMTP id 8B2671A38050 for ; Thu, 3 Mar 2011 20:46:31 +0000 (UTC) Content-Language: en-US Sender: kvm-owner@vger.kernel.org List-ID: Hi folks, Any comments/insight on the following problem statement will be appreciated. Host and the guests are running the same linux distro and a recent kernel (say 2.6.34 and later). The applications on guest 1 are creating several mmap'ed files that dynamically grow and shrink. The application from guest 1 needs to be moved into guest 2. The application will be first killed/stopped before it is launched in guest 2. However, it needs access to the mmap'ed files that are in guest 1. I do not want to use an IPC mechanism to replicate these files into guest 2. I am looking for a mechanism that unmaps/unlinks these files from guest 1 and makes them available to guest 2. The files can be in the order of gigabytes. Is it possible to do the above thing in kvm using any available technologies (say ivshmem)? Thx Chaks ============================================================ The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any reproduction, dissemination or distribution of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Tellabs ============================================================