]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: storage: add JSON backing volume parser 'raw' block driver
authorTomáš Golembiovský <tgolembi@redhat.com>
Mon, 13 Feb 2017 22:53:43 +0000 (23:53 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 22 Feb 2017 09:39:57 +0000 (10:39 +0100)
commite4c6d4ae557a5de3a4b9a7e789df0e8f1d140557
tree05b34b0cbb061108a9b5c208f592e9394c05b7bc
parentcb4adb43d6bf6944cbea8a128e134545d101d29c
util: storage: add JSON backing volume parser 'raw' block driver

The 'raw' block driver in Qemu is not directly interesting from
libvirt's perspective, but it can be layered above some other block
drivers and this may be interesting for the user.

The patch adds support for the 'raw' block driver. The driver is treated
simply as a pass-through and child driver in JSON is queried to get the
necessary information.

Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com>
src/util/virstoragefile.c
tests/virstoragetest.c