libvirt/src
Michal Privoznik b17e610e1f virNetServerClientNewPostExecRestart: Avoid align problems
I've noticed this while trying to compile libvirt on my arm box.

  CC       rpc/libvirt_net_rpc_server_la-virnetserverclient.lo
rpc/virnetserverclient.c: In function 'virNetServerClientNewPostExecRestart':
rpc/virnetserverclient.c:516:45: error: cast increases required alignment of target type [-Werror=cast-align]
                                             (long long *) &timestamp) < 0) {
                                             ^
cc1: all warnings being treated as errors

Problem is, @timestap is defined as time_t which is 32 bits long,
and we are typecasting it to long long which is 64bits long.
Solution is to make @timestamp type of long long. At the same
time, we can make @conn_time in _virNetServerClient struct long
long too. There is no need for it to be type of time_t.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2016-05-05 13:48:56 +02:00
..
access viraccessperm.h: Fix some typos 2015-07-17 09:41:31 +02:00
admin admin: Introduce virAdmClientGetInfo API 2016-05-03 15:52:50 +02:00
bhyve bhyve: implement domainShutdown 2016-05-05 08:04:01 +03:00
conf conf: Add support for virtio-scsi iothreads 2016-05-04 09:59:14 -04:00
cpu qemu_process: add check for hyperv features 2016-03-30 10:35:15 +02:00
esx esx: Avoid using vSphere SessionIsActive function 2016-02-18 19:28:35 +01:00
hyperv conf: add caps to virDomainDefFormat* 2016-02-04 12:38:26 +00:00
interface interface: let netcf pre-filter for active vs. inactive 2015-10-02 11:16:11 -04:00
libxl libxl: use LIBXL_API_VERSION 0x040200 2016-04-15 12:02:32 -06:00
locking rpc: virnetserverclient: Identify clients by an integer ID 2016-05-02 22:25:51 +02:00
logging rpc: virnetserverclient: Identify clients by an integer ID 2016-05-02 22:25:51 +02:00
lxc rpc: virnetserverclient: Identify clients by an integer ID 2016-05-02 22:25:51 +02:00
network network: Fix segfault on daemon reload 2016-05-02 10:06:04 -04:00
node_device nodedev: Expose PCI header type 2016-03-18 17:35:06 +01:00
nwfilter nwfilter: Fix potential locking problems on ObjLoad failure 2016-05-02 10:06:04 -04:00
openvz conf: domain: reject name containing '/' 2016-05-02 10:06:04 -04:00
phyp conf: domain: reject name containing '/' 2016-05-02 10:06:04 -04:00
qemu qemu: Make qemuMonitorJSONIOProcessLine available for tests 2016-05-05 10:01:55 +02:00
remote virnetsocket: Provide socket address format in a more standard form 2016-05-03 15:52:50 +02:00
rpc virNetServerClientNewPostExecRestart: Avoid align problems 2016-05-05 13:48:56 +02:00
secret secret: Change virSecretDef variable names 2016-04-25 15:45:29 -04:00
security virt-aa-helper: disallow VNC socket read permissions 2016-04-20 09:58:47 -04:00
storage Change virDevicePCIAddress to virPCIDeviceAddress 2016-05-02 15:46:23 +02:00
test conf: Extract code filling data for virDomainGetVcpuPinInfo 2016-03-09 10:09:16 +01:00
uml Drop paths.h include 2016-03-18 09:43:45 +01:00
util virjson: Make pretty format more compact 2016-05-05 10:01:55 +02:00
vbox conf: domain: reject name containing '/' 2016-05-02 10:06:04 -04:00
vmware conf: refactor checking for unsupported memory devices 2016-03-09 10:09:16 +01:00
vmx conf: domain: reject name containing '/' 2016-05-02 10:06:04 -04:00
vz Fix minor typos in messages 2016-04-30 15:37:31 +02:00
xen Change virDevicePCIAddress to virPCIDeviceAddress 2016-05-02 15:46:23 +02:00
xenapi conf: domain: reject name containing '/' 2016-05-02 10:06:04 -04:00
xenconfig qemu: Introduce qemuDomainHostdevPrivatePtr 2016-05-02 06:10:19 -04:00
admin_protocol-structs admin: Introduce virAdmClientGetInfo API 2016-05-03 15:52:50 +02:00
check-aclperms.pl
check-aclrules.pl
check-driverimpls.pl
check-drivername.pl
check-symfile.pl
check-symsorting.pl
datatypes.c admin: Introduce virAdmClient client-side object 2016-05-02 22:26:17 +02:00
datatypes.h admin: Introduce virAdmClient client-side object 2016-05-02 22:26:17 +02:00
driver-hypervisor.h virDomain{Get,Set}PerfEvents: Add @flags argument 2016-03-31 07:24:36 +02:00
driver-interface.h
driver-network.h
driver-nodedev.h
driver-nwfilter.h
driver-secret.h
driver-state.h
driver-storage.h
driver-stream.h
driver.c driver: log missing modules as INFO, not WARN 2016-03-17 16:50:05 -04:00
driver.h
dtrace2systemtap.pl
fdstream.c fdstream: don't raise error on SIGPIPE if abort requested 2016-05-02 10:13:05 -04:00
fdstream.h
gnutls_1_0_compat.h
internal.h build: add GCC 6.0 -Wlogical-op workaround 2016-04-11 12:09:14 +02:00
libvirt_admin_private.syms admin: Introduce virAdmClientGetInfo API 2016-05-03 15:52:50 +02:00
libvirt_admin_public.syms admin: Introduce virAdmClientGetInfo API 2016-05-03 15:52:50 +02:00
libvirt_atomic.syms
libvirt_driver_modules.syms
libvirt_esx.syms
libvirt_gnutls.syms
libvirt_internal.h daemon: add connection close rpc 2016-03-01 14:18:16 +00:00
libvirt_libssh2.syms
libvirt_linux.syms
libvirt_lxc.syms
libvirt_openvz.syms
libvirt_private.syms util: factor out reading file into preallocated buffer 2016-05-03 08:58:30 -04:00
libvirt_probes.d
libvirt_public.syms perf: add new public APIs for perf event 2016-03-29 13:13:05 +01:00
libvirt_qemu_probes.d
libvirt_qemu.syms
libvirt_remote.syms virnetserverclient: Add an internal method to retrieve client's identity 2016-05-03 15:52:50 +02:00
libvirt_sasl.syms virneserverclient: Introduce virNetServerClientHasSASLSession 2016-05-03 15:52:50 +02:00
libvirt_vmware.syms
libvirt_vmx.syms
libvirt_xenconfig.syms xenconfig: support vif bandwidth in sexpr parser and formatter 2016-01-08 18:56:00 -07:00
libvirt_xenxlconfig.syms
libvirt-admin.c admin: Add a check to reject negative argument for number of typed params 2016-05-04 16:36:22 +02:00
libvirt-admin.conf admin: Introduce libvirt-admin.conf 2015-11-30 09:36:19 +01:00
libvirt-domain-snapshot.c Fix typo incomaptible -> incompatible 2015-06-30 12:26:25 +02:00
libvirt-domain.c virDomain{Get,Set}PerfEvents: Tweak documentation 2016-04-18 18:04:00 +02:00
libvirt-host.c close callback: move it to driver 2016-03-01 14:17:38 +00:00
libvirt-interface.c debug: assure NULLSTR() around all %s args in debug at top of public APIs 2015-05-28 13:13:45 -04:00
libvirt-lxc.c
libvirt-lxc.pc.in
libvirt-network.c debug: assure NULLSTR() around all %s args in debug at top of public APIs 2015-05-28 13:13:45 -04:00
libvirt-nodedev.c debug: assure NULLSTR() around all %s args in debug at top of public APIs 2015-05-28 13:13:45 -04:00
libvirt-nwfilter.c debug: assure NULLSTR() around all %s args in debug at top of public APIs 2015-05-28 13:13:45 -04:00
libvirt-qemu.c
libvirt-qemu.pc.in
libvirt-secret.c libvirt-secret: Fix typo 2015-10-15 11:31:27 +02:00
libvirt-storage.c virStorageVolWipe: Document that wiping journaled FS is useless 2015-12-24 18:02:58 +01:00
libvirt-stream.c virStream{Recv,Send}All: Increase client buffer 2016-05-02 07:56:38 +02:00
libvirt.c libvirt: Fix crash on URI without scheme 2016-04-21 09:29:20 -04:00
libvirt.conf admin: Distribute libvirt-admin.conf 2015-12-01 11:44:48 +01:00
libvirt.pc.in
lock_protocol-structs Fix make check with gcc version 5 2016-01-18 15:19:21 +01:00
lxc_monitor_protocol-structs Remove explicit enum from protocol structures 2015-07-08 14:34:38 +02:00
lxc_protocol-structs
Makefile.am secret: Create virsecretobj.c and virsecretconf.h 2016-04-25 15:45:29 -04:00
nodeinfo.c sysconf: Include unistd.h 2015-12-24 18:03:50 +01:00
nodeinfo.h nodeinfo: Fix output on PPC64 KVM hosts 2015-08-03 08:38:46 -04:00
nodeinfopriv.h nodeinfo: Make sysfs_prefix usage more consistent 2015-07-14 17:11:36 -04:00
qemu_protocol-structs
README
remote_protocol-structs Add VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED event 2016-04-13 13:26:29 +02:00
virkeepaliveprotocol-structs
virnetprotocol-structs

       libvirt library code README
       ===========================

The directory provides the bulk of the libvirt codebase. Everything
except for the libvirtd daemon and client tools. The build uses a
large number of libtool convenience libraries - one for each child
directory, and then links them together for the final libvirt.so,
although some bits get linked directly to libvirtd daemon instead.

The files directly in this directory are supporting the public API
entry points & data structures.

There are two core shared modules to be aware of:

 * util/  - a collection of shared APIs that can be used by any
            code. This directory is always in the include path
            for all things built

 * conf/  - APIs for parsing / manipulating all the official XML
            files used by the public API. This directory is only
            in the include path for driver implementation modules

 * vmx/   - VMware VMX config handling (used by esx/ and vmware/)


Then there are the hypervisor implementations:

 * bhyve         - bhyve - The BSD Hypervisor
 * esx/          - VMware ESX and GSX support using vSphere API over SOAP
 * hyperv/       - Microsoft Hyper-V support using WinRM
 * lxc/          - Linux Native Containers
 * openvz/       - OpenVZ containers using cli tools
 * phyp/         - IBM Power Hypervisor using CLI tools over SSH
 * qemu/         - QEMU / KVM using qemu CLI/monitor
 * remote/       - Generic libvirt native RPC client
 * test/         - A "mock" driver for testing
 * uml/          - User Mode Linux
 * vbox/         - Virtual Box using native API
 * vmware/       - VMware Workstation and Player using the vmrun tool
 * xen/          - Xen using hypercalls, XenD SEXPR & XenStore
 * xenapi/       - Xen using libxenserver


Finally some secondary drivers that are shared for several HVs.
Currently these are used by LXC, OpenVZ, QEMU, UML and Xen drivers.
The ESX, Hyper-V, Power Hypervisor, Remote, Test & VirtualBox drivers all
implement the secondary drivers directly

 * cpu/          - CPU feature management
 * interface/    - Host network interface management
 * network/      - Virtual NAT networking
 * nwfilter/     - Network traffic filtering rules
 * node_device/  - Host device enumeration
 * secret/       - Secret management
 * security/     - Mandatory access control drivers
 * storage/      - Storage management drivers


Since both the hypervisor and secondary drivers can be built as
dlopen()able modules, it is *FORBIDDEN* to have build dependencies
between these directories. Drivers are only allowed to depend on
the public API, and the internal APIs in the util/ and conf/
directories