From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NowAj-0005eW-KX for qemu-devel@nongnu.org; Tue, 09 Mar 2010 04:56:17 -0500 Received: from [199.232.76.173] (port=58479 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NowAj-0005eO-1v for qemu-devel@nongnu.org; Tue, 09 Mar 2010 04:56:17 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NowAi-0008WP-4e for qemu-devel@nongnu.org; Tue, 09 Mar 2010 04:56:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45279) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NowAh-0008WB-O5 for qemu-devel@nongnu.org; Tue, 09 Mar 2010 04:56:16 -0500 Message-ID: <4B961B33.1000909@redhat.com> Date: Tue, 09 Mar 2010 11:56:03 +0200 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: bs->enable_write_cache and the guest ABI References: <4B93BB4A.8090605@redhat.com> <4B94D60A.7070006@redhat.com> <20100308230022.GC16057@shareable.org> In-Reply-To: <20100308230022.GC16057@shareable.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jamie Lokier Cc: Christoph Hellwig , qemu-devel , Juan Quintela On 03/09/2010 01:00 AM, Jamie Lokier wrote: > Avi Kivity wrote: > >> I think we have to go with a qdev property as Christoph suggests. Then >> it becomes the management's responsibility to set it right. >> > How can the management be expected to know or follow dynamically > changing guest state? There guests which disable a drive's write > cache in some application scripts, and others which enable it in boot > scripts. That's not something management should be knowing about. > The flag indicates whether the drive has a write cache or not. -- error compiling committee.c: too many arguments to function