Hi, > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Tuesday, September 16, 2014 6:46 PM > Subject: Re: [Qemu-devel] [PATCH 0/3] Fix confused output for alias properties > > Il 16/09/2014 12:37, Michael S. Tsirkin ha scritto: > > str really should be for free-form strings. > > It makes as much sense to call it as string > > Yes, that's why I said drive->str is a degradation. The question is, > how important is that degradation? > After reading your conversation, I'm confused and have no idea for PATCH 2 and PATCH 3. Would you give me corresponding comments? Thanks!
Best regards, -Gonglei > > as it is to call an integer a string because you type > > a string of characters to specify it. > > I disagree. This is true for the command line, and for historical > reasons it is also true for device-add, but the newer QOM commands are > type-safe. You cannot pass an integer as a JSON string '123' to qom-set > or object-add, for example. >