]> xenbits.xensource.com Git - libvirt.git/log
libvirt.git
17 years agoSponsor logo
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

17 years ago* AUTHORS: update, list people with commit access
Daniel Veillard [Thu, 24 Apr 2008 12:35:28 +0000 (12:35 +0000)]
* AUTHORS: update, list people with commit access
Daniel

17 years agofix the search
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

17 years ago* proxy/libvirt_proxy.c and docs/* typo fixing
Atsushi SAKAI [Thu, 24 Apr 2008 09:17:29 +0000 (09:17 +0000)]
* proxy/libvirt_proxy.c and docs/* typo fixing
Atsushi

17 years agoCosmetic doc improvements
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

17 years agoFix generation of NEWS file
Daniel P. Berrange [Wed, 23 Apr 2008 19:39:59 +0000 (19:39 +0000)]
Fix generation of NEWS file

17 years agoFix wiki link in API docs
Daniel P. Berrange [Wed, 23 Apr 2008 17:45:07 +0000 (17:45 +0000)]
Fix wiki link in API docs

17 years agoSplit website out into one file per page. APply new layout and styling
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

17 years agoEnable 'make syntax-check's sc_changelog rule.
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.

17 years agoPython header workaround
Daniel P. Berrange [Fri, 18 Apr 2008 18:31:32 +0000 (18:31 +0000)]
Python header workaround

17 years agoWork around Python.h name-space pollution.
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.

17 years agoRe-factor and pretty print differences
Daniel P. Berrange [Fri, 18 Apr 2008 15:28:33 +0000 (15:28 +0000)]
Re-factor and pretty print differences

17 years agoTest script helper for printing string differences
Daniel P. Berrange [Fri, 18 Apr 2008 15:05:29 +0000 (15:05 +0000)]
Test script helper for printing string differences

17 years agoavoid compile error when <pthread.h> is absent
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".

17 years agoFixes for MinGW.
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.

17 years agoRemove trailing blank
Daniel P. Berrange [Thu, 17 Apr 2008 19:25:42 +0000 (19:25 +0000)]
Remove trailing blank

17 years agoRemove a trailing blank.
Jim Meyering [Thu, 17 Apr 2008 08:40:53 +0000 (08:40 +0000)]
Remove a trailing blank.

17 years agoComplete and cleanup virsh man page
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

17 years agoAdded lxc_container.c to POTFILES.in
Daniel P. Berrange [Mon, 14 Apr 2008 17:44:51 +0000 (17:44 +0000)]
Added lxc_container.c to POTFILES.in

17 years agoRemove unused uid field in virsh control structure.
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.

17 years agoHACKING: New file: begin to describe contributor/coding guidelines
Jim Meyering [Thu, 10 Apr 2008 16:56:44 +0000 (16:56 +0000)]
HACKING: New file: begin to describe contributor/coding guidelines

17 years agoensure that no C source file uses TABs for indentation
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.

17 years agoconvert TAB-based indentation in C sources to use only spaces
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

17 years agoremove Vim and Emacs variable settings from C source files
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,'

17 years agoAUTHORS and po updates
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

17 years agoAsk xend to remove device in the config file too
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

17 years ago* src/Makefile.am src/lxc_conf.c src/lxc_conf.h src/lxc_container.c
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

17 years agoAdd virsh.pod to EXTRA_DIST
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.

17 years agoCore code contains Xen-ism UUID of dom0 = 0..0
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.

17 years agoWarn about conn, dom and net fields in virterror
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.

17 years agoRemove extraneous underscore
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).

17 years agoDoc updates post release, Daniel
Daniel Veillard [Wed, 9 Apr 2008 07:13:13 +0000 (07:13 +0000)]
Doc updates post release, Daniel

17 years ago0.4.2 release
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

17 years agoconfigure.in (ALL_LINGUAS): Fix typo: s/Latn/latin/.
Jim Meyering [Tue, 8 Apr 2008 15:53:16 +0000 (15:53 +0000)]
configure.in (ALL_LINGUAS): Fix typo: s/Latn/latin/.

17 years agoDon't fail to read a file because it's non-seekable (e.g., a pipe).
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.

17 years agosrc/qemu_driver.c: Handle errors from fork(2) and pipe(2)
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.

17 years ago* po/sr.po po/sr@Latn.po po/sr@latin.po: fix/update serbian
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

17 years agoadds xen and hvm guest types to test driver capabilities
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

17 years agoFix potential infinite loop in python generator
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

17 years ago* tests/vcpupin: Add a test for the 2008-04-04 virsh.c bugfix.
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.

17 years agoupdate bugzilla URIs
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

17 years agoDon't do polkit auth as root
Daniel P. Berrange [Fri, 4 Apr 2008 15:09:19 +0000 (15:09 +0000)]
Don't do polkit auth as root

17 years agoerror message on vcpupin
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

17 years agodoc and localization updates
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

17 years agotypos fixes
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

17 years agoAdd Cole Robinson to AUTHORS,
Daniel Veillard [Fri, 4 Apr 2008 07:33:00 +0000 (07:33 +0000)]
Add Cole Robinson to AUTHORS,
Daniel

17 years agovirNodeGetCellsFreeMemory for test driver
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

17 years agoC99 initializer on __lastErr
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).

17 years ago* src/lxc_conf.c: patch from Dave Leskovec fixing an freed memory
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

17 years agoremove dandling domain/net/conn pointers from error data
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

17 years ago* configure.in: small patch from Mike Gerdts to avoid problems with
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

17 years agolinux countainers cleanup patches
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

17 years agoAdded patches for routed networking from Mads Chr. Olesen
Daniel P. Berrange [Fri, 28 Mar 2008 20:38:21 +0000 (20:38 +0000)]
Added patches for routed networking from Mads Chr. Olesen

17 years agoFix output of XML for FS storage pool
Daniel P. Berrange [Fri, 28 Mar 2008 17:56:44 +0000 (17:56 +0000)]
Fix output of XML for FS storage pool

17 years agoTweak masquering rules to only capture traffic leaving the virtual network
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

17 years agolxcError: mark a string and add to the list of nearly-checked functions
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.

17 years agotestError: mark most string arguments 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.

17 years agoopenvzLog: mark its string arguments for translation
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.

17 years agoerror: mark most string arguments for translation
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.

17 years agoConvert diagnostics like "VAR > MAX_VAR" to translatable messages.
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.

17 years agoqemudReportError: mark for translation string args to this function
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.

17 years agoReportError: mark for translation string args to this function
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.

17 years agoxenXMError: mark for translation string args to this function
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.

17 years agoMark many more strings for translation.
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.

17 years agoLinux container fixes, move driver in the daemon.
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

17 years agosupport of older versions of iscsiadm.
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

17 years ago* src/xen_internal.c proxy/libvirt_proxy.c: fix Xen hypercall for
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

17 years agoWed Mar 26 12:57:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>
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).

17 years agoTue Mar 25 10:23:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>
Richard W.M. Jones [Tue, 25 Mar 2008 10:26:32 +0000 (10:26 +0000)]
Tue Mar 25 10:23:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>

       * src/virsh.c: Additional error messages for missing
         parameters (Shigeki Sakamoto).

17 years ago* src/qemu_driver.c: remove trailing newlines from error messages
Daniel Veillard [Mon, 24 Mar 2008 10:58:21 +0000 (10:58 +0000)]
* src/qemu_driver.c: remove trailing newlines from error messages
  patch from Guido Günther
Daniel

17 years ago* src/qemu_driver.c: applied patch from Guido Günther to make error
Daniel Veillard [Mon, 24 Mar 2008 10:51:47 +0000 (10:51 +0000)]
* src/qemu_driver.c: applied patch from Guido Günther to make error
  strings as translatable
Daniel

17 years ago* Makefile.maint (err_func_re): Add lxcError.
Jim Meyering [Mon, 24 Mar 2008 10:21:46 +0000 (10:21 +0000)]
* Makefile.maint (err_func_re): Add lxcError.

17 years ago* qemud/remote.c: Don't include <getopt.h>. Not used.
Jim Meyering [Mon, 24 Mar 2008 10:21:03 +0000 (10:21 +0000)]
* qemud/remote.c: Don't include <getopt.h>. Not used.

17 years agoSync Makefile rules from coreutils.
Jim Meyering [Mon, 24 Mar 2008 10:20:15 +0000 (10:20 +0000)]
Sync Makefile rules from coreutils.

* Makefile.maint: Merge.
* GNUmakefile: Update from coreutils.

17 years agoAdd new testing framework and the first test to use it.
Jim Meyering [Mon, 24 Mar 2008 10:19:36 +0000 (10:19 +0000)]
Add new testing framework and the first test to use it.

* tests/Makefile.am (test_scripts): Add vcpupin.
(EXTRA_DIST): Add test-lib.sh.
* tests/test-lib.sh: Testing framework, from coreutils.
* tests/vcpupin: New file.
* build-aux/mktempd: New file, from gnulib.
* bootstrap: Add posix-shell and mktempd to the list of imported modules.
* gnulib/m4/posix-shell.m4: New file, from gnulib.

17 years agoFix bugs in tests/Makefile.am.
Jim Meyering [Mon, 24 Mar 2008 10:18:36 +0000 (10:18 +0000)]
Fix bugs in tests/Makefile.am.

* tests/Makefile.am (TESTS_ENVIRONMENT): Correct invalid
settings of abs_top_builddir and abs_top_srcdir.
Also prepend src/ to PATH, so we test the just-built virsh,
not whatever happens to be in the original $PATH.

17 years ago* src/xend_internal.c: applied patch from Saori Fukuta adding the
Daniel Veillard [Mon, 24 Mar 2008 09:23:32 +0000 (09:23 +0000)]
* src/xend_internal.c: applied patch from Saori Fukuta adding the
  scheduler API for the Xen daemon driver
* po/POTFILES.in: add the two new linux container modules
Daniel

17 years agoInitial Linux containers work
Daniel Veillard [Fri, 21 Mar 2008 15:03:37 +0000 (15:03 +0000)]
Initial Linux containers work
* configure.in include/libvirt/virterror.h src/Makefile.am
  src/driver.h src/lxc_conf.[ch] src/lxc_driver.[ch] src/virterror.c:
  Applied 3 patches from Dave Leskovec for intial support of
  Linux containers, configured off by default, work in progress.
* src/libvirt.c: improve virDomainCreateLinux xmlDesc description
Daniel

17 years ago* src/util.c src/util.h src/xml.c: applied patch from Hiroyuki Kaguchi
Daniel Veillard [Thu, 20 Mar 2008 11:24:30 +0000 (11:24 +0000)]
* src/util.c src/util.h src/xml.c: applied patch from Hiroyuki Kaguchi
  fixing Ethernet MAC addresses parsingand separating as an util
  function, with added comments from Jim Meyering
Daniel

17 years ago* src/qemu_conf.c src/qemu_conf.h src/qemu_driver.c: applied patch
Daniel Veillard [Wed, 19 Mar 2008 14:32:50 +0000 (14:32 +0000)]
* src/qemu_conf.c src/qemu_conf.h src/qemu_driver.c: applied patch
  from Cole Robinson implementing memory operations for qemu driver
Daniel

17 years agoAvoid "make syntax-check" failure.
Jim Meyering [Tue, 18 Mar 2008 22:33:01 +0000 (22:33 +0000)]
Avoid "make syntax-check" failure.

* src/xen_unified.c: Remove trailing blank.

17 years agoUse explicit logic rules for opening Xen sub-drivers
Daniel P. Berrange [Mon, 17 Mar 2008 17:30:48 +0000 (17:30 +0000)]
Use explicit logic rules for opening Xen sub-drivers

17 years agoTreat ENOTSUP like ENODATA, after failed fgetfilecon.
Jim Meyering [Mon, 17 Mar 2008 16:57:21 +0000 (16:57 +0000)]
Treat ENOTSUP like ENODATA, after failed fgetfilecon.

* src/storage_backend.c (virStorageBackendUpdateVolInfoFD): Treat a
failed fgetfilecon with errno == ENOTSUP the same as for ENODATA.

17 years agofixed DefinedDomains function comments c.f. 437216
Daniel Veillard [Mon, 17 Mar 2008 16:43:54 +0000 (16:43 +0000)]
fixed DefinedDomains function comments c.f. 437216
* libvirt.c: fixed DefinedDomains function comments c.f. 437216
* docs/libvirt-*.xml docs/*/libvirt-libvirt.html: regenerated
Daniel

17 years agoFix creation of unmanaged pools
Daniel P. Berrange [Mon, 17 Mar 2008 15:10:48 +0000 (15:10 +0000)]
Fix creation of unmanaged pools

17 years agoCope with missing selinux attribute
Daniel P. Berrange [Mon, 17 Mar 2008 15:09:38 +0000 (15:09 +0000)]
Cope with missing selinux attribute

17 years ago* src/libvirt.c docs/libvirt-*.xml docs/html/libvirt-libvirt.html:
Daniel Veillard [Mon, 17 Mar 2008 10:48:02 +0000 (10:48 +0000)]
* src/libvirt.c docs/libvirt-*.xml docs/html/libvirt-libvirt.html:
  fixed a few missing argument descriptions and regenerated.
Daniel

17 years ago* NEWS virsh.1 docs//* include/libvirt/libvirt.h[.in] qemud/mdns.h
Daniel Veillard [Mon, 17 Mar 2008 10:27:31 +0000 (10:27 +0000)]
* NEWS virsh.1 docs//* include/libvirt/libvirt.h[.in] qemud/mdns.h
  src/libvirt.c src/qemu.conf src/remote_internal.c src/xend_internal.c
  tests/confdata/libvirtd.conf tests/confdata/libvirtd.out: patch from
  Atsushi SAKAI fixing a ot more typo
Daniel

17 years agoDon't set MAC on TAP devs. Pass TAP device name to QEMU
Daniel P. Berrange [Fri, 14 Mar 2008 20:30:03 +0000 (20:30 +0000)]
Don't set MAC on TAP devs. Pass TAP device name to QEMU

17 years ago* po/*: updated translations
Daniel Veillard [Fri, 14 Mar 2008 15:57:02 +0000 (15:57 +0000)]
* po/*: updated translations
Daniel

17 years agotypo
Daniel Veillard [Fri, 14 Mar 2008 15:31:08 +0000 (15:31 +0000)]
typo
* src/bridge.c: fix a typo in a comment
Daniel

17 years agoString fixes #436620
Daniel Veillard [Fri, 14 Mar 2008 15:21:15 +0000 (15:21 +0000)]
String fixes #436620
* qemud/qemud.c src/virsh.c: fixing some user facing strings
  problems pointed out by Francesco Tombolini should fix #436620
Daniel

17 years agoSmall cleanup, Daniel
Daniel Veillard [Fri, 14 Mar 2008 11:14:41 +0000 (11:14 +0000)]
Small cleanup, Daniel

17 years agoFix typo "informations" -> "information" (Atsushi SAKAI and
Richard W.M. Jones [Fri, 14 Mar 2008 11:08:03 +0000 (11:08 +0000)]
Fix typo "informations" -> "information" (Atsushi SAKAI and
Saori FUKUTA).

17 years ago* src/libvirt.c: virDomainSetSchedulerParameters need to be
Daniel Veillard [Thu, 13 Mar 2008 09:27:46 +0000 (09:27 +0000)]
* src/libvirt.c: virDomainSetSchedulerParameters need to be
  blocked on read-only connections, patch from Saori Fukuta
Daniel

17 years ago* src/bridge.c src/virsh.c: typo fixes from Atsushi SAKAI
Daniel Veillard [Thu, 13 Mar 2008 09:21:41 +0000 (09:21 +0000)]
* src/bridge.c src/virsh.c: typo fixes from Atsushi SAKAI
daniel

17 years ago* src/qemu_conf.c src/qemu_driver.c: patch from Cole Robinson
Daniel Veillard [Thu, 13 Mar 2008 09:17:45 +0000 (09:17 +0000)]
* src/qemu_conf.c src/qemu_driver.c: patch from Cole Robinson
  fixing CD Rom change on live QEmu/KVM domains.
Daniel

17 years agoRemove unused variable
Daniel P. Berrange [Tue, 11 Mar 2008 16:01:23 +0000 (16:01 +0000)]
Remove unused variable

17 years agoRemove use of polkit-grant. Keep stdio open when running polkit-auth
Daniel P. Berrange [Tue, 11 Mar 2008 14:49:04 +0000 (14:49 +0000)]
Remove use of polkit-grant. Keep stdio open when running polkit-auth

17 years agoDon't force Xen connections to readonly when non-root
Daniel P. Berrange [Tue, 11 Mar 2008 14:25:49 +0000 (14:25 +0000)]
Don't force Xen connections to readonly when non-root