mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
f98759170e
This is a rewrite of: https://wiki.libvirt.org/page/Live-merge-an-entire-disk-image-chain-including-current-active-disk Once this commit merges, the above wiki should point to this kbase document. Signed-off-by: Kashyap Chamarthy <kchamart@redhat.com> Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
71 lines
1.6 KiB
Meson
71 lines
1.6 KiB
Meson
docs_kbase_files = [
|
|
'backing_chains',
|
|
'debuglogs',
|
|
'domainstatecapture',
|
|
'incrementalbackupinternals',
|
|
'index',
|
|
'kvm-realtime',
|
|
'launch_security_sev',
|
|
'live_full_disk_backup',
|
|
'locking-lockd',
|
|
'locking',
|
|
'locking-sanlock',
|
|
'merging_disk_image_chains',
|
|
'migrationinternals',
|
|
'qemu-passthrough-security',
|
|
'rpm-deployment',
|
|
's390_protected_virt',
|
|
'secureusage',
|
|
'systemtap',
|
|
'virtiofs',
|
|
]
|
|
|
|
html_xslt_gen_xslt = subsite_xsl
|
|
html_xslt_gen_install_dir = docs_html_dir / 'kbase'
|
|
html_xslt_gen = []
|
|
|
|
foreach name : docs_kbase_files
|
|
rst_file = '@0@.rst'.format(name)
|
|
|
|
html_xslt_gen += {
|
|
'name': name,
|
|
'file': docs_rst2html_gen.process(rst_file),
|
|
'source': 'docs/kbase' / rst_file,
|
|
}
|
|
endforeach
|
|
|
|
# keep the XSLT processing code block in sync with docs/meson.build
|
|
|
|
# --- begin of XSLT processing ---
|
|
|
|
foreach data : html_xslt_gen
|
|
html_filename = data['name'] + '.html'
|
|
|
|
html_file = custom_target(
|
|
html_filename,
|
|
input: data.get('file', data['name'] + '.html.in'),
|
|
output: html_filename,
|
|
command: [
|
|
xsltproc_prog,
|
|
'--stringparam', 'pagesrc', data.get('source', ''),
|
|
'--stringparam', 'builddir', meson.build_root(),
|
|
'--stringparam', 'timestamp', docs_timestamp,
|
|
'--nonet',
|
|
html_xslt_gen_xslt,
|
|
'@INPUT@',
|
|
],
|
|
depends: data.get('depends', []),
|
|
depend_files: [ page_xsl ],
|
|
capture: true,
|
|
install: true,
|
|
install_dir: html_xslt_gen_install_dir,
|
|
)
|
|
|
|
install_web_deps += html_file
|
|
install_web_files += html_file.full_path() + ':' + html_xslt_gen_install_dir
|
|
endforeach
|
|
|
|
html_xslt_gen = []
|
|
|
|
# --- end of XSLT processing ---
|