On Wed, Jun 30, 2010 at 07:37:27PM -0700, steven...@yahoo.com wrote: > I think so, but I'm locked out at home. I'll have to try at school tomorrow. > It gave me a remote error, but with the correct directory so fingers crossed > thanks! > > btw might you or anyone know what I have to include to start a clean project > of my own? So if I want to just build an application that uses the API with > nothing else but what's necessary?
If you're talking about a C application, you're pretty much describing hellolibvirt. I tried to put enough in there to demonstrate a couple of different calls, but hopefully not so much that it's overwhelming. If it seems like there's a lot there, cut some of it out. You don't need the showDomains function, for example. Remove it, compile and see what happens. Dave > Thanks, > Steve > > --- On Wed, 6/30/10, Justin Clift <jus...@salasaga.org> wrote: > > > From: Justin Clift <jus...@salasaga.org> > > Subject: Re: [libvirt-users] C API example > > To: "Dave Allan" <dal...@redhat.com> > > Cc: steven...@yahoo.com, libvirt-users@redhat.com > > Date: Wednesday, June 30, 2010, 10:09 PM > > On 07/01/2010 11:54 AM, Dave Allan > > wrote: > > <snip> > > > ./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 Clift > > > > -- Salasaga - Open Source eLearning IDE > > http://www.salasaga.org > > > > > _______________________________________________ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users