From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:50374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeKJ6-0006bH-KH for qemu-devel@nongnu.org; Tue, 12 Jun 2012 02:10:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SeKJ1-0006RD-VN for qemu-devel@nongnu.org; Tue, 12 Jun 2012 02:10:24 -0400 Received: from mail-we0-f173.google.com ([74.125.82.173]:48307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeKJ1-0006QV-JP for qemu-devel@nongnu.org; Tue, 12 Jun 2012 02:10:19 -0400 Received: by werf3 with SMTP id f3so3004067wer.4 for ; Mon, 11 Jun 2012 23:10:17 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <4FD6DD47.7020802@redhat.com> Date: Tue, 12 Jun 2012 08:10:15 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <4FD66B8F.4080203@codemonkey.ws> In-Reply-To: <4FD66B8F.4080203@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Semantics of DeviceState::realized and BlockDriverState List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Kevin Wolf , qemu-devel , Stefan Hajnoczi , =?ISO-8859-1?Q?Andreas_F=E4rber?= Il 12/06/2012 00:05, Anthony Liguori ha scritto: > > opened = true > attached = true > > This means that the device is in-use by something in QEMU. Requests may > be in flight as read/write requests are now allowed to be issued. > > Most properties cannot be changed in this state (presumably). So this is "realized". Or Object needs to provide support for multiple states, and (static) properties can have a bitmap of which states let them be modified. Paolo