]> xenbits.xensource.com Git - libvirt.git/commit
conf: Display <physical> in output of voldef
authorJohn Ferlan <jferlan@redhat.com>
Tue, 13 Dec 2016 15:56:21 +0000 (10:56 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 20 Dec 2016 18:52:39 +0000 (13:52 -0500)
commit78661cb1f45742f27430b2629056f0397ceb2fd2
treec02172cddf445fad6bd2316e3a3168cd086afb72
parentb9b1aa6392e058b9c3814ea391943bc3be18ccba
conf: Display <physical> in output of voldef

Although the virStorageBackendUpdateVolTargetInfo will update the
target.physical value, there is no way to provide that information
via the virStorageGetVolInfo API since it only returns the capacity
and allocation of a volume. So as described in commit id '0282ca45',
it should be possible to generate an output only <physical> value
for that purpose.

This patch generates the <physical> value in the volume XML output
for the sole purpose of being able to view/see the value to allow
someone to parse the XML in order to obtain the value.

Update the documentation to describe the output only nature.

Signed-off-by: John Ferlan <jferlan@redhat.com>
docs/formatstorage.html.in
src/conf/storage_conf.c