libvirt: Add 'EDITOR' configuration in control

Some commands will use OS default editor, if editor is changed to other, command may fail, so set it to "vi" defaultly when you start testing.