From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:42139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNKtq-0008ED-N8 for qemu-devel@nongnu.org; Mon, 07 Nov 2011 03:49:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RNKtp-0004B6-Iu for qemu-devel@nongnu.org; Mon, 07 Nov 2011 03:49:50 -0500 Received: from mail-gx0-f173.google.com ([209.85.161.173]:55697) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNKtp-0004B2-Fj for qemu-devel@nongnu.org; Mon, 07 Nov 2011 03:49:49 -0500 Received: by ggnp2 with SMTP id p2so1475882ggn.4 for ; Mon, 07 Nov 2011 00:49:48 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <4EB79911.9050600@linux.vnet.ibm.com> References: <20111030103327.31685.17045.sendpatchset@skannery.in.ibm.com> <4EB79911.9050600@linux.vnet.ibm.com> Date: Mon, 7 Nov 2011 16:49:48 +0800 Message-ID: From: Zhi Yong Wu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [v8 Patch 0/6]Qemu: Host pagecache setting from cmdline and monitor List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: supriyak@linux.vnet.ibm.com Cc: Kevin Wolf , Stefan Hajnoczi , qemu-devel@nongnu.org, Christoph Hellwig On Mon, Nov 7, 2011 at 4:38 PM, Supriya Kannery wrote: > On 11/04/2011 07:59 AM, Zhi Yong Wu wrote: >> >> On Sun, Oct 30, 2011 at 6:33 PM, Supriya Kannery >> =A0wrote: >>> >>> Currently cache setting of a block device cannot be changed >>> without restarting a running VM. Following patchset is for >>> enabling dynamic change of cache setting for block devices >>> through qemu monitor. Code changes are based on patches >>> from Christoph Hellwig and Prerna Saxena. >>> >>> This patchset introduces >>> a. monitor command 'block_set_hostcache' using which host >>> =A0 pagecache setting for a block device can be changed >>> =A0 dynamically. >> >> I got a bit confusion. Is it used to change host pagecache setting on >> hyperviser or on guest? >> This block device said by you is for guest, right? >> > > =A0This command is used for changing pagecache setting of > the image files in host which are acting as block devices > for guest. So what is the difference between it and cache option? > > -thanks, Supriya > > --=20 Regards, Zhi Yong Wu