autotest/tp-libvirt — pull request #226 by Hao-Liu (2014-07-07 05:06:27+00:00)
Title: Fix pool related cases to recover selinux state.

This PR depends on https://github.com/autotest/virt-test/pull/1751.
This commit is base on a virt-test change to recover selinux state
after creating an NFS pool. Besides this change, this commit also
fixed a few bugs.
1) Stop virsh.domblkerror cleanup entire temp directory.
2) Clean virsh.vol_create_from and virsh.vol_download_upload file.
3) Create the file before chmod in virsh.vol_download_upload to
prevent error.

Signed-off-by: Hao Liu