Re: [libvirt] libvirt support on QNX

2011-12-14 Thread Daniel P. Berrange
On Wed, Dec 14, 2011 at 01:01:31PM +0530, Chandrashekhar Jamadarkhani 
(cjamadar) wrote:
  
 In which dir the source code for libvirt RPC client driver located to
 port it to QNX ? Is it in libvirt-0.9.8/src/remote ?

src/remote is the dispatch code for the client.

src/rpc is the general RPC infrastructure the client uses

Daniel
-- 
|: http://berrange.com  -o-http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org  -o- http://virt-manager.org :|
|: http://autobuild.org   -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org   -o-   http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] libvirt support on QNX

2011-12-14 Thread Chandrashekhar Jamadarkhani (cjamadar)
Config.h file is missing in qnx. What is the path to config.h in linux ?

Build Error (pasted here for one file only)
src/util/iptables.c:22:20: error: config.h: No such file or directory

Thanks,
Chandrashekhar


-Original Message-
From: Chandrashekhar Jamadarkhani (cjamadar) 
Sent: Wednesday, December 14, 2011 3:24 PM
To: 'Daniel P. Berrange'
Subject: RE: libvirt support on QNX


Thanks Daniel ! We are using Jamfile instead of Makefile in our build 
environment. Let me check how can I build the same in our build environment.

Thanks,
Chandarshekhar

-Original Message-
From: Daniel P. Berrange [mailto:berra...@redhat.com] 
Sent: Wednesday, December 14, 2011 2:56 PM
To: Chandrashekhar Jamadarkhani (cjamadar)
Subject: Re: libvirt support on QNX

On Wed, Dec 14, 2011 at 02:50:31PM +0530, Chandrashekhar Jamadarkhani 
(cjamadar) wrote:
 Thanks Daniel.  I should port only src/rpc to QNX or anything else I need to 
 port to QNX ?

You basically want to build with

./configure \
--enable-compile-warnings=error \
--without-xen \
--without-qemu \
--without-openvz \
--without-lxc \
--without-vbox \
--without-xenapi \
--without-esx \
--without-uml \
--without-sasl \
--without-avahi \
--without-polkit \
--without-python \
--without-libvirtd \
--without-phyp \
--without-hyperv \
--without-netcf \
--without-audit \
--without-dtrace

And then fix whatever fails to build (if anything).

This should only be stuff in

  src/util
  src/conf
  src/rpc
  src/remote

Regards,
Daniel
-- 
|: http://berrange.com  -o-http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org  -o- http://virt-manager.org :|
|: http://autobuild.org   -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org   -o-   http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] libvirt support on QNX

2011-12-14 Thread Eric Blake
On 12/14/2011 11:45 AM, Chandrashekhar Jamadarkhani (cjamadar) wrote:

[Developers prefer that you avoid top-posting on technical lists like this]

 Config.h file is missing in qnx. What is the path to config.h in linux ?

config.h is a generated file, which is built as the result of running
./configure.

 
 Build Error (pasted here for one file only)
 src/util/iptables.c:22:20: error: config.h: No such file or directory

Please show the exact command line you used to configure things, and a
few more lines of 'make V=1' output prior to the failure point.

 
 Thanks Daniel ! We are using Jamfile instead of Makefile in our build 
 environment.

Oh, are you even using make?  And if not, why not?

How are you building your Jamfile?  Upstream depends on using Makefile
and 'make'; using anything else means that there may be a bug in your
particular conversion process in trying to translate the upstream
supported method into your one-off method.

-- 
Eric Blake   ebl...@redhat.com+1-919-301-3266
Libvirt virtualization library http://libvirt.org



signature.asc
Description: OpenPGP digital signature
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] libvirt support on QNX

2011-12-13 Thread Chandrashekhar Jamadarkhani (cjamadar)
 
In which dir the source code for libvirt RPC client driver located to
port it to QNX ? Is it in libvirt-0.9.8/src/remote ?
 
Thanks,
Chandrashekhar
 
Hi Daniel,
 
Thanks Daniel for the info.
I was talking only about porting libvirt RPC client driver to QNX for
starting/monitoring VMs running on remote RHEL based host. Let me try
porting the libvirt RPC client driver to QNX.
 
Thanks,
Chandrashekhar
 
-Original Message-
From: Daniel P. Berrange [mailto:berrange redhat com] 
Sent: Wednesday, November 16, 2011 4:07 PM
To: Chandrashekhar Jamadarkhani (cjamadar)
Cc: libvir-list redhat com
Subject: Re: [libvirt] libvirt support on QNX
 
On Wed, Nov 16, 2011 at 03:32:19PM +0530, Chandrashekhar Jamadarkhani
(cjamadar) wrote:
 Hi,
 
  
 
 I'm planning to use libvirt  in a remote machine which is running on
QNX
 RTOS. Whether libvirt is ported to QNX, if not any problems in porting
 libvirt lib to QNX ?
 
AFAIK, no one has ever said they've tried libvirt on QNX. I presume you
are talking about the libvirt RPC client driver only, or are you
planning
to create some kind of hypervisor driver too ?
 
The libvirt RPC client driver is probably the most portable bit of our
code, only depending on a good sockets layer implementation  GNUTLS.
So if you pass flags to configure to disable all drivers, except for the
remote driver, you should be able to build it without undue trouble.
 
Regards,
Daniel

 

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] libvirt support on QNX

2011-11-16 Thread Chandrashekhar Jamadarkhani (cjamadar)
Hi,

 

I'm planning to use libvirt  in a remote machine which is running on QNX
RTOS. Whether libvirt is ported to QNX, if not any problems in porting
libvirt lib to QNX ?

Appreciate your help on this.

 

Thanks,

Chandrashekhar

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] libvirt support on QNX

2011-11-16 Thread Daniel P. Berrange
On Wed, Nov 16, 2011 at 03:32:19PM +0530, Chandrashekhar Jamadarkhani 
(cjamadar) wrote:
 Hi,
 
  
 
 I'm planning to use libvirt  in a remote machine which is running on QNX
 RTOS. Whether libvirt is ported to QNX, if not any problems in porting
 libvirt lib to QNX ?

AFAIK, no one has ever said they've tried libvirt on QNX. I presume you
are talking about the libvirt RPC client driver only, or are you planning
to create some kind of hypervisor driver too ?

The libvirt RPC client driver is probably the most portable bit of our
code, only depending on a good sockets layer implementation  GNUTLS.
So if you pass flags to configure to disable all drivers, except for the
remote driver, you should be able to build it without undue trouble.

Regards,
Daniel
-- 
|: http://berrange.com  -o-http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org  -o- http://virt-manager.org :|
|: http://autobuild.org   -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org   -o-   http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] libvirt support on QNX

2011-11-16 Thread Chandrashekhar Jamadarkhani (cjamadar)
Hi Daniel,

Thanks Daniel for the info.
I was talking only about porting libvirt RPC client driver to qnx for 
starting/monitoring VMs running on remote RHEL based host. Let me try porting 
the libvirt RPC client driver to QNX.

Thanks,
Chandrashekhar

-Original Message-
From: Daniel P. Berrange [mailto:berra...@redhat.com] 
Sent: Wednesday, November 16, 2011 4:07 PM
To: Chandrashekhar Jamadarkhani (cjamadar)
Cc: libvir-list@redhat.com
Subject: Re: [libvirt] libvirt support on QNX

On Wed, Nov 16, 2011 at 03:32:19PM +0530, Chandrashekhar Jamadarkhani 
(cjamadar) wrote:
 Hi,
 
  
 
 I'm planning to use libvirt  in a remote machine which is running on QNX
 RTOS. Whether libvirt is ported to QNX, if not any problems in porting
 libvirt lib to QNX ?

AFAIK, no one has ever said they've tried libvirt on QNX. I presume you
are talking about the libvirt RPC client driver only, or are you planning
to create some kind of hypervisor driver too ?

The libvirt RPC client driver is probably the most portable bit of our
code, only depending on a good sockets layer implementation  GNUTLS.
So if you pass flags to configure to disable all drivers, except for the
remote driver, you should be able to build it without undue trouble.

Regards,
Daniel
-- 
|: http://berrange.com  -o-http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org  -o- http://virt-manager.org :|
|: http://autobuild.org   -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org   -o-   http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list