Add tests for virt-xxx command in libvirt.

Actually, in lxc, execute `virt-what` I got nothing, and for qemu guest, I got `kvm`:
```
# virt-what
kvm
```