[libvirt] [PATCH v3 03/18] qemu: Use virDomainSnapshotState for switch statements

John Ferlan jferlan at redhat.com
Thu Mar 7 14:00:02 UTC 2019



On 3/4/19 10:34 PM, Eric Blake wrote:
> Clean up the previous patch which abused switch on virDomainState
> while working with a variable containing virDomainSnapshotState, by
> converting the two affected switch statements to now use the right
> enum.
> 
> Signed-off-by: Eric Blake <eblake at redhat.com>
> ---
>  src/qemu/qemu_driver.c | 67 ++++++++++++++++++++----------------------
>  1 file changed, 32 insertions(+), 35 deletions(-)
> 

Reviewed-by: John Ferlan <jferlan at redhat.com>

John




More information about the libvir-list mailing list