From: Tim Deegan Subject: Re: A Problem with Cache in Xen Date: Thu, 19 Jan 2012 11:07:26 +0000 Message-ID: <20120119110726.GB66164@ocelot.phlegethon.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: 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 Hi, At 08:55 +0800 on 13 Jan (1326444953), hxkhust wrote: > 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 B and VM C's virtual disk image files are based on VM > A's virtual disk image file.Now these three VMs are running on the > same physical machine with xen installed. > > In the process of running VM B get a page data from VM A's virtual > disk image file. After that ,VM C also need to get the same page data > as VM B got just now.Under this situation, does VMM copy the page > data from VM B's memory to VM C's memory or get the page data from VM > A's virtual disk image file in the physical disk again? Since VM C's disk is not QCOW, reads will always come directly from VM C's image -- never from VM A's image (since the tools wouldn't know how to do that) and never by copying from VM B. Tim.