libvirt/src/lxc
Pavel Hrdina cf521fc8ba memtune: change the way how we store unlimited value
There was a mess in the way how we store unlimited value for memory
limits and how we handled values provided by user.  Internally there
were two possible ways how to store unlimited value: as 0 value or as
VIR_DOMAIN_MEMORY_PARAM_UNLIMITED.  Because we chose to store memory
limits as unsigned long long, we cannot use -1 to represent unlimited.
It's much easier for us to say that everything greater than
VIR_DOMAIN_MEMORY_PARAM_UNLIMITED means unlimited and leave 0 as valid
value despite that it makes no sense to set limit to 0.

Remove unnecessary function virCompareLimitUlong.  The update of test
is to prevent the 0 to be miss-used as unlimited in future.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1146539

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2015-03-06 11:52:24 +01:00
..
libvirtd_lxc.aug Add support for sVirt in the LXC driver 2012-02-02 17:44:39 -07:00
lxc_cgroup.c memtune: change the way how we store unlimited value 2015-03-06 11:52:24 +01:00
lxc_cgroup.h lxc: report veth device indexes to systemd 2015-01-27 13:57:02 +00:00
lxc_conf.c Search for schemas and cpu_map.xml in source tree 2015-02-19 15:25:04 +01:00
lxc_conf.h lxc: use general virhostdev lists instead of its own 2014-03-12 16:03:04 +00:00
lxc_container.c lxc: more logging during startup paths 2015-01-27 13:57:02 +00:00
lxc_container.h LXC from native: migrate fstab and lxc.mount.entry 2014-02-12 17:52:46 +00:00
lxc_controller.c conf: numa: Rename virDomainNumatune to virDomainNuma 2015-02-20 17:43:04 +01:00
lxc_domain.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
lxc_domain.h Store a virCgroupPtr instance in virLXCDomainObjPrivatePtr 2013-04-15 17:35:31 +01:00
lxc_driver.c memtune: change the way how we store unlimited value 2015-03-06 11:52:24 +01:00
lxc_driver.h maint: don't use config.h in .h files 2013-06-05 05:53:25 -06:00
lxc_fuse.c memtune: change the way how we store unlimited value 2015-03-06 11:52:24 +01:00
lxc_fuse.h Avoid async signal safety problem in glibc's setxid 2013-11-18 15:36:23 +00:00
lxc_hostdev.c Replace Usb with USB throughout 2014-04-08 11:10:59 +01:00
lxc_hostdev.h Replace Usb with USB throughout 2014-04-08 11:10:59 +01:00
lxc_monitor_protocol.x lxc_monitor_protocol: Redefine xdr_uint64_t if needed 2014-09-26 10:15:03 +02:00
lxc_monitor.c Indent top-level labels by one space in src/lxc/ 2014-03-25 14:58:39 +01:00
lxc_monitor.h Fix generation of systemtap probes for RPC protocols 2013-03-14 12:42:22 +00:00
lxc_native.c memtune: change the way how we store unlimited value 2015-03-06 11:52:24 +01:00
lxc_native.h LXC driver: started implementing connectDomainXMLFromNative 2014-02-12 17:52:46 +00:00
lxc_process.c lxc: Fix container cleanup for LXCProcessStart 2015-02-13 13:44:52 -05:00
lxc_process.h Remove use of nwfilterPrivateData from nwfilter driver 2015-01-27 12:02:03 +00:00
lxc.conf Standardize whitespace used in example config files 2012-05-28 10:59:13 +01:00
test_libvirtd_lxc.aug.in Autogenerate augeas test case from default config files 2012-05-28 11:07:12 +01:00