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

Michal Privoznik mprivozn at redhat.com
Mon Dec 16 14:32:48 UTC 2013


On 11.12.2013 10:16, Michal Privoznik wrote:
> 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(-)
> 

So it seems to me like we have agreement that the current state
transitions should be prohibited. If that's the case, can somebody
please review the patches? Thanks!

Michal




More information about the libvir-list mailing list