Steve Oliphant | 1 Aug 2008 01:08
Picon

Re: [libvirt] listing domains on Fedora 8 XEN kernel

I have answered my own question.

On an XEN kernel, the default hypervisor is XEN and I did not have any
XEN domains.

If I explicitly connect to QEMU - my programs work fine.

I discovered this fact by running the existing programs with
the connect string:

"qemu://steve-1.verizon.net/system"

I then created an XEN domain and when I reconnected with

 "xen://steve-1.verizon.net/system"

I received the XEN domain information.

I know this bit of information is very familiar to those who
are experienced in the world of virtual machines.  I am passing
the information on for those who are new to this environment.

Thanks

Steve

Date sent:      	Mon, 14 Jul 2008 12:56:24 -0400
From:           	Steve Oliphant <sdoliphant <at> verizon.net>
Subject:        	[libvirt] listing domains on Fedora 8 XEN kernel
To:             	libvir-list <at> redhat.com
(Continue reading)

Daniel Veillard | 1 Aug 2008 07:16
Picon
Favicon
Gravatar

Re: [libvirt] [PATCH] Detailed XML errors version 4

On Wed, Jul 30, 2008 at 05:53:18PM +0100, Richard W.M. Jones wrote:
> 
> Updated to report only the first error, as suggested by Dan.

  Code looks good, sorry for the delay +1
Maybe it would be better to confine all this libxml2 specific logic 
as a couple of internal routines exported from xml.[ch] but it's
fine as is :-)

Daniel

--

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard <at> redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

Daniel Veillard | 1 Aug 2008 08:24
Picon
Favicon
Gravatar

Re: [libvirt] [PATCH] qemudDomainCreate: also check uuid

On Wed, Jul 30, 2008 at 02:06:29PM -0500, Charles Duffy wrote:
> Blerg; the more complex patch I provided was dangerously wrong.
> 
> Just applying the one that corrects the message WORKSFORME.

  Okay, done,

    thanks !

Daniel

--

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard <at> redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

Daniel Veillard | 1 Aug 2008 08:26
Picon
Favicon
Gravatar

Re: [libvirt] [PATCH] qemudDomainCreate: also check uuid

On Thu, Jul 31, 2008 at 07:08:33AM -0400, Guido Günther wrote:
> On Wed, Jul 30, 2008 at 12:05:56AM -0500, Charles Duffy wrote:
> > It appears that this patch was applied (in commit  
> > 45616162db2d1e807dbe70e60c67cb701cbd06d8) with the virDomainIsActive(vm)  
> > checks removed from qemudDomainCreate, such that we fail out with  
> > "domain [...] is already defined and running" even if the domain is only  
> > defined but not running.
> The error message is confusing. I missed to correct that. Shall I send a
> patch? I thing doing more than that is simply too confusing for users.

  No, no problem, Charles was being confused :-) all set now !

Daniel

--

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard <at> redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

Daniel Veillard | 1 Aug 2008 08:31
Picon
Favicon
Gravatar

Re: [libvirt] [Charles_Duffy <at> messageone.com: [PATCH] autoport overrides actual VNC port number in dump-xml]

On Thu, Jul 31, 2008 at 02:17:25PM +0100, Daniel P. Berrange wrote:
> On Thu, Jul 31, 2008 at 02:24:25PM +0200, Chris Lalancette wrote:
> > Daniel Veillard wrote:
> > >> So the explicit port is output in XML if autoport is not set, or
> > >> if the domain is running.
> > > 
> > >   Okay +1, push the patch :-)
> > 
> > Yes, I agree, I just tested out the patch and it seems to fix the issue for me.
> >  I'm going to commit the patch now.
> 
> You committed the wrong patch it appears - the original one instead of my
> revised version :-(

  Seems fixed now, I'm seeing 

    case VIR_DOMAIN_GRAPHICS_TYPE_VNC:
        if (def->data.vnc.port &&
            (!def->data.vnc.autoport || vm->id != -1))
            virBufferVSprintf(buf, " port='%d'",
                              def->data.vnc.port);
        else if (def->data.vnc.autoport)
            virBufferAddLit(buf, " port='-1'");

        virBufferVSprintf(buf, " autoport='%s'",
                          def->data.vnc.autoport ? "yes" : "no");
in CVS head,

Daniel

(Continue reading)

Chris Lalancette | 1 Aug 2008 08:37
Picon
Favicon

Re: [libvirt] [Charles_Duffy <at> messageone.com: [PATCH] autoport overrides actual VNC port number in dump-xml]

Daniel Veillard wrote:
>   Seems fixed now, I'm seeing 
> 
>     case VIR_DOMAIN_GRAPHICS_TYPE_VNC:
>         if (def->data.vnc.port &&
>             (!def->data.vnc.autoport || vm->id != -1))
>             virBufferVSprintf(buf, " port='%d'",
>                               def->data.vnc.port);
>         else if (def->data.vnc.autoport)
>             virBufferAddLit(buf, " port='-1'");
> 
>         virBufferVSprintf(buf, " autoport='%s'",
>                           def->data.vnc.autoport ? "yes" : "no");

Yeah, Dan B committed the fix to the fix, since I didn't get around to it
yesterday.  Thanks Dan B!

Chris Lalancette

Daniel Veillard | 1 Aug 2008 08:43
Picon
Favicon
Gravatar

Re: [libvirt] [PATCH] Minor doc tweaks

On Thu, Jul 31, 2008 at 11:38:38AM -0500, Charles Duffy wrote:
> Per subject; clarifies the distinction between virDomainCreateLinux and 
> virDomainDefineXML+virDomainCreate, and adds documentation for the 
> autoport display attribute.

  Okay, applied, except that docs/libvirt-api.xml is automatically regenerated
by scanning the C files and headers for descriptions, so the way to fix
it is by editing the functions comments of the 2 API entry points. I extended
the descriptions a bit too.

  Thanks for the patch and the heads up :-)

Daniel

--

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard <at> redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

rajesh battala | 1 Aug 2008 08:45
Picon
Favicon

[libvirt] Contribution to libvirt

hi all..
i am interested to contribute to libvirt.
i want to contribute to the java bindings.
is there any procedure for that.
plz let me know i ddint find doc on the site.
thanks
rajesh

Connect with friends all over the world. Get Yahoo! India Messenger.
<div>
<div><div>hi all..<br>i am interested to contribute to libvirt.<br>i want to contribute to the java bindings.<br>is there any procedure for that.<br>plz let me know i ddint find doc on the site.<br>thanks<br>rajesh<br>
</div></div>
<br> Connect with friends all over the world. <a href="http://in.rd.yahoo.com/tagline_messenger_1/*http://in.messenger.yahoo.com/?wm=n/"> Get Yahoo! India Messenger.</a>
</div>
Daniel Veillard | 1 Aug 2008 08:58
Picon
Favicon
Gravatar

Re: [libvirt] Contribution to libvirt

On Fri, Aug 01, 2008 at 12:15:38PM +0530, rajesh battala wrote:
> hi all..
> i am interested to contribute to libvirt.
> i want to contribute to the java bindings.
> is there any procedure for that.
> plz let me know i ddint find doc on the site.

  Discuss what you would like to provide here, send patches in unified
diff format against the CVS head. See
   http://libvirt.org/bugs.html
   http://libvirt.org/java.html

  Basically it's like for any other project, I suggest you read
what Rich Jones wrote on the topic:

  http://et.redhat.com/~rjones/how-to-supply-code-to-open-source-projects/

Daniel

--

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard <at> redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

Atsushi SAKAI | 1 Aug 2008 09:00
Favicon

Re: [libvirt] Contribution to libvirt

Hello, rajesh

As you know, the java bindings are here.
http://libvirt.org/java.html

Please mail the patch to this mailing list.

Thanks
Atsushi SAKAI

rajesh battala <rajesh.battala <at> yahoo.co.in> wrote:

> hi all..
> i am interested to contribute to libvirt.
> i want to contribute to the java bindings.
> is there any procedure for that.
> plz let me know i ddint find doc on the site.
> thanks
> rajesh
> 
> 
> 
>       Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/


Gmane