qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Semantics of DeviceState::realized and BlockDriverState


From: Kevin Wolf
Subject: Re: [Qemu-devel] Semantics of DeviceState::realized and BlockDriverState
Date: Tue, 12 Jun 2012 10:07:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

Am 12.06.2012 08:10, schrieb Paolo Bonzini:
> 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".

I tend to agree, but it's not quite clear to me. It could also be the
intermediate state, but I guess that in practice that would be less useful.

> Or Object needs to provide support for multiple states, and (static)
> properties can have a bitmap of which states let them be modified.

That would probably be the cleanest solution. Not sure if it's worth the
effort, though.

Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]