[libvirt] [PATCHv2 variant 1] snapshot: implement new APIs for esx and vbox