libvirt/daemon
John Ferlan 0c234889c4 storage: Introduce virStorageVolInfoFlags
https://bugzilla.redhat.com/show_bug.cgi?id=1332019

This function will essentially be a wrapper to virStorageVolInfo in order
to provide a mechanism to have the "physical" size of the volume returned
instead of the "allocation" size. This will provide similar capabilities to
the virDomainBlockInfo which can return both allocation and physical of a
domain storage volume.

NB: Since we're reusing the _virStorageVolInfo and not creating a new
_virStorageVolInfoFlags structure, we'll need to generate the rpc APIs
remoteStorageVolGetInfoFlags and remoteDispatchStorageVolGetInfoFlags
(although both were originally created from gendispatch.pl and then
just copied into daemon/remote.c and src/remote/remote_driver.c).

The new API will allow the usage of a VIR_STORAGE_VOL_GET_PHYSICAL flag
and will make the decision to return the physical or allocation value
into the allocation field.

In order to get that physical value, virStorageBackendUpdateVolTargetInfoFD
adds logic to fill in physical value matching logic in qemuStorageLimitsRefresh
used by virDomainBlockInfo when the domain is inactive.

Signed-off-by: John Ferlan <jferlan@redhat.com>
2016-12-20 13:52:39 -05:00
..
admin_server.c rpc: virnetserver: Rename ClientSetProcessingControls to ClientSetLimits 2016-08-02 14:51:13 +02:00
admin_server.h admin: Introduce virAdmServerSetClientLimits 2016-05-19 12:31:53 +02:00
admin.c admin: Introduce virAdmConnectSetLoggingFilters 2016-12-15 10:36:23 +01:00
admin.h admin: Move admin_server.{h,c} to admin.{h,c} 2016-02-17 12:46:34 +01:00
libvirt.rules
libvirtd-config.c libvirtd: convert to typesafe virConf accessors 2016-07-12 09:57:01 +01:00
libvirtd-config.h libvirtd: convert to typesafe virConf accessors 2016-07-12 09:57:01 +01:00
libvirtd.aug libvirtd: add config option for TLS priority 2016-06-08 13:48:45 +01:00
libvirtd.c daemon: Hook up the virLog{Get,Set}DefaultOutput to the daemon's init routine 2016-12-15 10:36:23 +01:00
libvirtd.conf libvirtd.conf: Fix invalid default of max_anonymous_clients 2016-06-27 08:54:03 +02:00
libvirtd.h remote: implement node device lifecycle event APIs 2016-08-02 09:52:00 -04:00
libvirtd.init.in Fix LSB requirements in service script and sync them 2016-01-11 15:49:13 +01:00
libvirtd.libxl.logrotate.in
libvirtd.logrotate.in
libvirtd.lxc.logrotate.in
libvirtd.pod man: Fix SYNOPSIS section 2016-04-25 15:40:44 +02:00
libvirtd.policy.in
libvirtd.qemu.logrotate.in
libvirtd.sasl
libvirtd.service.in virtlogd.socket: Tie lifecycle to libvirtd.service 2016-09-06 16:05:20 +02:00
libvirtd.sysconf
libvirtd.sysctl
libvirtd.uml.logrotate.in
libvirtd.upstart
Makefile.am daemon: Install virt-guest-shutdown.target properly 2016-11-29 16:31:52 +01:00
remote.c storage: Introduce virStorageVolInfoFlags 2016-12-20 13:52:39 -05:00
remote.h
stream.c Fix minor typos 2016-12-02 09:25:13 +01:00
stream.h daemon stream: Remove useless empty lines from header file 2016-04-21 16:29:41 +02:00
test_libvirtd.aug.in libvirtd: add config option for TLS priority 2016-06-08 13:48:45 +01:00
THREADS.txt
virt-guest-shutdown.target libvirtd: systemd: add special target for system shutdown 2016-11-23 11:13:53 +03:00