<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-2022-jp" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18928">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face="MS UI Gothic">Hello,</FONT></DIV>
<DIV><FONT size=2 face="MS UI Gothic"></FONT> </DIV>
<DIV><FONT size=2 face="MS UI Gothic">Firstly, I have some confusion about the 
libvirt API  "virDomainDestroy" method. here is the link to API: <A 
href="http://libvirt.org/html/libvirt-libvirt.html#virDomainDestroy">http://libvirt.org/html/libvirt-libvirt.html#virDomainDestroy</A></FONT></DIV>
<DIV><FONT size=2 face="MS UI Gothic">Does this method completely removes the 
domain from the system? I have confusion because the "virsh destroy" 
tool option performs a forced shutdown and does not destroy/delete/remove 
the domain.</FONT></DIV>
<DIV><FONT size=2 face="MS UI Gothic">So,  what does "virDomainDestroy" 
method do exactly? Also, if it comletely removes the domain, then is there any 
other method to perform a force shutdown of the domain. I know the 
"virDomainShutdown" method performs a normal shutdown.</FONT></DIV>
<DIV><FONT size=2 face="MS UI Gothic"></FONT> </DIV>
<DIV><FONT size=2 face="MS UI Gothic">Secondly, Is it possible to boot a domain 
on a completely different physical host with the same Hypervisor 
configuration?</FONT></DIV>
<DIV><FONT size=2 face="MS UI Gothic">For. E.g: if I have a domain on a host 
192.168.101.1 running Xen with a Domain "test" in shutdown state. If I have to 
start/boot the domain "test" on a different physical host, running Xen say 
192.168.101.2, is it possible using libvirt API? If not, then is there any other 
method to do it?</FONT></DIV>
<DIV><FONT size=2 face="MS UI Gothic"></FONT> </DIV>
<DIV><FONT size=2 face="MS UI Gothic">Thirdly, Is there a method to get the 
total running time of a domain? I mean, the amount of time since the domain 
had been booted. Currently, I can fetch the CPU time. But, is this the exact 
amount of time the domain is ON? i.e. If the domain is in a "IDLE" state, the 
CPU time does not increase. But what I want is the amount of time the domain was 
ON(including the idle time). So, If I can get the start time of the domain, I 
can calculate the duration.</FONT></DIV>
<DIV><FONT size=2 face="MS UI Gothic"></FONT> </DIV>
<DIV><FONT size=2 face="MS UI Gothic">Sorry for the long mail and 
description.</FONT></DIV>
<DIV><FONT size=2 face="MS UI Gothic"></FONT> </DIV>
<DIV><FONT size=2 face="MS UI Gothic">Any help would be greatly 
appreciated.</FONT></DIV>
<DIV><FONT size=2 face="MS UI Gothic"></FONT> </DIV>
<DIV><FONT size=2 face="MS UI Gothic">Thanks and Regards<BR>Sagar 
Barve</FONT></DIV></BODY></HTML>