libvirt/docs
Eric Blake 89b6284fd9 snapshot: also support disks by path
I got confused when 'virsh domblkinfo dom disk' required the
path to a disk (which can be ambiguous, since a single file
can back multiple disks), rather than the unambiguous target
device name that I was using in disk snapshots.  So, in true
developer fashion, I went for the best of both worlds - all
interfaces that operate on a disk (aka block) now accept
either the target name or the unambiguous path to the backing
file used by the disk.

* src/conf/domain_conf.h (virDomainDiskIndexByName): Add
parameter.
(virDomainDiskPathByName): New prototype.
* src/libvirt_private.syms (domain_conf.h): Export it.
* src/conf/domain_conf.c (virDomainDiskIndexByName): Also allow
searching by path, and decide whether ambiguity is okay.
(virDomainDiskPathByName): New function.
(virDomainDiskRemoveByName, virDomainSnapshotAlignDisks): Update
callers.
* src/qemu/qemu_driver.c (qemudDomainBlockPeek)
(qemuDomainAttachDeviceConfig, qemuDomainUpdateDeviceConfig)
(qemuDomainGetBlockInfo, qemuDiskPathToAlias): Likewise.
* src/qemu/qemu_process.c (qemuProcessFindDomainDiskByPath):
Likewise.
* src/libxl/libxl_driver.c (libxlDomainAttachDeviceDiskLive)
(libxlDomainDetachDeviceDiskLive, libxlDomainAttachDeviceConfig)
(libxlDomainUpdateDeviceConfig): Likewise.
* src/uml/uml_driver.c (umlDomainBlockPeek): Likewise.
* src/xen/xend_internal.c (xenDaemonDomainBlockPeek): Likewise.
* docs/formatsnapshot.html.in: Update documentation.
* tools/virsh.pod (domblkstat, domblkinfo): Likewise.
* docs/schemas/domaincommon.rng (diskTarget): Tighten pattern on
disk targets.
* docs/schemas/domainsnapshot.rng (disksnapshot): Update to match.
* tests/domainsnapshotxml2xmlin/disk_snapshot.xml: Update test.
2011-09-05 07:03:04 -06:00
..
api_extension
devhelp
html
internals
schemas snapshot: also support disks by path 2011-09-05 07:03:04 -06:00
.gitignore
32favicon.png
api_extension.html.in
api.html.in
apibuild.py
apps.html.in
archdomain.html.in
architecture.fig
architecture.gif
architecture.html.in
archnetwork.html.in
archnode.html.in
archstorage.html.in
auth.html.in
bindings.html.in
bugs.html.in
compiling.html.in
contact.html.in
csharp.html.in
deployment.html.in
devguide.html.in
docs.html.in
downloads.html.in
drivers.html.in
drvesx.html.in
drvhyperv.html.in
drvlxc.html.in
drvopenvz.html.in
drvqemu.html.in
drvremote.html.in
drvtest.html.in
drvuml.html.in website: Point main page links to libvirt driver pages 2011-07-15 13:19:41 -06:00
drvvbox.html.in
drvvmware.html.in
drvxen.html.in
errors.html.in
et.png
firewall.html.in
footer_corner.png
footer_pattern.png
format.html.in
formatcaps.html.in
formatdomain.html.in
formatnetwork.html.in
formatnode.html.in
formatnwfilter.html.in
formatsecret.html.in
formatsnapshot.html.in snapshot: also support disks by path 2011-09-05 07:03:04 -06:00
formatstorage.html.in
formatstorageencryption.html.in
generic.css
goals.html.in Update on the goal page 2011-03-28 10:40:24 +08:00
hacking1.xsl
hacking2.xsl
hacking.html.in build: rename files.h to virfile.h 2011-07-21 10:34:51 -06:00
hooks.html.in
hvsupport.pl
index.html.in
index.py
internals.html.in
intro.html.in
java.html.in Fix a number of small typos 2009-09-22 12:55:39 +02:00
library.xen
libvirt-daemon-arch.fig
libvirt-daemon-arch.png
libvirt-driver-arch.fig
libvirt-driver-arch.png
libvirt-header-bg.png
libvirt-header-logo.png
libvirt-net-logical.fig
libvirt-net-logical.png
libvirt-net-physical.fig
libvirt-net-physical.png
libvirt-object-model.fig
libvirt-object-model.png
libvirt.css
libvirtLogo.png
locking.html.in
logging.html.in
madeWith.png
main.css
Makefile.am maint: add missing copyright notices 2011-07-28 15:01:17 -06:00
newapi.xsl
news.html.in
news.xsl
node.fig
node.gif
page.xsl
php.html.in
python.html.in
relatedlinks.html.in
remote.html.in
search.php
site.xsl
sitemap.html.in
storage.html.in
structures.fig
subsite.xsl
testapi.html.in
testsuites.html.in
testtck.html.in
todo.cfg-example
todo.pl
uri.html.in xen-proxy: Remove it entirely and use libvirtd instead 2010-11-08 22:00:35 +01:00
virshcmdref.html.in docs: updated memtune info again in virsh command reference 2011-01-11 07:33:15 +11:00
windows.html.in
wrapstring.xsl