]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: disk: Separate virStorageSource formatting
authorPeter Krempa <pkrempa@redhat.com>
Mon, 5 Mar 2018 14:13:41 +0000 (15:13 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 14 Mar 2018 11:19:44 +0000 (12:19 +0100)
commitc4e7c1f212f600f61aba606cd00d7d5ed4eb49b6
tree86de8bd0be1822063ca4906e5bf093a71201eb3c
parent2bbbc9798d4397dc24932cd1bb73c37d100791d1
conf: disk: Separate virStorageSource formatting

Move out formatting of 'startuPolicy' which is a property of the disk
out of the <source> element. Extracting the code formating the content
and attributes will also allow reuse in other parts of the code.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms