From: Ian Campbell Subject: Re: A Problem with Page Cache in Xen Date: Mon, 30 Jan 2012 16:18:49 +0000 Message-ID: <1327940330.26983.257.camel@zakaz.uk.xensource.com> References: <298edff9.10461.1352dabac58.Coremail.hxkhust@126.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <298edff9.10461.1352dabac58.Coremail.hxkhust@126.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: hxkhust Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Mon, 2012-01-30 at 08:11 +0000, hxkhust wrote: > Hi, > > Recently I'm dong some reserch on xen and encounter a problem that I > cannot solve temporarily.I need your help very much and the following > is the question I would like to ask: > On a physical machine with xen virtualization platform installed ,VM > A,VM B are VM C's virtual disks are all image files,among which VM A > and VM B's virtual disks are QCOW2 format and VM C's disk is RAW > format. And VM A and VM B's virtual disk image files are based on VM > C's virtual disk image file.Now these three VMs are running on the > same physical machine with xen installed. This is an invalid/dangerous configuration. You can't really safely write to the backing file (C's raw disk) while there are active users (A and B's qcow2 images) of it. Imagine e.g. that all three change the same bit of filesystem metadata in different ways... Ian.