[libvirt] [PATCH 0/2] Fix interface state transitions logic

Michal Privoznik mprivozn at redhat.com
Wed Dec 11 09:16:36 UTC 2013


Right now it's possible to start an interface that is already running, or
destroy an interface multiple times. Such state transitions are not allowed and
we check for such cases explicitly in other areas like qemu driver.

Michal Privoznik (2):
  interface: Introduce netcfInterfaceObjIsActive
  interface: Take interface status into account when starting and
    destroying

 src/interface/interface_backend_netcf.c | 77 +++++++++++++++++++++++----------
 1 file changed, 53 insertions(+), 24 deletions(-)

-- 
1.8.5.1




More information about the libvir-list mailing list