On 04/25/2017 01:51 PM, Stefan Berger wrote:

>> +++ b/qapi-schema.json
>> @@ -5140,6 +5140,16 @@
>>   { 'command': 'query-tpm-types', 'returns': ['TpmType'] }
>>
>>   ##
>> +# @TPMOptions:
>> +#
>> +# Base type for TPM options
>> +#
>> +# Since: 2.10
>> +##
>> +{ 'struct': 'TPMOptions',
>> +  'data': { } }
>> +
>> +##
>>   # @TPMPassthroughOptions:
>>   #
>>   # Information about the TPM passthrough type
>> @@ -5151,20 +5161,9 @@
>>   #
>>   # Since: 1.5
>>   ##
>> -{ 'struct': 'TPMPassthroughOptions', 'data': { '*path' : 'str',
>> -                                             '*cancel-path' : 'str'} }
>> +{ 'struct': 'TPMPassthroughOptions', 'base': 'TPMOptions',
>> +  'data': { '*path' : 'str', '*cancel-path' : 'str'} }
> 
> 
> I don't think that you can change it like this anymore since this is
> part of the public interface.

The change is backwards compatible; it doesn't break any existing QMP
usage.  It's weird to have an empty base class, though.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to