Re: [libvirt-users] C API example

2010-07-01 Thread Dave Allan
t; Steve > > --- On Wed, 6/30/10, Justin Clift wrote: > > > From: Justin Clift > > Subject: Re: [libvirt-users] C API example > > To: "Dave Allan" > > Cc: steven...@yahoo.com, libvirt-users@redhat.com > > Date: Wednesday, June 30, 2010, 10:09 PM >

Re: [libvirt-users] C API example

2010-06-30 Thread steven765
t build an application that uses the API with nothing else but what's necessary? Thanks, Steve --- On Wed, 6/30/10, Justin Clift wrote: > From: Justin Clift > Subject: Re: [libvirt-users] C API example > To: "Dave Allan" > Cc: steven...@yahoo.com, libvirt-users@redhat.com &g

Re: [libvirt-users] C API example

2010-06-30 Thread Justin Clift
On 07/01/2010 11:54 AM, Dave Allan wrote: ./hellolibvirt \ qemu+unix:///system?socket=/var/run/libvirt/libvirt-sock Thanks Dave. The +unix:// and ?socket=xxx bits are what I'd not been picking up on. Should be good now. Steven, is it working for you? Regards and best wishes, Justin Clif

Re: [libvirt-users] C API example

2010-06-30 Thread Dave Allan
On Thu, Jul 01, 2010 at 11:34:12AM +1000, Justin Clift wrote: > On 07/01/2010 11:12 AM, steven...@yahoo.com wrote: > >Trying to build the hellolibvirt example. I get the project to > >compile okay but when I try to run it I get: > > > >Unable to connect to '/usr/local/var/run/libvirt/libivrt-sock

Re: [libvirt-users] C API example

2010-06-30 Thread Justin Clift
On 07/01/2010 11:12 AM, steven...@yahoo.com wrote: Trying to build the hellolibvirt example. I get the project to compile okay but when I try to run it I get: Unable to connect to '/usr/local/var/run/libvirt/libivrt-sock Given libvirt --status says it's in /var/run/libvirt/libvirt-sock that ma

[libvirt-users] C API example

2010-06-30 Thread steven765
Trying to build the hellolibvirt example. I get the project to compile okay but when I try to run it I get: Unable to connect to '/usr/local/var/run/libvirt/libivrt-sock Given libvirt --status says it's in /var/run/libvirt/libvirt-sock that makes sense. How do I make the git version run with