libvirt/src/conf
Laine Stump 5cdcb75d45 network: log error for unknown virNetworkUpdate command codes
Every level of the code for virNetworkUpdate was assuming that some
other level was checking for validity of the "command" arg, but none
actually were. The result was that an invalid command code would do
nothing, but also report success.

Since the command code isn't used until the very lowest level backend
functions, that's where I put the check. I made a separate one-line
function to log the error. The compiler would have combined the
identical strings used by multiple calls if I'd just called
virReportError directly in each location, but sending them all to the
same string in the source guards against inadvertant divergence (which
would lead to extra work for translators.)
2012-09-21 20:10:43 -04:00
..
capabilities.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
capabilities.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
cpu_conf.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
cpu_conf.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
device_conf.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
device_conf.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
domain_audit.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
domain_audit.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
domain_conf.c Add <seclabel> to character devices. 2012-09-21 13:43:47 +01:00
domain_conf.h Add <seclabel> to character devices. 2012-09-21 13:43:47 +01:00
domain_event.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
domain_event.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
domain_nwfilter.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
domain_nwfilter.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
interface_conf.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
interface_conf.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
netdev_bandwidth_conf.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
netdev_bandwidth_conf.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
netdev_vlan_conf.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
netdev_vlan_conf.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
netdev_vport_profile_conf.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
netdev_vport_profile_conf.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
network_conf.c network: log error for unknown virNetworkUpdate command codes 2012-09-21 20:10:43 -04:00
network_conf.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
node_device_conf.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
node_device_conf.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
nwfilter_conf.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
nwfilter_conf.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
nwfilter_ipaddrmap.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
nwfilter_ipaddrmap.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
nwfilter_params.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
nwfilter_params.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
secret_conf.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
secret_conf.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
snapshot_conf.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
snapshot_conf.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
storage_conf.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
storage_conf.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
storage_encryption_conf.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
storage_encryption_conf.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virconsole.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virconsole.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00