libvirt/src/rpc
Eric Blake 99fd69c3de block rebase: add new API virDomainBlockRebase
Qemu is adding the ability to do a partial rebase.  That is, given:

base <- intermediate <- current

virDomainBlockPull will produce:

current

but qemu now has the ability to leave base in the chain, to produce:

base <- current

Note that current qemu can only do a forward merge, and only with
the current image as the destination, which is fully described by
this API without flags.  But in the future, it may be possible to
enhance this API for additional scenarios by using flags:

Merging the current image back into a previous image (that is,
undoing a live snapshot), could be done by passing base as the
destination and flags with a bit requesting a backward merge.

Merging any other part of the image chain, whether forwards (the
backing image contents are pulled into the newer file) or backwards
(the deltas recorded in the newer file are merged back into the
backing file), could also be done by passing a new flag that says
that base should be treated as an XML snippet rather than an
absolute path name, where the XML could then supply the additional
instructions of which part of the image chain is being merged into
any other part.

* include/libvirt/libvirt.h.in (virDomainBlockRebase): New
declaration.
* src/libvirt.c (virDomainBlockRebase): Implement it.
* src/libvirt_public.syms (LIBVIRT_0.9.10): Export it.
* src/driver.h (virDrvDomainBlockRebase): New driver callback.
* src/rpc/gendispatch.pl (long_legacy): Add exemption.
* docs/apibuild.py (long_legacy_functions): Likewise.
2012-02-01 15:21:56 -07:00
..
gendispatch.pl block rebase: add new API virDomainBlockRebase 2012-02-01 15:21:56 -07:00
genprotocol.pl rpc: handle param_int, plug memory leaks 2011-12-20 08:41:10 -07:00
gensystemtap.pl Rewrite all the DTrace/SystemTAP probing 2011-10-11 11:26:13 +01:00
virkeepalive.c Implement common keepalive handling 2011-11-24 11:44:08 +01:00
virkeepalive.h Implement common keepalive handling 2011-11-24 11:44:08 +01:00
virkeepaliveprotocol.x Define keepalive protocol 2011-11-24 11:44:08 +01:00
virnetclient.c stream: Check for stream EOF 2012-01-12 12:02:40 +01:00
virnetclient.h stream: Check for stream EOF 2012-01-12 12:02:40 +01:00
virnetclientprogram.c Split virNetClientSend into 2 methods 2011-11-16 10:48:46 +00:00
virnetclientprogram.h Add client side support for FD passing 2011-10-28 10:42:54 +01:00
virnetclientstream.c stream: Check for stream EOF 2012-01-12 12:02:40 +01:00
virnetclientstream.h stream: Check for stream EOF 2012-01-12 12:02:40 +01:00
virnetmessage.c Extend RPC protocol to allow FD passing 2011-10-28 10:27:15 +01:00
virnetmessage.h Fix sending/receiving of FDs when stream returns EAGAIN 2011-11-07 09:26:59 +00:00
virnetprotocol.x Extend RPC protocol to allow FD passing 2011-10-28 10:27:15 +01:00
virnetsaslcontext.c rpc:fix sasl session relocking intead of unlocking it 2011-08-04 21:27:52 +08:00
virnetsaslcontext.h Generic module for handling SASL authentication & encryption 2011-06-24 11:48:25 +01:00
virnetserver.c Implement keepalive protocol in libvirt daemon 2011-11-24 11:44:08 +01:00
virnetserver.h Implement keepalive protocol in libvirt daemon 2011-11-24 11:44:08 +01:00
virnetserverclient.c Rename APIs for fetching UNIX socket credentials 2012-01-19 15:39:52 +00:00
virnetserverclient.h Rename APIs for fetching UNIX socket credentials 2012-01-19 15:39:52 +00:00
virnetservermdns.c Fix memory leaks in MDNS code 2011-07-26 08:09:18 +08:00
virnetservermdns.h Introduce generic RPC module for advertising via MDNS 2011-06-24 11:48:41 +01:00
virnetserverprogram.c maint: fix improper use of 'an' 2011-12-03 17:11:56 -07:00
virnetserverprogram.h Extend RPC server to allow FD passing 2011-10-28 10:43:00 +01:00
virnetserverservice.c Support changing UNIX socket owner in virNetSocketNewListenUNIX 2011-08-15 15:21:31 +02:00
virnetserverservice.h daemon: Unlink unix socket paths on shutdown 2011-08-04 16:54:58 +08:00
virnetsocket.c Rename APIs for fetching UNIX socket credentials 2012-01-19 15:39:52 +00:00
virnetsocket.h Rename APIs for fetching UNIX socket credentials 2012-01-19 15:39:52 +00:00
virnettlscontext.c Rewrite all the DTrace/SystemTAP probing 2011-10-11 11:26:13 +01:00
virnettlscontext.h daemon: Move TLS initialization to virInitialize 2011-08-25 10:22:03 +02:00