]> xenbits.xensource.com Git - libvirt.git/commit
util: storage: Add shadow copies of few disk properties to virStorageSource
authorPeter Krempa <pkrempa@redhat.com>
Tue, 5 Dec 2017 13:06:13 +0000 (14:06 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 7 May 2018 12:47:43 +0000 (14:47 +0200)
commitd302b5896ecaf2dbbec5d2cfe199953b80811282
tree35ae195243ccd1f29d328d1bd1751a72f84ec672
parent38fd7aec33d3e990f2511da1093473674f66f309
util: storage: Add shadow copies of few disk properties to virStorageSource

Few things which are currently stored the virDomainDiskDef structure are
actually relevant for the storage source as well. Add the fields with a
note that they are just mirror of the values from the disk.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/util/virstoragefile.c
src/util/virstoragefile.h