As usual, the libvirt uses 1 virsh interface to do 2 things(get & set), so we don't need to separate it into 2 functions by ourselves, in addition, 1 function will keep function interface simple and reduce codes redundancy.