Hey,
I've tried the following:
1.Domain d=conn.domainLookupByName("test");
System.out.print("Active test" +d.isActive() );
O/p- This gives me 1 as the answer and hence active.
2.Domain d=conn.domainLookupByName("test");
System.out.print("Active test" +d.isPersistent() );
O/p- Gives me the f
[your mailer seems to want to start a new thread rather than replying to
the existing thread, which makes following your mails difficult. Could
you please fix that?]
On 11/10/2011 09:09 PM, PREETHI RAMESH wrote:
> This question concerns the usage of the listDomains(). When I run this
> piece of c
This question concerns the usage of the listDomains(). When I run this
piece of code in KVM, it works perfectly fine but throws an array out of
bounds exception in Xen.
Connect conn=null;
conn = new Connect("xen:///", true);
int[] id = conn.listDomains();
System.out.println("lD of VM " +id[0])