libvirt/daemon
Daniel P. Berrange 50b6c95d62 Make all bitfields unsigned ints to avoid unexpected values in casts
The 'int virInterfaceIsActive()' method was directly returning the
value of the 'int active:1' bitfield in virIntefaceDefPtr. A bitfield
with a signed integer, will hold the values 0 and -1, not 0 and +1
as might be expected. This meant that virInterfaceIsActive() was
always returning -1 when the interface was active, not +1 & thus all
callers thought an error had occurred. To protect against this kind
of mistake again, change all bitfields to be unsigned ints

* daemon/libvirtd.h, src/conf/domain_conf.h, src/conf/interface_conf.h,
  src/conf/network_conf.h: Change bitfields to unsigned int.
2010-01-20 16:33:02 +00:00
..
.gitignore Rename qemud/ directory to daemon/ 2009-09-21 14:41:42 +01:00
dispatch.c Pass remote_message_header to the dispatch functions. 2009-09-30 14:05:57 +02:00
dispatch.h Change signature of remoteSendStreamData() to fix compile warning 2009-09-30 12:37:10 +02:00
event.c Fix event test timer checks on kernels with HZ=100 2009-12-02 11:53:42 +00:00
event.h Rename qemud/ directory to daemon/ 2009-09-21 14:41:42 +01:00
libvirtd.aug Rename qemud/ directory to daemon/ 2009-09-21 14:41:42 +01:00
libvirtd.c Remove superfluous new lines from messages 2010-01-19 17:30:41 +01:00
libvirtd.conf Rename qemud/ directory to daemon/ 2009-09-21 14:41:42 +01:00
libvirtd.h Make all bitfields unsigned ints to avoid unexpected values in casts 2010-01-20 16:33:02 +00:00
libvirtd.init.in Fix initscript to check daemon pidfile 2009-11-13 10:37:11 +00:00
libvirtd.logrotate.in Do not log rotate very small logs 2009-10-21 13:56:04 +02:00
libvirtd.policy-0 Rename qemud/ directory to daemon/ 2009-09-21 14:41:42 +01:00
libvirtd.policy-1 Rename qemud/ directory to daemon/ 2009-09-21 14:41:42 +01:00
libvirtd.sasl Rename qemud/ directory to daemon/ 2009-09-21 14:41:42 +01:00
libvirtd.sysconf Allow control over QEMU audio backend 2009-09-29 15:53:10 +01:00
Makefile.am The secret driver is stateful, link it directly to libvirtd 2009-12-23 15:01:09 +01:00
mdns.c Rename daemon main code 2009-09-21 14:41:45 +01:00
mdns.h Rename qemud/ directory to daemon/ 2009-09-21 14:41:42 +01:00
remote_dispatch_args.h Add domainMemoryStats support to remote driver 2009-12-20 13:43:19 +01:00
remote_dispatch_prototypes.h Add domainMemoryStats support to remote driver 2009-12-20 13:43:19 +01:00
remote_dispatch_ret.h Add domainMemoryStats support to remote driver 2009-12-20 13:43:19 +01:00
remote_dispatch_table.h Add domainMemoryStats support to remote driver 2009-12-20 13:43:19 +01:00
remote_generate_stubs.pl Pass remote_message_header to the dispatch functions. 2009-09-30 14:05:57 +02:00
remote.c Remove superfluous new lines from messages 2010-01-19 17:30:41 +01:00
remote.h Pass remote_message_header to the dispatch functions. 2009-09-30 14:05:57 +02:00
stream.c Let remoteClientStream only do RX if requested. 2009-09-30 14:05:41 +02:00
stream.h Let remoteClientStream only do RX if requested. 2009-09-30 14:05:41 +02:00
test_libvirtd.aug Rename qemud/ directory to daemon/ 2009-09-21 14:41:42 +01:00
THREADING.txt Move libvirtd event loop into background thread 2009-11-03 14:45:43 -05:00