libvirt/include/libvirt
Eric Blake ad0b912384 save: new public API to bypass file system cache on save/restore
In order to choose whether to use O_DIRECT when saving a domain image
to a file, we need a new flag.  But virDomainSave was implemented
before our policy of all new APIs having a flag argument.  Likewise
for virDomainRestore when restoring from a file.

The new flag name is chosen as CACHE_BYPASS so as not to preclude
a future solution that uses posix_fadvise once the Linux kernel has
a smarter implementation of that interface.

* include/libvirt/libvirt.h.in (virDomainCreateFlags)
(virDomainCoreDumpFlags): Add a flag.
(virDomainSaveFlags, virDomainRestoreFlags): New prototypes.
* src/libvirt.c (virDomainSaveFlags, virDomainRestoreFlags): New API.
* src/libvirt_public.syms: Export them.
* src/driver.h (virDrvDomainSaveFlags, virDrvDomainRestoreFlags):
New driver callbacks.
2011-07-21 10:34:51 -06:00
..
.gitignore Ignore auto-generated header file 2009-09-22 16:12:51 +01:00
libvirt-qemu.h Define a QEMU specific API to attach to a running QEMU process 2011-07-12 15:39:03 +01:00
libvirt.h.in save: new public API to bypass file system cache on save/restore 2011-07-21 10:34:51 -06:00
Makefile.am Qemu Monitor API entry point. 2010-07-23 17:30:14 -04:00
virterror.h Basic framework for lock manager plugins 2011-06-02 10:54:00 +01:00