[Top][All Lists]

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

Re: [Qemu-devel] [PATCH 6/8] qom: introduce get/set methods for Property

From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 6/8] qom: introduce get/set methods for Property
Date: Fri, 16 Dec 2011 15:18:24 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1

On 12/16/2011 03:05 PM, Anthony Liguori wrote:

I thought the same initially. However, I noticed that the visitor
interfaces for
links is also a string. So, even if a block/char/netdev property later
becomes a
link<>, the interface would not change.

The semantics change though.  A "drive" link takes a flat block device
name. When it's converted to a link, it will take a QOM path.  Since
block devices will exist in their own directory, it will certainly still
be possible to use the flat block device name but since a paths will
also be supported, I think it's best to clearly distinguish the link
based property from the flat block device name property.

But it's a superset, no?


reply via email to

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