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? > 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. Paolo