virt plugin: Use lv_disconnect on shutdown
authorFrancesco Romani <fromani@redhat.com>
Tue, 13 Dec 2016 15:34:24 +0000 (16:34 +0100)
committerFrancesco Romani <fromani@redhat.com>
Tue, 13 Dec 2016 15:34:42 +0000 (16:34 +0100)
commitc5021819bb8d330bb3976bda5399abacb32ccb9f
tree8421a817154dcb106772557f13a5997060d66cda
parentd11224e04dde09a1964835162f6915acc7aec934
virt plugin: Use lv_disconnect on shutdown

Avoiding duplication of the code and let's use
the new lv_disconnect() helper in the lv_shutdown() callback.

Signed-off-by: Francesco Romani <fromani@redhat.com>
src/virt.c