[ Please, keep cc'ing the list. ] The 18/01/12, Sarath P R wrote: > I am trying to start create an instance by passing configurations in xml > file > > dom = con.domainDefineXML(xmlDesc); > ��������������� int id = dom.create(); > > I want to provide ssh access to the newly created vm. I am trying to > provide cloud service. so i want� the creation of vm and embedding ssh > inside the vm everything happen programatically. I think you're looking for libguestfs at http://libguestfs.org/ . Another approach would be you to have root ssh access to the guest and tunning the guest configuration via ssh. -- Nicolas Sebrecht