]>
xenbits.xensource.com Git - libvirt.git/log
Daniel P. Berrange [Wed, 30 Apr 2008 12:30:55 +0000 (12:30 +0000)]
Added support for network interface model setting
Jim Meyering [Tue, 29 Apr 2008 21:43:50 +0000 (21:43 +0000)]
* gnulib/lib/stdio-impl.h: Add another new file from gnulib.
Daniel P. Berrange [Tue, 29 Apr 2008 21:42:47 +0000 (21:42 +0000)]
Ignore python JIT file
Jim Meyering [Tue, 29 Apr 2008 21:39:38 +0000 (21:39 +0000)]
* gnulib/tests/test-EOVERFLOW.c: Add another new file from gnulib.
Jim Meyering [Tue, 29 Apr 2008 21:23:34 +0000 (21:23 +0000)]
Fix build errors.
* proxy/Makefile.am (libvirt_proxy_LDADD): Add ../gnulib/lib/libgnu.la.
* gnulib/lib/arpa_inet.in.h: Add new file from gnulib.
Jim Meyering [Tue, 29 Apr 2008 19:52:26 +0000 (19:52 +0000)]
update from gnulib
* gnulib/lib/inet_ntop.h: Remove file.
* gnulib/m4/onceonly_2_57.m4: Remove file.
* build-aux/useless-if-before-free: Update.
* build-aux/vc-list-files: Update.
* gnulib/lib/.cvsignore: Update.
* gnulib/lib/Makefile.am: Update.
* gnulib/lib/fseeko.c: Update.
* gnulib/lib/getaddrinfo.c: Update.
* gnulib/lib/getdelim.c: Update.
* gnulib/lib/inet_ntop.c: Update.
* gnulib/lib/inet_ntop.h: Update.
* gnulib/lib/poll.c: Update.
* gnulib/lib/snprintf.c: Update.
* gnulib/lib/stdlib.in.h: Update.
* gnulib/lib/string.in.h: Update.
* gnulib/lib/sys_socket.in.h: Update.
* gnulib/lib/sys_stat.in.h: Update.
* gnulib/lib/vasnprintf.c: Update.
* gnulib/lib/vasprintf.c: Update.
* gnulib/lib/wchar.in.h: Update.
* gnulib/m4/arpa_inet_h.m4: Update.
* gnulib/m4/extensions.m4: Update.
* gnulib/m4/gnulib-common.m4: Update.
* gnulib/m4/gnulib-comp.m4: Update.
* gnulib/m4/include_next.m4: Update.
* gnulib/m4/inet_ntop.m4: Update.
* gnulib/m4/netinet_in_h.m4: Update.
* gnulib/m4/onceonly_2_57.m4: Update.
* gnulib/m4/physmem.m4: Update.
* gnulib/m4/snprintf.m4: Update.
* gnulib/m4/stdint.m4: Update.
* gnulib/m4/stdio_h.m4: Update.
* gnulib/m4/stdlib_h.m4: Update.
* gnulib/m4/string_h.m4: Update.
* gnulib/m4/strndup.m4: Update.
* gnulib/m4/sys_select_h.m4: Update.
* gnulib/m4/sys_socket_h.m4: Update.
* gnulib/m4/sys_stat_h.m4: Update.
* gnulib/m4/vasnprintf.m4: Update.
* gnulib/tests/Makefile.am: Update.
* gnulib/tests/test-fseeko.c: Update.
* gnulib/tests/test-getaddrinfo.c: Update.
* gnulib/tests/test-getdelim.c: Update.
* gnulib/tests/test-getline.c: Update.
* gnulib/tests/test-lseek.c: Update.
* gnulib/tests/test-snprintf.c: Update.
* gnulib/tests/test-sys_stat.c: Update.
* gnulib/tests/test-vasnprintf.c: Update.
* gnulib/tests/test-vasprintf.c: Update.
Jim Meyering [Tue, 29 Apr 2008 19:43:57 +0000 (19:43 +0000)]
remove useless tests before xmlFree
* src/qemu_conf.c (qemudParseDiskXML, qemudParseInterfaceXML):
(qemudParseInputXML, qemudParseDhcpRangesXML):
* src/remote_internal.c (doRemoteOpen):
* src/storage_conf.c (virStoragePoolDefParseDoc):
* src/xm_internal.c (xenXMParseXMLDisk, xenXMParseXMLVif):
(xenXMParseXMLToConfig, xenXMAttachInterface):
* src/xml.c (virDomainParseXMLDiskDesc, virDomainParseXMLIfDesc):
(virDomainXMLDevID):
Daniel P. Berrange [Tue, 29 Apr 2008 15:41:30 +0000 (15:41 +0000)]
Tell gcov to look in .libs to find coverage data
Daniel P. Berrange [Tue, 29 Apr 2008 15:38:13 +0000 (15:38 +0000)]
Tell gcov to look in .libs to find coverage data
Jim Meyering [Tue, 29 Apr 2008 15:06:14 +0000 (15:06 +0000)]
also check for useless test-before-xmlFree
* Makefile.cfg (useless_free_options): Add --name=xmlFree.
Jim Meyering [Tue, 29 Apr 2008 14:25:19 +0000 (14:25 +0000)]
tests: recognize more uses of strcmp.
* Makefile.maint (sc_prohibit_strcmp): Relax regexp.
Daniel P. Berrange [Tue, 29 Apr 2008 14:13:54 +0000 (14:13 +0000)]
Fix array out of bounds in capabilities code parsing
Daniel P. Berrange [Tue, 29 Apr 2008 14:08:08 +0000 (14:08 +0000)]
Added network XML docs
Daniel P. Berrange [Tue, 29 Apr 2008 13:48:41 +0000 (13:48 +0000)]
Remove bogus test code accidentally left in previous commit
Jim Meyering [Tue, 29 Apr 2008 13:37:20 +0000 (13:37 +0000)]
Avoid "make syntax-check" failures.
* src/memory.c: Include "config.h".
Remove trailing blanks.
Jim Meyering [Tue, 29 Apr 2008 13:20:46 +0000 (13:20 +0000)]
Avoid in-function #if directives.
* src/parthelper.c [!PED_PARTITION_PROTECTED]: Define to 0.
Remove in-function #ifdefs.
Richard W.M. Jones [Tue, 29 Apr 2008 08:17:36 +0000 (08:17 +0000)]
* src/parthelper.c: Don't fail if PED_PARTITION_PROTECTED
is not defined because of ancient libparted
(Soren Hansen).
Daniel P. Berrange [Mon, 28 Apr 2008 21:44:54 +0000 (21:44 +0000)]
Added safer lowlevel memory allocation APis. Converted hash.c and capabilities.c to use them
Daniel P. Berrange [Mon, 28 Apr 2008 15:14:59 +0000 (15:14 +0000)]
Change virBuffer API to prevent common usage errors. Update all users of APIs
Jim Meyering [Mon, 28 Apr 2008 14:12:45 +0000 (14:12 +0000)]
fix typo in bootstrap script
* bootstrap: Fix typo: s/gnulib/.gnulib/. Reported by
Daniel P. Berrange.
Daniel P. Berrange [Mon, 28 Apr 2008 13:55:50 +0000 (13:55 +0000)]
Added more bash supressions
Daniel P. Berrange [Mon, 28 Apr 2008 13:36:48 +0000 (13:36 +0000)]
Ignore bash bugs under valgrind
Jim Meyering [Mon, 28 Apr 2008 09:09:52 +0000 (09:09 +0000)]
avoid format-related warnings
* qemud/qemud.c (main): Fix a bogus format string reported as umarked.
* src/virsh.c (cmdVcpupin): Non-literal with no args.
Daniel Veillard [Mon, 28 Apr 2008 08:29:35 +0000 (08:29 +0000)]
* docs/Makefile.am docs/et.png docs/libvirt.css docs/page.xsl
docs/*.html docs/html/*.html: removed footer, added sponsor logo
regenerated the html pages also fixed 'make distcheck' as
pointed by Jim.
Daniel
Daniel P. Berrange [Sat, 26 Apr 2008 14:22:02 +0000 (14:22 +0000)]
Added full support for serial and parallel devices to Xen drivers
Daniel P. Berrange [Fri, 25 Apr 2008 20:46:13 +0000 (20:46 +0000)]
Implement serial & parallel device support for QEMU driver
Daniel P. Berrange [Fri, 25 Apr 2008 16:23:51 +0000 (16:23 +0000)]
Adapt layout to workaround IE6 bugs
Daniel Veillard [Fri, 25 Apr 2008 15:48:04 +0000 (15:48 +0000)]
Adding Anton Protopopov to AUTHORS
Daniel
Daniel Veillard [Fri, 25 Apr 2008 15:46:46 +0000 (15:46 +0000)]
group ownership of /var/run/libvirt/
* qemud/qemud.c: applied patch from Anton Protopopov to change
group ownership of /var/run/libvirt/ to unix_sock_gid.
Daniel
Jim Meyering [Fri, 25 Apr 2008 14:53:05 +0000 (14:53 +0000)]
avoid problems with sign-extended "char" operand to is* functions
* src/util.h (to_uchar): Define function.
* src/nodeinfo.c (linuxNodeInfoCPUPopulate): Apply to_uchar to is* operand.
* src/qemu_driver.c (qemudExtractMonitorPath): Likewise.
* src/sexpr.c (_string2sexpr): Likewise.
* src/stats_linux.c (xenLinuxDomainDeviceID): Likewise.
* src/util.c (TOLOWER, __virMacAddrCompare, virParseMacAddr): Likewise.
* src/virsh.c (cmdVcpupin, vshCommandGetToken): Likewise.
Daniel Veillard [Thu, 24 Apr 2008 20:24:18 +0000 (20:24 +0000)]
Roll back log change, Daniel
Daniel Veillard [Thu, 24 Apr 2008 15:34:18 +0000 (15:34 +0000)]
"Sponsored by' wording, Daniel
Daniel Veillard [Thu, 24 Apr 2008 15:20:06 +0000 (15:20 +0000)]
Sponsor logo
* docs/page.xsl docs/redhat.gif docs/*.html: using the shadowman
logo to indicate Red Hat sponsoring, regenerated.
Daniel
Daniel Veillard [Thu, 24 Apr 2008 12:35:28 +0000 (12:35 +0000)]
* AUTHORS: update, list people with commit access
Daniel
Daniel Veillard [Thu, 24 Apr 2008 09:44:00 +0000 (09:44 +0000)]
fix the search
* libvirt.css search.php: fix the search box and PHP output
Daniel
Atsushi SAKAI [Thu, 24 Apr 2008 09:17:29 +0000 (09:17 +0000)]
* proxy/libvirt_proxy.c and docs/* typo fixing
Atsushi
Daniel Veillard [Thu, 24 Apr 2008 07:56:37 +0000 (07:56 +0000)]
Cosmetic doc improvements
* AUTHORS: indicate that the Logo is by Diana Fong
* docs/index.py: modify to also index subprojects pages
Daniel
Daniel P. Berrange [Wed, 23 Apr 2008 19:39:59 +0000 (19:39 +0000)]
Fix generation of NEWS file
Daniel P. Berrange [Wed, 23 Apr 2008 17:45:07 +0000 (17:45 +0000)]
Fix wiki link in API docs
Daniel P. Berrange [Wed, 23 Apr 2008 17:08:31 +0000 (17:08 +0000)]
Split website out into one file per page. APply new layout and styling
Jim Meyering [Mon, 21 Apr 2008 10:09:07 +0000 (10:09 +0000)]
Enable 'make syntax-check's sc_changelog rule.
* Makefile.maint (sc_changelog): Adapt to work with legacy
ChangeLog entry header lines.
* Makefile.cfg (local-checks-to-skip): Remove sc_changelog.
Daniel P. Berrange [Fri, 18 Apr 2008 18:31:32 +0000 (18:31 +0000)]
Python header workaround
Jim Meyering [Fri, 18 Apr 2008 18:07:40 +0000 (18:07 +0000)]
Work around Python.h name-space pollution.
* python/libvir.c (HAVE_PTHREAD_H): #undef.
Without this, we'd get a redefinition warning.
Daniel P. Berrange [Fri, 18 Apr 2008 15:28:33 +0000 (15:28 +0000)]
Re-factor and pretty print differences
Daniel P. Berrange [Fri, 18 Apr 2008 15:05:29 +0000 (15:05 +0000)]
Test script helper for printing string differences
Jim Meyering [Fri, 18 Apr 2008 09:26:45 +0000 (09:26 +0000)]
avoid compile error when <pthread.h> is absent
* src/internal.h (HAVE_PTHREAD_H): Test with "#ifdef", not "#if".
Richard W.M. Jones [Fri, 18 Apr 2008 08:33:23 +0000 (08:33 +0000)]
Fixes for MinGW.
* configure.in: Fix pkg-config detection of libxml2,
add -lgcrypt to gnutls lib.
* src/Makefile.am: If compiling --without-libvirtd then
don't compile any part of the storage driver.
* configure.in, src/hash.c, src/internal.h: Detect availability
of pthread library and compile out mutex code if not available.
* src/storage_driver.c, src/util.c: Ignore some missing
headers on MinGW.
Daniel P. Berrange [Thu, 17 Apr 2008 19:25:42 +0000 (19:25 +0000)]
Remove trailing blank
Jim Meyering [Thu, 17 Apr 2008 08:40:53 +0000 (08:40 +0000)]
Remove a trailing blank.
Daniel Veillard [Tue, 15 Apr 2008 15:20:43 +0000 (15:20 +0000)]
Complete and cleanup virsh man page
* virsh.1 docs/virsh.pod: fix missing entries and small cleanups
in the man page, should fix #442429
Daniel
Daniel P. Berrange [Mon, 14 Apr 2008 17:44:51 +0000 (17:44 +0000)]
Added lxc_container.c to POTFILES.in
Richard W.M. Jones [Thu, 10 Apr 2008 17:37:23 +0000 (17:37 +0000)]
Remove unused uid field in virsh control structure.
* src/virsh.c: Remove unused uid field in virsh control structure.
Jim Meyering [Thu, 10 Apr 2008 16:56:44 +0000 (16:56 +0000)]
HACKING: New file: begin to describe contributor/coding guidelines
Jim Meyering [Thu, 10 Apr 2008 16:55:31 +0000 (16:55 +0000)]
ensure that no C source file uses TABs for indentation
* Makefile.maint (sc_TAB_in_indentation): New rule.
Jim Meyering [Thu, 10 Apr 2008 16:54:54 +0000 (16:54 +0000)]
convert TAB-based indentation in C sources to use only spaces
Done using this command (also includes .c.in and .h.in files):
for i in $(g ls-files|grep -E '\.[ch](\.in)?$'|grep -v gnulib); do
expand -i $i > j && mv j $i;done
Jim Meyering [Thu, 10 Apr 2008 16:53:29 +0000 (16:53 +0000)]
remove Vim and Emacs variable settings from C source files
Done with these commands:
git grep -l Local.variab|xargs \
perl -0x3b -pi -e 's,\n+/\*\n \* vim:(.|\n)*,\n,'
git grep -l Local.variab|xargs \
perl -0x3b -pi -e 's,\n+/\*\n \* Local variables:\n(.|\n)*,\n,'
Daniel Veillard [Thu, 10 Apr 2008 13:32:46 +0000 (13:32 +0000)]
AUTHORS and po updates
* AUTHORS: adding Dave Leskovec and Ryan Scott to the authors list
* po/*: rebuilt
daniel
Daniel Veillard [Thu, 10 Apr 2008 13:30:17 +0000 (13:30 +0000)]
Ask xend to remove device in the config file too
* src/xend_internal.c: applied a patch from Ryan Scott to ask
xend to save the device removal change in the config file
Daniel
Daniel Veillard [Thu, 10 Apr 2008 07:30:52 +0000 (07:30 +0000)]
* src/Makefile.am src/lxc_conf.c src/lxc_conf.h src/lxc_container.c
src/lxc_container.h src/lxc_driver.c: Applied second set of
linux container patches from Dave Leskovec adding start/stop
of domains
Daniel
Richard W.M. Jones [Wed, 9 Apr 2008 15:12:13 +0000 (15:12 +0000)]
Add virsh.pod to EXTRA_DIST
* docs/Makefile.am: Add virsh.pod to EXTRA_DIST.
Richard W.M. Jones [Wed, 9 Apr 2008 14:03:01 +0000 (14:03 +0000)]
Core code contains Xen-ism UUID of dom0 = 0..0
* src/libvirt.c: Remove a Xen-ism from the core code, the
assumption that dom0's UUID is all zeroes.
Richard W.M. Jones [Wed, 9 Apr 2008 14:00:07 +0000 (14:00 +0000)]
Warn about conn, dom and net fields in virterror
* include/libvirt/virterror.h: Warn about the use of
conn, dom and net fields in virterror.
Richard W.M. Jones [Wed, 9 Apr 2008 13:50:27 +0000 (13:50 +0000)]
Remove extraneous underscore
* src/openvz_conf.c: Remove extraneous underscore which stopped
file from compiling (Anton Protopopov).
Daniel Veillard [Wed, 9 Apr 2008 07:13:13 +0000 (07:13 +0000)]
Doc updates post release, Daniel
Daniel Veillard [Tue, 8 Apr 2008 16:45:57 +0000 (16:45 +0000)]
0.4.2 release
* configure.in NEWS doc/* po/*: making libvirt-0.4.2 release
daniel
Jim Meyering [Tue, 8 Apr 2008 15:53:16 +0000 (15:53 +0000)]
configure.in (ALL_LINGUAS): Fix typo: s/Latn/latin/.
Jim Meyering [Tue, 8 Apr 2008 15:33:16 +0000 (15:33 +0000)]
Don't fail to read a file because it's non-seekable (e.g., a pipe).
* src/util.c (fread_file_lim): New function.
(__virFileReadAll): Use fread_file_lim, rather than requiring
that stat.st_size provide a usable file size.
* tests/read-non-seekable: New test, for the above.
* tests/Makefile.am (test_scripts): Add read-non-seekable.
* tests/test-lib.sh (mkfifo_or_skip_): New helper function.
Richard W.M. Jones [Tue, 8 Apr 2008 12:27:53 +0000 (12:27 +0000)]
src/qemu_driver.c: Handle errors from fork(2) and pipe(2)
system calls when creating qemu subprocess.
Daniel Veillard [Tue, 8 Apr 2008 09:51:37 +0000 (09:51 +0000)]
* po/sr.po po/sr@Latn.po po/sr@latin.po: fix/update serbian
translations.
daniel
Daniel Veillard [Tue, 8 Apr 2008 09:26:24 +0000 (09:26 +0000)]
adds xen and hvm guest types to test driver capabilities
* src/test.c: patch from Cole Robinson adding xen and hvm guest types
to the test driver's capabilities.
Daniel
Daniel Veillard [Tue, 8 Apr 2008 08:26:15 +0000 (08:26 +0000)]
Fix potential infinite loop in python generator
* python/generator.py: fix an infinite loop bug
Daniel
Jim Meyering [Mon, 7 Apr 2008 12:12:34 +0000 (12:12 +0000)]
* tests/vcpupin: Add a test for the 2008-04-04 virsh.c bugfix.
Daniel Veillard [Mon, 7 Apr 2008 10:54:40 +0000 (10:54 +0000)]
update bugzilla URIs
* docs/bugs.html docs/libvir.html: update the page bugzilla URIs
depending on the set the user is running.
Daniel
Daniel P. Berrange [Fri, 4 Apr 2008 15:09:19 +0000 (15:09 +0000)]
Don't do polkit auth as root
Daniel Veillard [Fri, 4 Apr 2008 11:20:45 +0000 (11:20 +0000)]
error message on vcpupin
* src/virsh.c: patch from Shigeki Sakamoto adding message on vcpupin
Daniel
Daniel Veillard [Fri, 4 Apr 2008 08:06:18 +0000 (08:06 +0000)]
doc and localization updates
* docs//* po/*: regenerated the documentation and reextracted the
full set of localization strings to push to the translation team.
Daniel
Daniel Veillard [Fri, 4 Apr 2008 07:58:29 +0000 (07:58 +0000)]
typos fixes
* docs//* src/conf.c src/hash.c src/libvirt.c src/proxy_internal.c
src/remote_internal.c src/virsh.c src/xen_internal.c
src/xend_internal.c src/xml.c: applied patch from Atsushi SAKAI
fixing a lot of typos
Daniel
Daniel Veillard [Fri, 4 Apr 2008 07:33:00 +0000 (07:33 +0000)]
Add Cole Robinson to AUTHORS,
Daniel
Daniel Veillard [Fri, 4 Apr 2008 07:31:24 +0000 (07:31 +0000)]
virNodeGetCellsFreeMemory for test driver
* src/test.c: patch from Cole Robinson to add
virNodeGetCellsFreeMemory to the test driver
Daniel
Richard W.M. Jones [Wed, 2 Apr 2008 16:22:34 +0000 (16:22 +0000)]
C99 initializer on __lastErr
* src/virterror.c: Use C99 initializers to make initialization
of __lastErr clearer (Guido Günther).
Daniel Veillard [Tue, 1 Apr 2008 13:01:01 +0000 (13:01 +0000)]
* src/lxc_conf.c: patch from Dave Leskovec fixing an freed memory
access I introduced yesterday
Daniel
Daniel Veillard [Mon, 31 Mar 2008 14:38:12 +0000 (14:38 +0000)]
remove dandling domain/net/conn pointers from error data
* src/hash.c src/internal.h src/virterror.c: remove dandling
domain/net/conn pointers from error data when released.
* src/lxc_driver.c: fix a NULL/0 return error mismatch
Daniel
Daniel Veillard [Mon, 31 Mar 2008 12:13:52 +0000 (12:13 +0000)]
* configure.in: small patch from Mike Gerdts to avoid problems with
older awk implementations, fixes #439649
Daniel
Daniel Veillard [Mon, 31 Mar 2008 12:02:12 +0000 (12:02 +0000)]
linux countainers cleanup patches
* src/lxc_conf.c src/lxc_conf.h: cleanup patch for the conf driver
of linux countainers, reuse XPath helpers, make string fields dynamic
and remove a memory leak.
* src/lxc_driver.c: avoid some problems when the config directory is
not accessible and for regression tests
Daniel
Daniel P. Berrange [Fri, 28 Mar 2008 20:38:21 +0000 (20:38 +0000)]
Added patches for routed networking from Mads Chr. Olesen
Daniel P. Berrange [Fri, 28 Mar 2008 17:56:44 +0000 (17:56 +0000)]
Fix output of XML for FS storage pool
Daniel P. Berrange [Fri, 28 Mar 2008 01:05:08 +0000 (01:05 +0000)]
Tweak masquering rules to only capture traffic leaving the virtual network
Jim Meyering [Thu, 27 Mar 2008 14:02:57 +0000 (14:02 +0000)]
lxcError: mark a string and add to the list of nearly-checked functions
* Makefile.maint (msg_gen_function): Add, but commented-out.
* src/lxc_conf.c (lxcParseXML): Mark a diagnostic for translation.
Jim Meyering [Thu, 27 Mar 2008 14:01:59 +0000 (14:01 +0000)]
testError: mark most string arguments for translation
* Makefile.maint (msg_gen_function): Add testError
* src/test.c (testDomainSave, testDomainRestore): Mark strings.
(testDomainCoreDump): Likewise.
Jim Meyering [Thu, 27 Mar 2008 14:00:28 +0000 (14:00 +0000)]
openvzLog: mark its string arguments for translation
* Makefile.maint (msg_gen_function): Add openvzLog.
* src/openvz_conf.c (openvzAssignVMDef, openvzParseXML): Mark strings.
* src/openvz_driver.c (openvzDomainShutdown, openvzDomainReboot):
(openvzDomainDefineXML, openvzDomainCreateLinux):
(openvzDomainCreate, openvzDomainUndefine): Likewise.
Jim Meyering [Thu, 27 Mar 2008 13:58:56 +0000 (13:58 +0000)]
error: mark most string arguments for translation
Also mark some arguments to __virRaiseError.
* Makefile.maint (msg_gen_function): Add error.
* po/POTFILES.in: Add src/openvz_conf.c and src/openvz_driver.c.
* src/openvz_conf.c (openvzParseXML, openvzGetVPSInfo): Mark strings.
* src/openvz_driver.c (openvzDomainLookupByID): Likewise.
(openvzDomainLookupByUUID, openvzDomainLookupByName): Likewise.
(openvzDomainGetInfo, openvzDomainShutdown, openvzDomainReboot)
(openvzDomainCreate, openvzDomainUndefine): Likewise.
* src/remote_internal.c (check_cert_file): Likewise.
(negotiate_gnutls_on_connection, verify_certificate): Likewise.
(remoteAuthenticate, addrToString, remoteAuthSASL): Likewise.
(remoteAuthPolkit, call, really_read_buf): Likewise.
Jim Meyering [Thu, 27 Mar 2008 13:56:28 +0000 (13:56 +0000)]
Convert diagnostics like "VAR > MAX_VAR" to translatable messages.
* src/remote_internal.c (errorf): New function.
(remoteListDomains, remoteDomainPinVcpu, remoteDomainGetVcpus):
(remoteListDefinedDomains, remoteListNetworks):
(remoteListDefinedNetworks): Convert strings to be translatable,
and also to include offending and maximum values. Use errorf.
Jim Meyering [Thu, 27 Mar 2008 13:53:14 +0000 (13:53 +0000)]
qemudReportError: mark for translation string args to this function
* Makefile.maint (msg_gen_function): Add qemudReportError.
* src/qemu_conf.c (qemudLoadDriverConfig)
(qemudExtractVersion, qemudParseDiskXML, qemudParseInterfaceXML)
(qemudParseInputXML, qemudParseXML, qemudNetworkIfaceConnect)
(qemudBuildCommandLine, qemudSaveConfig, qemudParseVMDeviceDef)
(qemudAssignVMDef, qemudSaveVMDef, qemudSaveNetworkConfig)
(qemudParseDhcpRangesXML, qemudParseNetworkXML)
(qemudAssignNetworkDef, qemudSaveNetworkDef, qemudGenerateXML)
(qemudGenerateNetworkXML, qemudDeleteConfig): Mark strings.
* src/qemu_driver.c (qemudBuildDnsmasqArgv, qemudAddIptablesRules)
(qemudGetCapabilities, qemudDomainGetOSType)
(qemudListDefinedDomains, qemudListNetworks)
(qemudListDefinedNetworks, qemudNetworkGetBridgeName): Mark strings.
Jim Meyering [Thu, 27 Mar 2008 13:47:00 +0000 (13:47 +0000)]
ReportError: mark for translation string args to this function
* Makefile.maint (msg_gen_function): Add ReportError.
* src/util.c (_virExec): Mark strings.
Jim Meyering [Thu, 27 Mar 2008 13:45:26 +0000 (13:45 +0000)]
xenXMError: mark for translation string args to this function
* Makefile.maint (msg_gen_function): Add xenXMError.
* src/xm_internal.c (xenXMParseXMLToConfig, xenXMDomainDefineXML):
(xenXMDomainAttachDevice, xenXMDomainDetachDevice): Mark strings.
Jim Meyering [Thu, 27 Mar 2008 13:43:01 +0000 (13:43 +0000)]
Mark many more strings for translation.
* Makefile.maint (err_func_re): Add to the list and make it readable.
* po/POTFILES.in: Add src/util.c and src/xm_internal.c, and sort.
* src/storage_backend.c: Fix comment.
* src/util.c (virFileLinkPointsTo): Mark a string.
* qemud/remote.c (remoteDispatchClientRequest): Mark strings.
(remoteDispatchOpen, CHECK_CONN, remoteDispatchGetType): Likewise.
(remoteDispatchDomainGetSchedulerType): Likewise.
(remoteDispatchDomainGetSchedulerParameters): Likewise.
(remoteDispatchDomainSetSchedulerParameters): Likewise.
(remoteDispatchDomainBlockStats): Likewise.
(remoteDispatchDomainInterfaceStats): Likewise.
(remoteDispatchDomainAttachDevice, remoteDispatchDomainCreate):
(remoteDispatchDomainDestroy, remoteDispatchDomainDetachDevice):
(remoteDispatchDomainDumpXml, remoteDispatchDomainGetAutostart):
(remoteDispatchDomainGetInfo, remoteDispatchDomainGetMaxMemory):
(remoteDispatchDomainGetMaxVcpus, remoteDispatchDomainGetOsType):
(remoteDispatchDomainGetVcpus): Likewise.
(remoteDispatchDomainMigratePerform): Likewise.
(remoteDispatchListDefinedDomains, remoteDispatchDomainPinVcpu):
(remoteDispatchDomainReboot, remoteDispatchDomainResume):
(remoteDispatchDomainSave, remoteDispatchDomainCoreDump):
(remoteDispatchDomainSetAutostart): Likewise.
(remoteDispatchDomainSetMaxMemory, remoteDispatchDomainSetMemory):
(remoteDispatchDomainSetVcpus, remoteDispatchDomainShutdown):
(remoteDispatchDomainSuspend, remoteDispatchDomainUndefine):
(remoteDispatchListDefinedNetworks, remoteDispatchListDomains):
(remoteDispatchListNetworks, remoteDispatchNetworkCreate):
(remoteDispatchNetworkDestroy, remoteDispatchNetworkDumpXml):
(remoteDispatchNetworkGetAutostart, remoteDispatchNetworkGetBridgeName):
(remoteDispatchNetworkSetAutostart, remoteDispatchNetworkUndefine):
(addrToString, remoteDispatchAuthSaslInit, remoteDispatchAuthSaslStart):
(remoteDispatchAuthSaslStep, remoteDispatchListDefinedStoragePools):
(remoteDispatchListStoragePools, remoteDispatchStoragePoolCreate):
(remoteDispatchStoragePoolBuild, remoteDispatchStoragePoolDestroy):
(remoteDispatchStoragePoolDelete, remoteDispatchStoragePoolRefresh):
(remoteDispatchStoragePoolGetInfo, remoteDispatchStoragePoolDumpXml):
(remoteDispatchStoragePoolGetAutostart): Likewise.
(remoteDispatchStoragePoolSetAutostart):
(remoteDispatchStoragePoolListVolumes):
(remoteDispatchStoragePoolNumOfVolumes):
(remoteDispatchStoragePoolUndefine, remoteDispatchStorageVolCreateXml):
(remoteDispatchStorageVolDelete, remoteDispatchStorageVolGetInfo):
(remoteDispatchStorageVolDumpXml, remoteDispatchStorageVolGetPath):
(remoteDispatchStorageVolLookupByName): Likewise.
* src/qemu_driver.c (qemudOpenMonitor, qemudStartVMDaemon):
(dhcpStartDhcpDaemon, qemudStartNetworkDaemon):
(qemudDomainSuspend, qemudDomainResume, qemudDomainShutdown):
(qemudDomainGetOSType, qemudDomainSetMaxMemory):
(qemudDomainSetMemory, qemudDomainGetInfo, qemudDomainSave):
(qemudDomainRestore, qemudDomainDumpXML, qemudDomainStart):
(qemudDomainUndefine, qemudDomainChangeCDROM):
(qemudDomainAttachDevice, qemudDomainGetAutostart):
(qemudDomainSetAutostart, qemudDomainInterfaceStats):
(qemudNetworkLookupByUUID, qemudNetworkLookupByName):
(qemudNetworkUndefine, qemudNetworkStart, qemudNetworkDestroy):
(qemudNetworkDumpXML, qemudNetworkGetAutostart):
(qemudNetworkSetAutostart): Likewise.
* src/virsh.c (cmdVcpupin, cmdAttachDevice, cmdDetachDevice): Likewise.
* src/xm_internal.c (xenXMConfigCacheRefresh, xenXMDomainPinVcpu): Likewise.
Daniel Veillard [Thu, 27 Mar 2008 09:34:06 +0000 (09:34 +0000)]
Linux container fixes, move driver in the daemon.
* src/lxc_conf.c src/lxc_conf.h src/lxc_driver.c src/remote_internal.c:
applied patch from Dan Berrange to change the way the lxc driver
works, migrating the support in the daemon, it also removes some
compilation issues and teh way the configuration files are named.
Daniel
Daniel Veillard [Thu, 27 Mar 2008 08:11:27 +0000 (08:11 +0000)]
support of older versions of iscsiadm.
* src/storage_backend_iscsi.c: patch from Chris Lalancette to improve
support with older versions of iscsiadm.
Daniel
Daniel Veillard [Wed, 26 Mar 2008 13:03:30 +0000 (13:03 +0000)]
* src/xen_internal.c proxy/libvirt_proxy.c: fix Xen hypercall for
Xen-3.2, and merged its debugging with the general library facility
Daniel
Richard W.M. Jones [Wed, 26 Mar 2008 13:00:47 +0000 (13:00 +0000)]
Wed Mar 26 12:57:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>
* po/lt.po: Fixed typo (Beth Kon).