* python/generator.py: changed the generator to generate a reference

from Domain class instances to the Connect they were issued from
  should fix rhbz#204490
* docs//*: rebuilt
Daniel
This commit is contained in:
Daniel Veillard 2006-11-09 15:32:44 +00:00
parent 4fc5f43399
commit 3869766df9
9 changed files with 203 additions and 170 deletions

View File

@ -1,3 +1,10 @@
Thu Nov 9 15:39:19 CET 2006 Daniel Veillard <veillard@redhat.com>
* python/generator.py: changed the generator to generate a reference
from Domain class instances to the Connect they were issued from
should fix rhbz#204490
* docs//*: rebuilt
Thu Nov 9 10:22:43 CET 2006 Daniel Veillard <veillard@redhat.com> Thu Nov 9 10:22:43 CET 2006 Daniel Veillard <veillard@redhat.com>
* tests/reconnect.c: fixed the reconnect test when running as non-root * tests/reconnect.c: fixed the reconnect test when running as non-root

View File

@ -126,6 +126,7 @@
<a href="html/libvirt-virterror.html#VIR_ERR_WARNING">VIR_ERR_WARNING</a><br /> <a href="html/libvirt-virterror.html#VIR_ERR_WARNING">VIR_ERR_WARNING</a><br />
<a href="html/libvirt-virterror.html#VIR_ERR_WRITE_FAILED">VIR_ERR_WRITE_FAILED</a><br /> <a href="html/libvirt-virterror.html#VIR_ERR_WRITE_FAILED">VIR_ERR_WRITE_FAILED</a><br />
<a href="html/libvirt-virterror.html#VIR_ERR_XEN_CALL">VIR_ERR_XEN_CALL</a><br /> <a href="html/libvirt-virterror.html#VIR_ERR_XEN_CALL">VIR_ERR_XEN_CALL</a><br />
<a href="html/libvirt-virterror.html#VIR_ERR_XML_DETAIL">VIR_ERR_XML_DETAIL</a><br />
<a href="html/libvirt-virterror.html#VIR_ERR_XML_ERROR">VIR_ERR_XML_ERROR</a><br /> <a href="html/libvirt-virterror.html#VIR_ERR_XML_ERROR">VIR_ERR_XML_ERROR</a><br />
<a href="html/libvirt-virterror.html#VIR_FROM_CONF">VIR_FROM_CONF</a><br /> <a href="html/libvirt-virterror.html#VIR_FROM_CONF">VIR_FROM_CONF</a><br />
<a href="html/libvirt-virterror.html#VIR_FROM_DOM">VIR_FROM_DOM</a><br /> <a href="html/libvirt-virterror.html#VIR_FROM_DOM">VIR_FROM_DOM</a><br />

View File

@ -57,6 +57,7 @@
<a href="html/libvirt-virterror.html#VIR_ERR_WARNING">VIR_ERR_WARNING</a><br /> <a href="html/libvirt-virterror.html#VIR_ERR_WARNING">VIR_ERR_WARNING</a><br />
<a href="html/libvirt-virterror.html#VIR_ERR_WRITE_FAILED">VIR_ERR_WRITE_FAILED</a><br /> <a href="html/libvirt-virterror.html#VIR_ERR_WRITE_FAILED">VIR_ERR_WRITE_FAILED</a><br />
<a href="html/libvirt-virterror.html#VIR_ERR_XEN_CALL">VIR_ERR_XEN_CALL</a><br /> <a href="html/libvirt-virterror.html#VIR_ERR_XEN_CALL">VIR_ERR_XEN_CALL</a><br />
<a href="html/libvirt-virterror.html#VIR_ERR_XML_DETAIL">VIR_ERR_XML_DETAIL</a><br />
<a href="html/libvirt-virterror.html#VIR_ERR_XML_ERROR">VIR_ERR_XML_ERROR</a><br /> <a href="html/libvirt-virterror.html#VIR_ERR_XML_ERROR">VIR_ERR_XML_ERROR</a><br />
<a href="html/libvirt-virterror.html#VIR_FROM_CONF">VIR_FROM_CONF</a><br /> <a href="html/libvirt-virterror.html#VIR_FROM_CONF">VIR_FROM_CONF</a><br />
<a href="html/libvirt-virterror.html#VIR_FROM_DOM">VIR_FROM_DOM</a><br /> <a href="html/libvirt-virterror.html#VIR_FROM_DOM">VIR_FROM_DOM</a><br />

View File

@ -137,6 +137,7 @@ void <a href="#virConnResetLastError">virConnResetLastError</a> (<a href="libvi
<a name="VIR_ERR_PARSE_FAILED">VIR_ERR_PARSE_FAILED</a> = 32 /* failed to parse a conf file */ <a name="VIR_ERR_PARSE_FAILED">VIR_ERR_PARSE_FAILED</a> = 32 /* failed to parse a conf file */
<a name="VIR_ERR_CONF_SYNTAX">VIR_ERR_CONF_SYNTAX</a> = 33 /* failed to parse the syntax of a conf file */ <a name="VIR_ERR_CONF_SYNTAX">VIR_ERR_CONF_SYNTAX</a> = 33 /* failed to parse the syntax of a conf file */
<a name="VIR_ERR_WRITE_FAILED">VIR_ERR_WRITE_FAILED</a> = 34 /* failed to write a conf file */ <a name="VIR_ERR_WRITE_FAILED">VIR_ERR_WRITE_FAILED</a> = 34 /* failed to write a conf file */
<a name="VIR_ERR_XML_DETAIL">VIR_ERR_XML_DETAIL</a> = 35 /* detail of an XML error */
}; };
</pre><p/> </pre><p/>
</div> </div>

View File

@ -123,6 +123,7 @@
<exports symbol='VIR_ERR_INVALID_CONN' type='enum'/> <exports symbol='VIR_ERR_INVALID_CONN' type='enum'/>
<exports symbol='VIR_ERR_NONE' type='enum'/> <exports symbol='VIR_ERR_NONE' type='enum'/>
<exports symbol='VIR_ERR_OK' type='enum'/> <exports symbol='VIR_ERR_OK' type='enum'/>
<exports symbol='VIR_ERR_XML_DETAIL' type='enum'/>
<exports symbol='VIR_ERR_NO_NAME' type='enum'/> <exports symbol='VIR_ERR_NO_NAME' type='enum'/>
<exports symbol='VIR_ERR_NO_ROOT' type='enum'/> <exports symbol='VIR_ERR_NO_ROOT' type='enum'/>
<exports symbol='VIR_ERR_OPERATION_FAILED' type='enum'/> <exports symbol='VIR_ERR_OPERATION_FAILED' type='enum'/>
@ -261,6 +262,7 @@
<enum name='VIR_ERR_WARNING' file='virterror' value='1' type='virErrorLevel' info='A simple warning'/> <enum name='VIR_ERR_WARNING' file='virterror' value='1' type='virErrorLevel' info='A simple warning'/>
<enum name='VIR_ERR_WRITE_FAILED' file='virterror' value='34' type='virErrorNumber' info='failed to write a conf file'/> <enum name='VIR_ERR_WRITE_FAILED' file='virterror' value='34' type='virErrorNumber' info='failed to write a conf file'/>
<enum name='VIR_ERR_XEN_CALL' file='virterror' value='15' type='virErrorNumber' info='failure doing an hypervisor call'/> <enum name='VIR_ERR_XEN_CALL' file='virterror' value='15' type='virErrorNumber' info='failure doing an hypervisor call'/>
<enum name='VIR_ERR_XML_DETAIL' file='virterror' value='35' type='virErrorNumber' info=' detail of an XML error'/>
<enum name='VIR_ERR_XML_ERROR' file='virterror' value='27' type='virErrorNumber' info='an XML description is not well formed or broken'/> <enum name='VIR_ERR_XML_ERROR' file='virterror' value='27' type='virErrorNumber' info='an XML description is not well formed or broken'/>
<enum name='VIR_FROM_CONF' file='virterror' value='9' type='virErrorDomain' info=' Error in the configuration file handling'/> <enum name='VIR_FROM_CONF' file='virterror' value='9' type='virErrorDomain' info=' Error in the configuration file handling'/>
<enum name='VIR_FROM_DOM' file='virterror' value='6' type='virErrorDomain' info='Error when operating on a domain'/> <enum name='VIR_FROM_DOM' file='virterror' value='6' type='virErrorDomain' info='Error when operating on a domain'/>

View File

@ -58,6 +58,7 @@
<reference name='VIR_ERR_WARNING' href='html/libvirt-virterror.html#VIR_ERR_WARNING'/> <reference name='VIR_ERR_WARNING' href='html/libvirt-virterror.html#VIR_ERR_WARNING'/>
<reference name='VIR_ERR_WRITE_FAILED' href='html/libvirt-virterror.html#VIR_ERR_WRITE_FAILED'/> <reference name='VIR_ERR_WRITE_FAILED' href='html/libvirt-virterror.html#VIR_ERR_WRITE_FAILED'/>
<reference name='VIR_ERR_XEN_CALL' href='html/libvirt-virterror.html#VIR_ERR_XEN_CALL'/> <reference name='VIR_ERR_XEN_CALL' href='html/libvirt-virterror.html#VIR_ERR_XEN_CALL'/>
<reference name='VIR_ERR_XML_DETAIL' href='html/libvirt-virterror.html#VIR_ERR_XML_DETAIL'/>
<reference name='VIR_ERR_XML_ERROR' href='html/libvirt-virterror.html#VIR_ERR_XML_ERROR'/> <reference name='VIR_ERR_XML_ERROR' href='html/libvirt-virterror.html#VIR_ERR_XML_ERROR'/>
<reference name='VIR_FROM_CONF' href='html/libvirt-virterror.html#VIR_FROM_CONF'/> <reference name='VIR_FROM_CONF' href='html/libvirt-virterror.html#VIR_FROM_CONF'/>
<reference name='VIR_FROM_DOM' href='html/libvirt-virterror.html#VIR_FROM_DOM'/> <reference name='VIR_FROM_DOM' href='html/libvirt-virterror.html#VIR_FROM_DOM'/>
@ -217,6 +218,7 @@
<ref name='VIR_ERR_WARNING'/> <ref name='VIR_ERR_WARNING'/>
<ref name='VIR_ERR_WRITE_FAILED'/> <ref name='VIR_ERR_WRITE_FAILED'/>
<ref name='VIR_ERR_XEN_CALL'/> <ref name='VIR_ERR_XEN_CALL'/>
<ref name='VIR_ERR_XML_DETAIL'/>
<ref name='VIR_ERR_XML_ERROR'/> <ref name='VIR_ERR_XML_ERROR'/>
<ref name='VIR_FROM_CONF'/> <ref name='VIR_FROM_CONF'/>
<ref name='VIR_FROM_DOM'/> <ref name='VIR_FROM_DOM'/>
@ -574,6 +576,7 @@
<ref name='VIR_ERR_WARNING'/> <ref name='VIR_ERR_WARNING'/>
<ref name='VIR_ERR_WRITE_FAILED'/> <ref name='VIR_ERR_WRITE_FAILED'/>
<ref name='VIR_ERR_XEN_CALL'/> <ref name='VIR_ERR_XEN_CALL'/>
<ref name='VIR_ERR_XML_DETAIL'/>
<ref name='VIR_ERR_XML_ERROR'/> <ref name='VIR_ERR_XML_ERROR'/>
<ref name='VIR_FROM_CONF'/> <ref name='VIR_FROM_CONF'/>
<ref name='VIR_FROM_DOM'/> <ref name='VIR_FROM_DOM'/>

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: libvirt\n" "Project-Id-Version: libvirt\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-11-07 16:20+0100\n" "POT-Creation-Date: 2006-11-09 14:26+0100\n"
"PO-Revision-Date: 2006-09-20 10:20-0400\n" "PO-Revision-Date: 2006-09-20 10:20-0400\n"
"Last-Translator: Daniel Berrange <berrange@redhat.com>\n" "Last-Translator: Daniel Berrange <berrange@redhat.com>\n"
"Language-Team: English <en@li.org>\n" "Language-Team: English <en@li.org>\n"
@ -32,298 +32,302 @@ msgstr ""
msgid "error" msgid "error"
msgstr "" msgstr ""
#: src/virterror.c:328 #: src/virterror.c:335
msgid "No error message provided" msgid "No error message provided"
msgstr "" msgstr ""
#: src/virterror.c:382 #: src/virterror.c:389
#, c-format #, c-format
msgid "internal error %s" msgid "internal error %s"
msgstr "" msgstr ""
#: src/virterror.c:384 #: src/virterror.c:391
msgid "internal error" msgid "internal error"
msgstr "" msgstr ""
#: src/virterror.c:387 #: src/virterror.c:394
msgid "out of memory" msgid "out of memory"
msgstr "" msgstr ""
#: src/virterror.c:391 #: src/virterror.c:398
msgid "no support for hypervisor" msgid "no support for hypervisor"
msgstr "" msgstr ""
#: src/virterror.c:393 #: src/virterror.c:400
#, c-format #, c-format
msgid "no support for hypervisor %s" msgid "no support for hypervisor %s"
msgstr "" msgstr ""
#: src/virterror.c:397 #: src/virterror.c:404
msgid "could not connect to hypervisor" msgid "could not connect to hypervisor"
msgstr "" msgstr ""
#: src/virterror.c:399 #: src/virterror.c:406
#, c-format #, c-format
msgid "could not connect to %s" msgid "could not connect to %s"
msgstr "" msgstr ""
#: src/virterror.c:403 #: src/virterror.c:410
msgid "invalid connection pointer in" msgid "invalid connection pointer in"
msgstr "" msgstr ""
#: src/virterror.c:405 #: src/virterror.c:412
#, c-format #, c-format
msgid "invalid connection pointer in %s" msgid "invalid connection pointer in %s"
msgstr "" msgstr ""
#: src/virterror.c:409 #: src/virterror.c:416
msgid "invalid domain pointer in" msgid "invalid domain pointer in"
msgstr "" msgstr ""
#: src/virterror.c:411 #: src/virterror.c:418
#, c-format #, c-format
msgid "invalid domain pointer in %s" msgid "invalid domain pointer in %s"
msgstr "" msgstr ""
#: src/virterror.c:415 #: src/virterror.c:422
msgid "invalid argument in" msgid "invalid argument in"
msgstr "" msgstr ""
#: src/virterror.c:417 #: src/virterror.c:424
#, c-format #, c-format
msgid "invalid argument in %s" msgid "invalid argument in %s"
msgstr "" msgstr ""
#: src/virterror.c:421 #: src/virterror.c:428
#, c-format #, c-format
msgid "operation failed: %s" msgid "operation failed: %s"
msgstr "" msgstr ""
#: src/virterror.c:423 #: src/virterror.c:430
msgid "operation failed" msgid "operation failed"
msgstr "" msgstr ""
#: src/virterror.c:427 #: src/virterror.c:434
#, c-format #, c-format
msgid "GET operation failed: %s" msgid "GET operation failed: %s"
msgstr "" msgstr ""
#: src/virterror.c:429 #: src/virterror.c:436
msgid "GET operation failed" msgid "GET operation failed"
msgstr "" msgstr ""
#: src/virterror.c:433 #: src/virterror.c:440
#, c-format #, c-format
msgid "POST operation failed: %s" msgid "POST operation failed: %s"
msgstr "" msgstr ""
#: src/virterror.c:435 #: src/virterror.c:442
msgid "POST operation failed" msgid "POST operation failed"
msgstr "" msgstr ""
#: src/virterror.c:438 #: src/virterror.c:445
#, c-format #, c-format
msgid "got unknown HTTP error code %d" msgid "got unknown HTTP error code %d"
msgstr "" msgstr ""
#: src/virterror.c:442 #: src/virterror.c:449
#, c-format #, c-format
msgid "unknown host %s" msgid "unknown host %s"
msgstr "" msgstr ""
#: src/virterror.c:444 #: src/virterror.c:451
msgid "unknown host" msgid "unknown host"
msgstr "" msgstr ""
#: src/virterror.c:448 #: src/virterror.c:455
#, c-format #, c-format
msgid "failed to serialize S-Expr: %s" msgid "failed to serialize S-Expr: %s"
msgstr "" msgstr ""
#: src/virterror.c:450 #: src/virterror.c:457
msgid "failed to serialize S-Expr" msgid "failed to serialize S-Expr"
msgstr "" msgstr ""
#: src/virterror.c:454 #: src/virterror.c:461
msgid "could not use Xen hypervisor entry" msgid "could not use Xen hypervisor entry"
msgstr "" msgstr ""
#: src/virterror.c:456 #: src/virterror.c:463
#, c-format #, c-format
msgid "could not use Xen hypervisor entry %s" msgid "could not use Xen hypervisor entry %s"
msgstr "" msgstr ""
#: src/virterror.c:460 #: src/virterror.c:467
msgid "could not connect to Xen Store" msgid "could not connect to Xen Store"
msgstr "" msgstr ""
#: src/virterror.c:462 #: src/virterror.c:469
#, c-format #, c-format
msgid "could not connect to Xen Store %s" msgid "could not connect to Xen Store %s"
msgstr "" msgstr ""
#: src/virterror.c:465 #: src/virterror.c:472
#, c-format #, c-format
msgid "failed Xen syscall %s %d" msgid "failed Xen syscall %s %d"
msgstr "" msgstr ""
#: src/virterror.c:469 #: src/virterror.c:476
msgid "unknown OS type" msgid "unknown OS type"
msgstr "" msgstr ""
#: src/virterror.c:471 #: src/virterror.c:478
#, c-format #, c-format
msgid "unknown OS type %s" msgid "unknown OS type %s"
msgstr "" msgstr ""
#: src/virterror.c:474 #: src/virterror.c:481
msgid "missing kernel information" msgid "missing kernel information"
msgstr "" msgstr ""
#: src/virterror.c:478 #: src/virterror.c:485
msgid "missing root device information" msgid "missing root device information"
msgstr "" msgstr ""
#: src/virterror.c:480 #: src/virterror.c:487
#, c-format #, c-format
msgid "missing root device information in %s" msgid "missing root device information in %s"
msgstr "" msgstr ""
#: src/virterror.c:484 #: src/virterror.c:491
msgid "missing source information for device" msgid "missing source information for device"
msgstr "" msgstr ""
#: src/virterror.c:486 #: src/virterror.c:493
#, c-format #, c-format
msgid "missing source information for device %s" msgid "missing source information for device %s"
msgstr "" msgstr ""
#: src/virterror.c:490 #: src/virterror.c:497
msgid "missing target information for device" msgid "missing target information for device"
msgstr "" msgstr ""
#: src/virterror.c:492 #: src/virterror.c:499
#, c-format #, c-format
msgid "missing target information for device %s" msgid "missing target information for device %s"
msgstr "" msgstr ""
#: src/virterror.c:496 #: src/virterror.c:503
msgid "missing domain name information" msgid "missing domain name information"
msgstr "" msgstr ""
#: src/virterror.c:498 #: src/virterror.c:505
#, c-format #, c-format
msgid "missing domain name information in %s" msgid "missing domain name information in %s"
msgstr "" msgstr ""
#: src/virterror.c:502 #: src/virterror.c:509
msgid "missing operating system information" msgid "missing operating system information"
msgstr "" msgstr ""
#: src/virterror.c:504 #: src/virterror.c:511
#, c-format #, c-format
msgid "missing operating system information for %s" msgid "missing operating system information for %s"
msgstr "" msgstr ""
#: src/virterror.c:508 #: src/virterror.c:515
msgid "missing devices information" msgid "missing devices information"
msgstr "" msgstr ""
#: src/virterror.c:510 #: src/virterror.c:517
#, c-format #, c-format
msgid "missing devices information for %s" msgid "missing devices information for %s"
msgstr "" msgstr ""
#: src/virterror.c:514 #: src/virterror.c:521
msgid "too many drivers registered" msgid "too many drivers registered"
msgstr "" msgstr ""
#: src/virterror.c:516 #: src/virterror.c:523
#, c-format #, c-format
msgid "too many drivers registered in %s" msgid "too many drivers registered in %s"
msgstr "" msgstr ""
#: src/virterror.c:520 #: src/virterror.c:527
msgid "library call failed, possibly not supported" msgid "library call failed, possibly not supported"
msgstr "" msgstr ""
#: src/virterror.c:522 #: src/virterror.c:529
#, c-format #, c-format
msgid "library call %s failed, possibly not supported" msgid "library call %s failed, possibly not supported"
msgstr "" msgstr ""
#: src/virterror.c:526 #: src/virterror.c:533
msgid "XML description not well formed or invalid" msgid "XML description not well formed or invalid"
msgstr "" msgstr ""
#: src/virterror.c:528 #: src/virterror.c:535
#, c-format #, c-format
msgid "XML description for %s is not well formed or invalid" msgid "XML description for %s is not well formed or invalid"
msgstr "" msgstr ""
#: src/virterror.c:532 #: src/virterror.c:539
msgid "this domain exists already" msgid "this domain exists already"
msgstr "" msgstr ""
#: src/virterror.c:534 #: src/virterror.c:541
#, c-format #, c-format
msgid "domain %s exists already" msgid "domain %s exists already"
msgstr "" msgstr ""
#: src/virterror.c:538 #: src/virterror.c:545
msgid "operation forbidden for read only access" msgid "operation forbidden for read only access"
msgstr "" msgstr ""
#: src/virterror.c:540 #: src/virterror.c:547
#, c-format #, c-format
msgid "operation %s forbidden for read only access" msgid "operation %s forbidden for read only access"
msgstr "" msgstr ""
#: src/virterror.c:544 #: src/virterror.c:551
msgid "failed to open configuration file for reading" msgid "failed to open configuration file for reading"
msgstr "" msgstr ""
#: src/virterror.c:546 #: src/virterror.c:553
#, c-format #, c-format
msgid "failed to open %s for reading" msgid "failed to open %s for reading"
msgstr "" msgstr ""
#: src/virterror.c:550 #: src/virterror.c:557
msgid "failed to read configuration file" msgid "failed to read configuration file"
msgstr "" msgstr ""
#: src/virterror.c:552 #: src/virterror.c:559
#, c-format #, c-format
msgid "failed to read configuration file %s" msgid "failed to read configuration file %s"
msgstr "" msgstr ""
#: src/virterror.c:556 #: src/virterror.c:563
msgid "failed to parse configuration file" msgid "failed to parse configuration file"
msgstr "" msgstr ""
#: src/virterror.c:558 #: src/virterror.c:565
#, c-format #, c-format
msgid "failed to parse configuration file %s" msgid "failed to parse configuration file %s"
msgstr "" msgstr ""
#: src/virterror.c:562 #: src/virterror.c:569
msgid "configuration file syntax error" msgid "configuration file syntax error"
msgstr "" msgstr ""
#: src/virterror.c:564 #: src/virterror.c:571
#, c-format #, c-format
msgid "configuration file syntax error: %s" msgid "configuration file syntax error: %s"
msgstr "" msgstr ""
#: src/virterror.c:568 #: src/virterror.c:575
msgid "failed to write configuration file" msgid "failed to write configuration file"
msgstr "" msgstr ""
#: src/virterror.c:570 #: src/virterror.c:577
#, c-format #, c-format
msgid "failed to write configuration file: %s" msgid "failed to write configuration file: %s"
msgstr "" msgstr ""
#: src/virterror.c:581
msgid "parser error"
msgstr ""
#: src/xmlrpc.c:63 #: src/xmlrpc.c:63
msgid "copying node content" msgid "copying node content"
msgstr "" msgstr ""
@ -369,8 +373,8 @@ msgid "allocate new context"
msgstr "" msgstr ""
#: src/hash.c:628 src/hash.c:634 src/test.c:725 src/test.c:750 src/test.c:773 #: src/hash.c:628 src/hash.c:634 src/test.c:725 src/test.c:750 src/test.c:773
#: src/test.c:797 src/xend_internal.c:1912 src/xend_internal.c:2608 #: src/test.c:797 src/xend_internal.c:1920 src/xend_internal.c:2616
#: src/xend_internal.c:2819 src/xs_internal.c:594 src/proxy_internal.c:791 #: src/xend_internal.c:2827 src/xs_internal.c:594 src/proxy_internal.c:791
#: src/proxy_internal.c:838 src/proxy_internal.c:889 #: src/proxy_internal.c:838 src/proxy_internal.c:889
msgid "allocating domain" msgid "allocating domain"
msgstr "" msgstr ""
@ -491,7 +495,7 @@ msgstr ""
msgid "growing buffer" msgid "growing buffer"
msgstr "" msgstr ""
#: src/xml.c:116 src/xend_internal.c:1603 src/xend_internal.c:1622 #: src/xml.c:116 src/xend_internal.c:1611 src/xend_internal.c:1630
msgid "allocate new buffer" msgid "allocate new buffer"
msgstr "" msgstr ""
@ -507,65 +511,65 @@ msgstr ""
msgid "failed to copy a string" msgid "failed to copy a string"
msgstr "" msgstr ""
#: src/xend_internal.c:264 src/xend_internal.c:267 #: src/xend_internal.c:265 src/xend_internal.c:268
msgid "failed to read from Xen Daemon" msgid "failed to read from Xen Daemon"
msgstr "" msgstr ""
#: src/xend_internal.c:1057 #: src/xend_internal.c:1064
msgid "failed to urlencode the create S-Expr" msgid "failed to urlencode the create S-Expr"
msgstr "" msgstr ""
#: src/xend_internal.c:1098 #: src/xend_internal.c:1105
msgid "domain information incomplete, missing domid" msgid "domain information incomplete, missing domid"
msgstr "" msgstr ""
#: src/xend_internal.c:1104 #: src/xend_internal.c:1111
msgid "domain information incorrect domid not numeric" msgid "domain information incorrect domid not numeric"
msgstr "" msgstr ""
#: src/xend_internal.c:1111 src/xend_internal.c:1160 #: src/xend_internal.c:1118 src/xend_internal.c:1167
msgid "domain information incomplete, missing uuid" msgid "domain information incomplete, missing uuid"
msgstr "" msgstr ""
#: src/xend_internal.c:1151 src/xend_internal.c:1492 #: src/xend_internal.c:1158 src/xend_internal.c:1500
msgid "domain information incomplete, missing name" msgid "domain information incomplete, missing name"
msgstr "" msgstr ""
#: src/xend_internal.c:1409 src/xend_internal.c:1434 #: src/xend_internal.c:1417 src/xend_internal.c:1442
msgid "domain information incomplete, missing kernel" msgid "domain information incomplete, missing kernel"
msgstr "" msgstr ""
#: src/xend_internal.c:1582 #: src/xend_internal.c:1590
msgid "domain information incomplete, vbd has no src" msgid "domain information incomplete, vbd has no src"
msgstr "" msgstr ""
#: src/xend_internal.c:1588 #: src/xend_internal.c:1596
msgid "domain information incomplete, vbd has no dev" msgid "domain information incomplete, vbd has no dev"
msgstr "" msgstr ""
#: src/xend_internal.c:1596 #: src/xend_internal.c:1604
msgid "cannot parse vbd filename, missing driver name" msgid "cannot parse vbd filename, missing driver name"
msgstr "" msgstr ""
#: src/xend_internal.c:1615 #: src/xend_internal.c:1623
msgid "cannot parse vbd filename, missing driver type" msgid "cannot parse vbd filename, missing driver type"
msgstr "" msgstr ""
#: src/xend_internal.c:1923 #: src/xend_internal.c:1931
msgid "failed to parse Xend domain information" msgid "failed to parse Xend domain information"
msgstr "" msgstr ""
#: src/xend_internal.c:2883 #: src/xend_internal.c:2892
#, c-format #, c-format
msgid "Failed to create domain %s\n" msgid "Failed to create domain %s\n"
msgstr "" msgstr ""
#: src/xend_internal.c:2889 #: src/xend_internal.c:2898
#, c-format #, c-format
msgid "Failed to get devices for domain %s\n" msgid "Failed to get devices for domain %s\n"
msgstr "" msgstr ""
#: src/xend_internal.c:2900 #: src/xend_internal.c:2909
#, c-format #, c-format
msgid "Failed to resume new domain %s\n" msgid "Failed to resume new domain %s\n"
msgstr "" msgstr ""

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-11-07 16:20+0100\n" "POT-Creation-Date: 2006-11-09 14:26+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -32,298 +32,302 @@ msgstr ""
msgid "error" msgid "error"
msgstr "" msgstr ""
#: src/virterror.c:328 #: src/virterror.c:335
msgid "No error message provided" msgid "No error message provided"
msgstr "" msgstr ""
#: src/virterror.c:382 #: src/virterror.c:389
#, c-format #, c-format
msgid "internal error %s" msgid "internal error %s"
msgstr "" msgstr ""
#: src/virterror.c:384 #: src/virterror.c:391
msgid "internal error" msgid "internal error"
msgstr "" msgstr ""
#: src/virterror.c:387 #: src/virterror.c:394
msgid "out of memory" msgid "out of memory"
msgstr "" msgstr ""
#: src/virterror.c:391 #: src/virterror.c:398
msgid "no support for hypervisor" msgid "no support for hypervisor"
msgstr "" msgstr ""
#: src/virterror.c:393 #: src/virterror.c:400
#, c-format #, c-format
msgid "no support for hypervisor %s" msgid "no support for hypervisor %s"
msgstr "" msgstr ""
#: src/virterror.c:397 #: src/virterror.c:404
msgid "could not connect to hypervisor" msgid "could not connect to hypervisor"
msgstr "" msgstr ""
#: src/virterror.c:399 #: src/virterror.c:406
#, c-format #, c-format
msgid "could not connect to %s" msgid "could not connect to %s"
msgstr "" msgstr ""
#: src/virterror.c:403 #: src/virterror.c:410
msgid "invalid connection pointer in" msgid "invalid connection pointer in"
msgstr "" msgstr ""
#: src/virterror.c:405 #: src/virterror.c:412
#, c-format #, c-format
msgid "invalid connection pointer in %s" msgid "invalid connection pointer in %s"
msgstr "" msgstr ""
#: src/virterror.c:409 #: src/virterror.c:416
msgid "invalid domain pointer in" msgid "invalid domain pointer in"
msgstr "" msgstr ""
#: src/virterror.c:411 #: src/virterror.c:418
#, c-format #, c-format
msgid "invalid domain pointer in %s" msgid "invalid domain pointer in %s"
msgstr "" msgstr ""
#: src/virterror.c:415 #: src/virterror.c:422
msgid "invalid argument in" msgid "invalid argument in"
msgstr "" msgstr ""
#: src/virterror.c:417 #: src/virterror.c:424
#, c-format #, c-format
msgid "invalid argument in %s" msgid "invalid argument in %s"
msgstr "" msgstr ""
#: src/virterror.c:421 #: src/virterror.c:428
#, c-format #, c-format
msgid "operation failed: %s" msgid "operation failed: %s"
msgstr "" msgstr ""
#: src/virterror.c:423 #: src/virterror.c:430
msgid "operation failed" msgid "operation failed"
msgstr "" msgstr ""
#: src/virterror.c:427 #: src/virterror.c:434
#, c-format #, c-format
msgid "GET operation failed: %s" msgid "GET operation failed: %s"
msgstr "" msgstr ""
#: src/virterror.c:429 #: src/virterror.c:436
msgid "GET operation failed" msgid "GET operation failed"
msgstr "" msgstr ""
#: src/virterror.c:433 #: src/virterror.c:440
#, c-format #, c-format
msgid "POST operation failed: %s" msgid "POST operation failed: %s"
msgstr "" msgstr ""
#: src/virterror.c:435 #: src/virterror.c:442
msgid "POST operation failed" msgid "POST operation failed"
msgstr "" msgstr ""
#: src/virterror.c:438 #: src/virterror.c:445
#, c-format #, c-format
msgid "got unknown HTTP error code %d" msgid "got unknown HTTP error code %d"
msgstr "" msgstr ""
#: src/virterror.c:442 #: src/virterror.c:449
#, c-format #, c-format
msgid "unknown host %s" msgid "unknown host %s"
msgstr "" msgstr ""
#: src/virterror.c:444 #: src/virterror.c:451
msgid "unknown host" msgid "unknown host"
msgstr "" msgstr ""
#: src/virterror.c:448 #: src/virterror.c:455
#, c-format #, c-format
msgid "failed to serialize S-Expr: %s" msgid "failed to serialize S-Expr: %s"
msgstr "" msgstr ""
#: src/virterror.c:450 #: src/virterror.c:457
msgid "failed to serialize S-Expr" msgid "failed to serialize S-Expr"
msgstr "" msgstr ""
#: src/virterror.c:454 #: src/virterror.c:461
msgid "could not use Xen hypervisor entry" msgid "could not use Xen hypervisor entry"
msgstr "" msgstr ""
#: src/virterror.c:456 #: src/virterror.c:463
#, c-format #, c-format
msgid "could not use Xen hypervisor entry %s" msgid "could not use Xen hypervisor entry %s"
msgstr "" msgstr ""
#: src/virterror.c:460 #: src/virterror.c:467
msgid "could not connect to Xen Store" msgid "could not connect to Xen Store"
msgstr "" msgstr ""
#: src/virterror.c:462 #: src/virterror.c:469
#, c-format #, c-format
msgid "could not connect to Xen Store %s" msgid "could not connect to Xen Store %s"
msgstr "" msgstr ""
#: src/virterror.c:465 #: src/virterror.c:472
#, c-format #, c-format
msgid "failed Xen syscall %s %d" msgid "failed Xen syscall %s %d"
msgstr "" msgstr ""
#: src/virterror.c:469 #: src/virterror.c:476
msgid "unknown OS type" msgid "unknown OS type"
msgstr "" msgstr ""
#: src/virterror.c:471 #: src/virterror.c:478
#, c-format #, c-format
msgid "unknown OS type %s" msgid "unknown OS type %s"
msgstr "" msgstr ""
#: src/virterror.c:474 #: src/virterror.c:481
msgid "missing kernel information" msgid "missing kernel information"
msgstr "" msgstr ""
#: src/virterror.c:478 #: src/virterror.c:485
msgid "missing root device information" msgid "missing root device information"
msgstr "" msgstr ""
#: src/virterror.c:480 #: src/virterror.c:487
#, c-format #, c-format
msgid "missing root device information in %s" msgid "missing root device information in %s"
msgstr "" msgstr ""
#: src/virterror.c:484 #: src/virterror.c:491
msgid "missing source information for device" msgid "missing source information for device"
msgstr "" msgstr ""
#: src/virterror.c:486 #: src/virterror.c:493
#, c-format #, c-format
msgid "missing source information for device %s" msgid "missing source information for device %s"
msgstr "" msgstr ""
#: src/virterror.c:490 #: src/virterror.c:497
msgid "missing target information for device" msgid "missing target information for device"
msgstr "" msgstr ""
#: src/virterror.c:492 #: src/virterror.c:499
#, c-format #, c-format
msgid "missing target information for device %s" msgid "missing target information for device %s"
msgstr "" msgstr ""
#: src/virterror.c:496 #: src/virterror.c:503
msgid "missing domain name information" msgid "missing domain name information"
msgstr "" msgstr ""
#: src/virterror.c:498 #: src/virterror.c:505
#, c-format #, c-format
msgid "missing domain name information in %s" msgid "missing domain name information in %s"
msgstr "" msgstr ""
#: src/virterror.c:502 #: src/virterror.c:509
msgid "missing operating system information" msgid "missing operating system information"
msgstr "" msgstr ""
#: src/virterror.c:504 #: src/virterror.c:511
#, c-format #, c-format
msgid "missing operating system information for %s" msgid "missing operating system information for %s"
msgstr "" msgstr ""
#: src/virterror.c:508 #: src/virterror.c:515
msgid "missing devices information" msgid "missing devices information"
msgstr "" msgstr ""
#: src/virterror.c:510 #: src/virterror.c:517
#, c-format #, c-format
msgid "missing devices information for %s" msgid "missing devices information for %s"
msgstr "" msgstr ""
#: src/virterror.c:514 #: src/virterror.c:521
msgid "too many drivers registered" msgid "too many drivers registered"
msgstr "" msgstr ""
#: src/virterror.c:516 #: src/virterror.c:523
#, c-format #, c-format
msgid "too many drivers registered in %s" msgid "too many drivers registered in %s"
msgstr "" msgstr ""
#: src/virterror.c:520 #: src/virterror.c:527
msgid "library call failed, possibly not supported" msgid "library call failed, possibly not supported"
msgstr "" msgstr ""
#: src/virterror.c:522 #: src/virterror.c:529
#, c-format #, c-format
msgid "library call %s failed, possibly not supported" msgid "library call %s failed, possibly not supported"
msgstr "" msgstr ""
#: src/virterror.c:526 #: src/virterror.c:533
msgid "XML description not well formed or invalid" msgid "XML description not well formed or invalid"
msgstr "" msgstr ""
#: src/virterror.c:528 #: src/virterror.c:535
#, c-format #, c-format
msgid "XML description for %s is not well formed or invalid" msgid "XML description for %s is not well formed or invalid"
msgstr "" msgstr ""
#: src/virterror.c:532 #: src/virterror.c:539
msgid "this domain exists already" msgid "this domain exists already"
msgstr "" msgstr ""
#: src/virterror.c:534 #: src/virterror.c:541
#, c-format #, c-format
msgid "domain %s exists already" msgid "domain %s exists already"
msgstr "" msgstr ""
#: src/virterror.c:538 #: src/virterror.c:545
msgid "operation forbidden for read only access" msgid "operation forbidden for read only access"
msgstr "" msgstr ""
#: src/virterror.c:540 #: src/virterror.c:547
#, c-format #, c-format
msgid "operation %s forbidden for read only access" msgid "operation %s forbidden for read only access"
msgstr "" msgstr ""
#: src/virterror.c:544 #: src/virterror.c:551
msgid "failed to open configuration file for reading" msgid "failed to open configuration file for reading"
msgstr "" msgstr ""
#: src/virterror.c:546 #: src/virterror.c:553
#, c-format #, c-format
msgid "failed to open %s for reading" msgid "failed to open %s for reading"
msgstr "" msgstr ""
#: src/virterror.c:550 #: src/virterror.c:557
msgid "failed to read configuration file" msgid "failed to read configuration file"
msgstr "" msgstr ""
#: src/virterror.c:552 #: src/virterror.c:559
#, c-format #, c-format
msgid "failed to read configuration file %s" msgid "failed to read configuration file %s"
msgstr "" msgstr ""
#: src/virterror.c:556 #: src/virterror.c:563
msgid "failed to parse configuration file" msgid "failed to parse configuration file"
msgstr "" msgstr ""
#: src/virterror.c:558 #: src/virterror.c:565
#, c-format #, c-format
msgid "failed to parse configuration file %s" msgid "failed to parse configuration file %s"
msgstr "" msgstr ""
#: src/virterror.c:562 #: src/virterror.c:569
msgid "configuration file syntax error" msgid "configuration file syntax error"
msgstr "" msgstr ""
#: src/virterror.c:564 #: src/virterror.c:571
#, c-format #, c-format
msgid "configuration file syntax error: %s" msgid "configuration file syntax error: %s"
msgstr "" msgstr ""
#: src/virterror.c:568 #: src/virterror.c:575
msgid "failed to write configuration file" msgid "failed to write configuration file"
msgstr "" msgstr ""
#: src/virterror.c:570 #: src/virterror.c:577
#, c-format #, c-format
msgid "failed to write configuration file: %s" msgid "failed to write configuration file: %s"
msgstr "" msgstr ""
#: src/virterror.c:581
msgid "parser error"
msgstr ""
#: src/xmlrpc.c:63 #: src/xmlrpc.c:63
msgid "copying node content" msgid "copying node content"
msgstr "" msgstr ""
@ -369,8 +373,8 @@ msgid "allocate new context"
msgstr "" msgstr ""
#: src/hash.c:628 src/hash.c:634 src/test.c:725 src/test.c:750 src/test.c:773 #: src/hash.c:628 src/hash.c:634 src/test.c:725 src/test.c:750 src/test.c:773
#: src/test.c:797 src/xend_internal.c:1912 src/xend_internal.c:2608 #: src/test.c:797 src/xend_internal.c:1920 src/xend_internal.c:2616
#: src/xend_internal.c:2819 src/xs_internal.c:594 src/proxy_internal.c:791 #: src/xend_internal.c:2827 src/xs_internal.c:594 src/proxy_internal.c:791
#: src/proxy_internal.c:838 src/proxy_internal.c:889 #: src/proxy_internal.c:838 src/proxy_internal.c:889
msgid "allocating domain" msgid "allocating domain"
msgstr "" msgstr ""
@ -491,7 +495,7 @@ msgstr ""
msgid "growing buffer" msgid "growing buffer"
msgstr "" msgstr ""
#: src/xml.c:116 src/xend_internal.c:1603 src/xend_internal.c:1622 #: src/xml.c:116 src/xend_internal.c:1611 src/xend_internal.c:1630
msgid "allocate new buffer" msgid "allocate new buffer"
msgstr "" msgstr ""
@ -507,65 +511,65 @@ msgstr ""
msgid "failed to copy a string" msgid "failed to copy a string"
msgstr "" msgstr ""
#: src/xend_internal.c:264 src/xend_internal.c:267 #: src/xend_internal.c:265 src/xend_internal.c:268
msgid "failed to read from Xen Daemon" msgid "failed to read from Xen Daemon"
msgstr "" msgstr ""
#: src/xend_internal.c:1057 #: src/xend_internal.c:1064
msgid "failed to urlencode the create S-Expr" msgid "failed to urlencode the create S-Expr"
msgstr "" msgstr ""
#: src/xend_internal.c:1098 #: src/xend_internal.c:1105
msgid "domain information incomplete, missing domid" msgid "domain information incomplete, missing domid"
msgstr "" msgstr ""
#: src/xend_internal.c:1104 #: src/xend_internal.c:1111
msgid "domain information incorrect domid not numeric" msgid "domain information incorrect domid not numeric"
msgstr "" msgstr ""
#: src/xend_internal.c:1111 src/xend_internal.c:1160 #: src/xend_internal.c:1118 src/xend_internal.c:1167
msgid "domain information incomplete, missing uuid" msgid "domain information incomplete, missing uuid"
msgstr "" msgstr ""
#: src/xend_internal.c:1151 src/xend_internal.c:1492 #: src/xend_internal.c:1158 src/xend_internal.c:1500
msgid "domain information incomplete, missing name" msgid "domain information incomplete, missing name"
msgstr "" msgstr ""
#: src/xend_internal.c:1409 src/xend_internal.c:1434 #: src/xend_internal.c:1417 src/xend_internal.c:1442
msgid "domain information incomplete, missing kernel" msgid "domain information incomplete, missing kernel"
msgstr "" msgstr ""
#: src/xend_internal.c:1582 #: src/xend_internal.c:1590
msgid "domain information incomplete, vbd has no src" msgid "domain information incomplete, vbd has no src"
msgstr "" msgstr ""
#: src/xend_internal.c:1588 #: src/xend_internal.c:1596
msgid "domain information incomplete, vbd has no dev" msgid "domain information incomplete, vbd has no dev"
msgstr "" msgstr ""
#: src/xend_internal.c:1596 #: src/xend_internal.c:1604
msgid "cannot parse vbd filename, missing driver name" msgid "cannot parse vbd filename, missing driver name"
msgstr "" msgstr ""
#: src/xend_internal.c:1615 #: src/xend_internal.c:1623
msgid "cannot parse vbd filename, missing driver type" msgid "cannot parse vbd filename, missing driver type"
msgstr "" msgstr ""
#: src/xend_internal.c:1923 #: src/xend_internal.c:1931
msgid "failed to parse Xend domain information" msgid "failed to parse Xend domain information"
msgstr "" msgstr ""
#: src/xend_internal.c:2883 #: src/xend_internal.c:2892
#, c-format #, c-format
msgid "Failed to create domain %s\n" msgid "Failed to create domain %s\n"
msgstr "" msgstr ""
#: src/xend_internal.c:2889 #: src/xend_internal.c:2898
#, c-format #, c-format
msgid "Failed to get devices for domain %s\n" msgid "Failed to get devices for domain %s\n"
msgstr "" msgstr ""
#: src/xend_internal.c:2900 #: src/xend_internal.c:2909
#, c-format #, c-format
msgid "Failed to resume new domain %s\n" msgid "Failed to resume new domain %s\n"
msgstr "" msgstr ""

View File

@ -540,6 +540,10 @@ classes_destructors = {
"virConnect": "virConnectClose", "virConnect": "virConnectClose",
} }
classes_references = {
"virDomain": "virConnect",
}
functions_noexcept = { functions_noexcept = {
} }
@ -891,6 +895,12 @@ def buildWrappers():
classes.write(classes_type[ret[0]][1] % ("ret")); classes.write(classes_type[ret[0]][1] % ("ret"));
classes.write("\n"); classes.write("\n");
#
# hook up a reference if needed
#
if classes_references.has_key(classes_type[ret[0]][2]):
classes.write(" __tmp.ref = self\n");
# #
# Sometime one need to keep references of the source # Sometime one need to keep references of the source
# class in the returned class object. # class in the returned class object.