]> xenbits.xensource.com Git - libvirt.git/commit
API: prefer 'disk' over 'block' or 'path'
authorEric Blake <eblake@redhat.com>
Wed, 23 Nov 2011 00:15:43 +0000 (17:15 -0700)
committerEric Blake <eblake@redhat.com>
Wed, 23 Nov 2011 13:10:30 +0000 (06:10 -0700)
commit3ac26e2645e6456389a918455213d7e3824f63f9
tree43e33ac075532c2623e5a62fd3e0a49502886a85
parentc725e2dc5add8ed6d59fe9f5eb807d7af39a668a
API: prefer 'disk' over 'block' or 'path'

Given that we can now handle the target's disk shorthand, in addition
to an absolute path to the file or block device used on the host,
the term 'disk' fits a bit better as the parameter name than 'path'.

* include/libvirt/libvirt.h.in: Update some parameter names.
* src/libvirt.c (virDomainBlockStats, virDomainBlockStatsFlags)
(virDomainBlockPeek, virDomainGetBlockInfo, virDomainBlockJobAbort)
(virDomainGetBlockJobInfo, virDomainBlockJobSetSpeed)
(virDomainBlockPull): Likewise.
include/libvirt/libvirt.h.in
src/libvirt.c