libvirt/src/conf
Martin Kletzander 6c9a8a49c7 conf: forbid negative values in virDomainParseScaledValue
It makes sense for none of the callers to have negative value as an
output and, fortunately, if anyone tried defining domain with negative
memory or any other value parsed by virDomainParseScaledValue(), the
resulting value was 0.  That means we can error out during parsing as
it won't break anything.

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

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2014-10-30 07:42:28 +01:00
..
capabilities.c capabilities: use bool instead of int 2014-07-14 08:00:46 -06:00
capabilities.h capabilities: use bool instead of int 2014-07-14 08:00:46 -06:00
cpu_conf.c conf: report error in virCPUDefParseXML 2014-09-26 16:03:14 +02:00
cpu_conf.h docs, conf, schema: add support for shared memory mapping 2014-09-17 16:10:26 +02:00
device_conf.c Introduce virTristateSwitch enum 2014-07-23 12:59:40 +02:00
device_conf.h Introduce virTristateSwitch enum 2014-07-23 12:59:40 +02:00
domain_addr.c Properly check the return value of CCWAddressAsString 2014-06-23 08:31:53 +02:00
domain_addr.h Split out CCW address allocation 2014-06-21 10:12:21 +02:00
domain_audit.c audit: Fix some comments 2014-08-07 10:28:32 +02:00
domain_audit.h audit: Add auditing for serial/parallel/channel/console character devs 2014-07-07 12:56:45 +02:00
domain_capabilities.c domaincaps: Expose UEFI binary path, if it exists 2014-09-17 16:29:49 +02:00
domain_capabilities.h domaincaps: Expose UEFI binary path, if it exists 2014-09-17 16:29:49 +02:00
domain_conf.c conf: forbid negative values in virDomainParseScaledValue 2014-10-30 07:42:28 +01:00
domain_conf.h conf: Improve adding of new address types 2014-10-15 10:27:50 +02:00
domain_event.c Check for NULL in qemu monitor event filter 2014-09-26 13:35:51 +02:00
domain_event.h event: introduce new event for tunable values 2014-09-23 21:49:57 +02:00
domain_nwfilter.c Use K&R style for curly braces in src/conf/ 2014-03-20 17:16:38 +01:00
domain_nwfilter.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
interface_conf.c maint: Prohibit "devname" by a syntax check rules 2014-10-01 16:39:01 +02:00
interface_conf.h maint: Prohibit "devname" by a syntax check rules 2014-10-01 16:39:01 +02:00
netdev_bandwidth_conf.c Indent top-level labels by one space in src/conf/ 2014-03-25 14:58:38 +01:00
netdev_bandwidth_conf.h Rename xml.{c,h} to virxml.{c,h} 2012-12-21 11:19:50 +00:00
netdev_vlan_conf.c Indent top-level labels by one space in src/conf/ 2014-03-25 14:58:38 +01:00
netdev_vlan_conf.h maint: avoid 'const fooPtr' in conf 2013-10-14 14:34:38 -06:00
netdev_vport_profile_conf.c Indent top-level labels by one space in src/conf/ 2014-03-25 14:58:38 +01:00
netdev_vport_profile_conf.h Rename xml.{c,h} to virxml.{c,h} 2012-12-21 11:19:50 +00:00
network_conf.c conf: add trustGuestRxFilters attribute to network and domain interface 2014-10-06 11:49:10 -04:00
network_conf.h conf: add trustGuestRxFilters attribute to network and domain interface 2014-10-06 11:49:10 -04:00
network_event.c Indent top-level labels by one space in src/conf/ 2014-03-25 14:58:38 +01:00
network_event.h event: move event filtering to daemon (regression fix) 2014-02-05 08:03:31 -07:00
node_device_conf.c maint: use consistent if-else braces in conf and friends 2014-09-04 08:53:21 -06:00
node_device_conf.h nodedev: move pci express types to virpci.h 2014-07-28 14:10:25 -06:00
numatune_conf.c maint: drop spurious semicolons 2014-08-25 17:29:30 -06:00
numatune_conf.h numatune: finish the split from domain_conf and remove all dependencies 2014-07-24 08:40:25 +02:00
nwfilter_conf.c maint: avoid static zero init in helpers 2014-10-29 09:55:09 -06:00
nwfilter_conf.h conf: use typedefs for enums in "src/conf/nwfilter_conf.h" 2014-05-14 09:49:57 -06:00
nwfilter_ipaddrmap.c Remove pointless storage of var names in virNWFilterHashTable 2014-04-25 15:44:09 +01:00
nwfilter_ipaddrmap.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
nwfilter_params.c cleanup spaces between parentheses and braces 2014-08-20 14:50:21 +02:00
nwfilter_params.h conf: use typedefs for enums in node_device_conf, nwfilter_params 2014-05-12 16:49:43 -06:00
object_event_private.h event: prepare client to track domain callbackID 2014-02-12 10:48:15 -07:00
object_event.c Indent top-level labels by one space in src/conf/ 2014-03-25 14:58:38 +01:00
object_event.h event: add notion of remoteID for filtering client network events 2014-01-15 13:55:21 -07:00
secret_conf.c maint: use consistent if-else braces in conf and friends 2014-09-04 08:53:21 -06:00
secret_conf.h maint: shorten 'TypeType' function names 2014-05-16 00:22:18 -06:00
snapshot_conf.c conf: snapshot: Don't default-snapshot empty drives 2014-09-12 09:37:37 +02:00
snapshot_conf.h conf: store snapshot source as pointer, for easier manipulation 2014-06-06 09:56:27 -06:00
storage_conf.c storage_conf: Resolve libvirtd crash matching scsi_host 2014-10-28 21:25:33 -04:00
storage_conf.h storage: ZFS support 2014-08-12 19:40:20 +04:00
virchrdev.c Indent top-level labels by one space in src/conf/ 2014-03-25 14:58:38 +01:00
virchrdev.h conf: Add unix socket support to virChrdevOpen 2013-01-04 18:07:11 -07:00