[libvirt] [PATCHv3 04/11] Add virtio revision attribute to controllers

Ján Tomko jtomko at redhat.com
Thu Aug 11 13:25:53 UTC 2016


On Thu, Aug 11, 2016 at 01:00:08PM +0100, Daniel P. Berrange wrote:
>On Wed, Aug 10, 2016 at 03:27:15PM +0200, Ján Tomko wrote:
>> <controller type='scsi' index='0' model='virtio-scsi'>
>>     <virtio revision='0.9'/>
>
>I'm wondering about generalizing this. eg what if there are
>other device models where we want the ability to set a
>revision. We don't really want to invent a new sub-elment
>named after each device model

Not even a new attribute? :)
  <revision virtio='0.9'/>

How about:
  <revision type='virtio' version='0.9'/>

Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160811/f62d9407/attachment-0001.sig>


More information about the libvir-list mailing list