libvirt/src/interface
Michal Privoznik 5bd7ac029e interface: Take interface status into account when starting and destroying
https://bugzilla.redhat.com/show_bug.cgi?id=956994

Currently, it is possible to start an interface that is already running:

 # virsh iface-start eth2
 Interface eth2 started

 # echo $?
 0

 # virsh iface-start eth2
 Interface eth2 started

 # echo $?
 0

 # virsh iface-start eth2
 Interface eth2 started

 # echo $?
 0

Same applies for destroying a dead interface. We should not allow such
state transitions.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2013-12-24 17:20:00 +01:00
..
interface_backend_netcf.c interface: Take interface status into account when starting and destroying 2013-12-24 17:20:00 +01:00
interface_backend_udev.c Convert 'int i' to 'size_t i' in src/interface/ files 2013-07-10 17:55:16 +01:00
interface_driver.c Convert HAVE_UDEV to WITH_UDEV 2013-01-14 13:26:47 +00:00
interface_driver.h interface: always build all available backends 2012-10-09 09:44:51 -06:00