[libvirt] virDomainShutdown() API failed with error '-1'

2014-03-06 Thread Panday Ritesh Sharma (rpanday)
Hi Team, We are calling virDomainShutdown() API for shutting the VM. Sometime we see, this API is failing because of 'unknown' reason. It took almost 15 secs to bringdown the VM and at last failed. And the domain goes into shut off state. You can find the time stamp in below log. Could you pleas

Re: [libvirt] Compiling libvirt RPC client library for QNX

2014-03-03 Thread Panday Ritesh Sharma (rpanday)
On 04/03/14 12:09 AM, "Daniel P. Berrange" wrote: >On Sat, Mar 01, 2014 at 04:09:00AM +, Panday Ritesh Sharma (rpanday) >wrote: >> >> >> When I tried using 'gcc.c4.2.1-p2' for trial purpose, which is available >> to us, I hit the error

Re: [libvirt] Compiling libvirt RPC client library for QNX

2014-03-03 Thread Panday Ritesh Sharma (rpanday)
On 01/03/14 9:39 AM, "Panday Ritesh Sharma (rpanday)" wrote: > > >On 25/02/14 11:17 PM, "Eric Blake" wrote: > >>On 02/25/2014 09:05 AM, Panday Ritesh Sharma (rpanday) wrote: >> >>>> >>>> We are using a wrapper of make for

Re: [libvirt] Compiling libvirt RPC client library for QNX

2014-02-28 Thread Panday Ritesh Sharma (rpanday)
On 25/02/14 11:17 PM, "Eric Blake" wrote: >On 02/25/2014 09:05 AM, Panday Ritesh Sharma (rpanday) wrote: > >>> >>> We are using a wrapper of make for compilation for QNX. So I need to >>>know, >>> when I am compiling this client library on

Re: [libvirt] Compiling libvirt RPC client library for QNX

2014-02-25 Thread Panday Ritesh Sharma (rpanday)
On 25/02/14 11:17 PM, "Eric Blake" wrote: >On 02/25/2014 09:05 AM, Panday Ritesh Sharma (rpanday) wrote: > >>> >>> We are using a wrapper of make for compilation for QNX. So I need to >>>know, >>> when I am compiling this client library on

Re: [libvirt] Compiling libvirt RPC client library for QNX

2014-02-25 Thread Panday Ritesh Sharma (rpanday)
On 25/02/14 10:03 PM, "Daniel P. Berrange" wrote: >On Tue, Feb 25, 2014 at 03:39:58PM +, Panday Ritesh Sharma (rpanday) >wrote: >> Hi Daniel, >> I ran ./configure command with below options. I found these options in >>on >> of the mail replied by yo

Re: [libvirt] Compiling libvirt RPC client library for QNX

2014-02-25 Thread Panday Ritesh Sharma (rpanday)
On 25/02/14 9:18 PM, "Panday Ritesh Sharma (rpanday)" wrote: >Hi Roman, >Sorry !!! I did not understand "Once again, please don't top-post on >technical lists." > >I should not include 'libvirt-l...@redhat.com' in my mail thread ? > >

Re: [libvirt] Compiling libvirt RPC client library for QNX

2014-02-25 Thread Panday Ritesh Sharma (rpanday)
ut-macvtap Regards Ritesh Sharma On 25/02/14 8:52 PM, "Daniel P. Berrange" wrote: >On Tue, Feb 25, 2014 at 03:10:59PM +0000, Panday Ritesh Sharma (rpanday) >wrote: >> Hi Eric, >> I used the option '--without-macvtap' and I was able to compile on my >> linux

Re: [libvirt] Compiling libvirt RPC client library for QNX

2014-02-25 Thread Panday Ritesh Sharma (rpanday)
be compiled for QNX ? Regards Ritesh Sharma On 24/02/14 10:15 PM, "Eric Blake" wrote: >On 02/24/2014 05:58 AM, Panday Ritesh Sharma (rpanday) wrote: > >[please don't top-post on technical lists] > >> Hi Roman, >> Before I jump to the compilation of libvir

Re: [libvirt] Compiling libvirt RPC client library for QNX

2014-02-24 Thread Panday Ritesh Sharma (rpanday)
le] Error 1 blr-vxr-052~$ Regards Ritesh Sharma On 24/02/14 1:50 PM, "Roman Bogorodskiy" wrote: > Panday Ritesh Sharma (rpanday) wrote: > >> Thanks Roman for your response. >> >> Few questions which are not answered in that link. As I mentioned, my

Re: [libvirt] Compiling libvirt RPC client library for QNX

2014-02-23 Thread Panday Ritesh Sharma (rpanday)
Hi Roman, In addition to my below queries, do I need any other library to compile libvirt, any pre-requisite is there ? Regards Ritesh Sharma On 23/02/14 3:52 PM, "Panday Ritesh Sharma (rpanday)" wrote: >Thanks Roman for your response. > >Few questions which are not answered

Re: [libvirt] Compiling libvirt RPC client library for QNX

2014-02-23 Thread Panday Ritesh Sharma (rpanday)
0.9.8 is quite old. JFYI, my linux box is running below host version so I would need compatible libvirt. Linux host OS : gcc version 4.4.1 (Wind River Linux Sourcery G++ 4.4a-341) Regards Ritesh Sharma On 23/02/14 3:18 AM, "Roman Bogorodskiy" wrote: > Panday Ritesh Sharma (r

[libvirt] Compiling libvirt RPC client library for QNX

2014-02-22 Thread Panday Ritesh Sharma (rpanday)
HI Team, I have downloaded the libvirt source code from libvirt_0.9.8.orig.tar.gz . I just wanted libvirt RPC client library to be compiled for QNX. My remote box which is running QNX would like to establish libvirt

Re: [libvirt] virDomainGetInfo() returns wrong domain state

2013-09-26 Thread Panday Ritesh Sharma (rpanday)
is 'unsigned char' in virDomainGetInfo, why it could not be 'enum' as it is returning enums only. Regards Ritesh Sharma -Original Message- From: Michal Privoznik [mailto:mpriv...@redhat.com] Sent: Thursday, September 26, 2013 12:54 PM To: Panday Ritesh Sharma

Re: [libvirt] virDomainGetInfo() returns wrong domain state

2013-09-24 Thread Panday Ritesh Sharma (rpanday)
Hi Libvirt support team, Could you please help me with below query. Regards Ritesh Sharma From: Panday Ritesh Sharma (rpanday) Sent: Tuesday, September 24, 2013 8:22 PM To: 'libvir-list@redhat.com'; 'libvirt-us...@redhat.com'; Vinay Shankarkumar (vinays) Cc: Basavaraj Bendig

[libvirt] virDomainGetInfo() returns wrong domain state

2013-09-24 Thread Panday Ritesh Sharma (rpanday)
Hi Team, I have written below code to get the VM state at run time. I found, though the VM is in shut-off state, when I use the function virDomainGetInfo(); I get state as running. Could you please let me know what wrong I am doing. To know the actual VM state I used 'virsh list' and it clearl