- 04 3月, 2009 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 03 3月, 2009 3 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 Jim Meyering 提交于
* src/virsh.c (cmdNetworkList): Change format not to right-pad with spaces, as that would have required a trailing blank in an expected output file.
-
由 Daniel Veillard 提交于
patch by Mark McLoughlin. Daniel
-
- 17 2月, 2009 1 次提交
-
-
由 Cole Robinson 提交于
-
- 09 2月, 2009 2 次提交
-
-
由 John Levon 提交于
-
由 Daniel P. Berrange 提交于
-
- 30 1月, 2009 2 次提交
-
-
由 John Levon 提交于
Fix getpwuid_r() usage Fix virsh migrateuri handling
-
由 Daniel P. Berrange 提交于
-
- 29 1月, 2009 1 次提交
-
-
由 Guido Günther 提交于
-
- 05 1月, 2009 1 次提交
-
-
由 Jim Meyering 提交于
* src/virsh.c: Use `""', not `gettext_noop("")', in numerous vshCmdInfo definitions. The latter provokes a warning from gettext.
-
- 23 12月, 2008 2 次提交
-
-
由 Guido Günther 提交于
-
由 Cole Robinson 提交于
-
- 15 12月, 2008 1 次提交
-
-
由 Jim Meyering 提交于
This is the second part of the change mentioned here: http://thread.gmane.org/gmane.comp.emulators.libvirt/10331 It removes the essentially redundant "optname" parameter from each of the vshCommandOptNetworkBy and vshCommandOptDomainBy functions as well as the correspond macros (without "By" suffix). Now, instead of always passing the optname, "domain", to vshCommandOptDomainBy, that function requires that its command argument refer to an opts array containing a "domain" option. This normalization makes one more help-related change: it renames the net-start "name" argument to the more sensible and consistent "network". * src/virsh.c (VSH_BYNAME, vshCommandOptDomain) (cmd_has_option): New function, used in vshCommandOptDomainBy and vshCommandOptNetworkBy. (vshCommandOptDomainBy, vshCommandOptNetworkBy): Remove the optname parameter, it's always "domain" ("network"). Update all callers. Call cmd_has_option. (vshCommandOptNetwork, cmdAutostart, cmdConsole, cmdDomstate) (cmdDomblkstat, cmdDomIfstat, cmdSuspend, cmdUndefine, cmdStart) (cmdSave, cmdSchedinfo, cmdDump, cmdResume, cmdShutdown) (cmdReboot, cmdDestroy, cmdDominfo, cmdVcpuinfo, cmdVcpupin) (cmdSetvcpus, cmdSetmem, cmdSetmaxmem, cmdDumpXML, cmdDomname) (cmdDomid, cmdDomuuid, cmdMigrate, cmdNetworkAutostart) (cmdNetworkDestroy, cmdNetworkDumpXML, cmdNetworkName) (opts_network_start, cmdNetworkStart, cmdNetworkUndefine) (cmdNetworkUuid, cmdVNCDisplay, cmdTTYConsole, cmdAttachDevice) (cmdDetachDevice, cmdAttachInterface, cmdDetachInterface) (cmdAttachDisk, cmdDetachDisk, cmdEdit) * src/Makefile.am (virsh-pool-edit.c): This code is generated from cmdEdit, and cmdEdit uses the vshCommandOptDomain macro which now, with the changes above, has only 3 (was 4) arguments, yet the macro use is mapped to vshCommandOptPool, which still requires 4 arguments. So this change adjusts the sed code to reinsert the just-removed argument -- we're not changing pool-related code right now, because it's not as straight-forward.
-
- 12 12月, 2008 1 次提交
-
-
由 Jim Meyering 提交于
* po/id.po: Likewise. * qemud/remote_generate_stubs.pl: Likewise. * src/virsh.c: Likewise. * tests/testutils.c: Likewise. * tests/testutils.h: Likewise. * RENAMES: Likewise.
-
- 10 12月, 2008 1 次提交
-
-
由 Jim Meyering 提交于
* src/virsh.c (cmdPoolStart, cmdStart): Change hard-coded vshCommandOptDomainBy string argument to match just-changed option name. Cole Robinson reported that "virsh start" was broken and provided that part of the fix. Bug introduced by yesterday's "virsh.c: tweak options to produce more accurate help". * tests/start: New file. Test for the above fix. * tests/Makefile.am (test_scripts): Add start.
-
- 08 12月, 2008 4 次提交
-
-
由 Jim Meyering 提交于
* src/virsh.c: Adjust some vshCmdOptDef command option flags to improve auto-generated help command syntax.
-
由 Jim Meyering 提交于
* src/virsh.c: ... now that info is generated.
-
由 Jim Meyering 提交于
* src/virsh.c: Now, every command must have a "desc" string, even if it has zero length. Mark these, so they'll be filled in.
-
由 Jim Meyering 提交于
* src/virsh.c: Also, diagnose extra arguments after --help (-h).
-
- 04 12月, 2008 1 次提交
-
-
由 Cole Robinson 提交于
-
- 24 11月, 2008 1 次提交
-
-
由 Jim Meyering 提交于
* tests/virsh-synopsis: new file * tests/Makefile.am (test_scripts): Add virsh-synopsis. * src/virsh.c: Correct help SYNOPSIS for each of seven commands. When I first ran this script, "make check" failed like this: ... invalid help SYNOPSIS for net-create: create a network from an XML <file> invalid help SYNOPSIS for net-define: define a network from an XML <file> invalid help SYNOPSIS for net-start: start <network> invalid help SYNOPSIS for pool-create: create a pool from an XML <file> invalid help SYNOPSIS for pool-define: define a pool from an XML <file> invalid help SYNOPSIS for pool-start: start <pool> invalid help SYNOPSIS for vol-create: create <file> FAIL: virsh-synopsis
-
- 21 11月, 2008 2 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
- 17 11月, 2008 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 14 11月, 2008 1 次提交
-
-
由 Daniel Veillard 提交于
* qemud/remote.c qemud/remote_dispatch_localvars.h qemud/remote_dispatch_proc_switch.h qemud/remote_dispatch_prototypes.h qemud/remote_protocol.c qemud/remote_protocol.h qemud/remote_protocol.x src/driver.h src/libvirt.c src/libvirt_internal.h src/libvirt_sym.version src/lxc_driver.c src/openvz_driver.c src/qemu_conf.h src/qemu_driver.c src/remote_internal.c src/test.c src/virsh.c: large patch to add migration support for KVM/QEmu, based on the work of Rich Jones and Chris Lalancette. This introduce a new version of the prepare and finish steps of the migration, so changes the driver API and a lot of code. Daniel
-
- 14 10月, 2008 1 次提交
-
-
由 Jim Meyering 提交于
Building with --disable-nls exposed many new warnings like these: virsh.c:4952: warning: format not a string literal and no format ... util.c:163: warning: format not a string literal and no format arguments All but one of the following changes add a "%s" argument before the offending _(...) argument. This was the only manual change: * src/lxc_driver.c (lxcVersion): Use %s and strerror(errno) rather than %m, to avoid a warning from gcc -Wformat-security. Add "%s" before each warned about format-string-with-no-%-directive: * src/domain_conf.c (virDomainHostdevSubsysUsbDefParseXML) (virDomainDefParseString, virDomainDefParseFile): * src/hash.c (virGetConnect, __virGetDomain, virReleaseDomain) (__virGetNetwork, virReleaseNetwork, __virGetStoragePool) (virReleaseStoragePool, __virGetStorageVol, virReleaseStorageVol): * src/lxc_container.c (lxcContainerChild): * src/lxc_driver.c (lxcDomainDefine, lxcDomainUndefine) (lxcDomainGetInfo, lxcGetOSType, lxcDomainDumpXML) (lxcSetupInterfaces, lxcDomainStart, lxcDomainCreateAndStart) (lxcVersion, lxcGetSchedulerParameters): * src/network_conf.c (virNetworkDefParseString) (virNetworkDefParseFile): * src/openvz_conf.c (openvzReadNetworkConf, openvzLoadDomains): * src/openvz_driver.c (openvzDomainDefineCmd) (openvzDomainGetInfo, openvzDomainDumpXML, openvzDomainShutdown) (openvzDomainReboot, ADD_ARG_LIT, openvzDomainDefineXML) (openvzDomainCreateXML, openvzDomainCreate, openvzDomainUndefine) (openvzDomainSetAutostart, openvzDomainGetAutostart) (openvzDomainSetVcpus): * src/qemu_driver.c (qemudDomainBlockPeek, qemudDomainMemoryPeek): * src/remote_internal.c (remoteDomainBlockPeek) (remoteDomainMemoryPeek, remoteAuthPolkit): * src/sexpr.c (sexpr_new, _string2sexpr): * src/storage_backend_disk.c (virStorageBackendDiskMakeDataVol) (virStorageBackendDiskCreateVol): * src/storage_backend_fs.c (virStorageBackendFileSystemNetFindPoolSources): * src/storage_backend_logical.c (virStorageBackendLogicalFindLVs) (virStorageBackendLogicalFindPoolSources): * src/test.c (testOpenDefault, testOpenFromFile, testOpen) (testGetDomainInfo, testDomainRestore) (testNodeGetCellsFreeMemory): * src/util.c (virExec): * src/virsh.c (cmdAttachDevice, cmdDetachDevice) (cmdAttachInterface, cmdDetachInterface, cmdAttachDisk) (cmdDetachDisk, cmdEdit): * src/xend_internal.c (do_connect, wr_sync, xend_op_ext) (urlencode, xenDaemonDomainCreateXML) (xenDaemonDomainLookupByName_ids, xenDaemonDomainLookupByID) (xenDaemonParseSxprOS, xend_parse_sexp_desc_char) (xenDaemonParseSxprChar, xenDaemonParseSxprDisks) (xenDaemonParseSxpr, sexpr_to_xend_topology, sexpr_to_domain) (xenDaemonDomainFetch, xenDaemonDomainGetAutostart) (xenDaemonDomainSetAutostart, xenDaemonDomainMigratePerform) (xenDaemonDomainDefineXML, xenDaemonGetSchedulerType) (xenDaemonGetSchedulerParameters) (xenDaemonSetSchedulerParameters, xenDaemonDomainBlockPeek) (xenDaemonFormatSxprChr, virDomainXMLDevID): * src/xm_internal.c (xenXMConfigCacheRefresh, xenXMDomainPinVcpu) (xenXMDomainCreate, xenXMDomainDefineXML) (xenXMDomainAttachDevice, xenXMDomainDetachDevice): * src/xml.c (virXPathString, virXPathNumber, virXPathLong) (virXPathULong, virXPathBoolean, virXPathNode, virXPathNodeSet): * src/xs_internal.c (xenStoreOpen):
-
- 10 10月, 2008 1 次提交
-
-
由 Daniel Veillard 提交于
* include/libvirt/libvirt.h[.in] include/libvirt/virterror.h qemud/remote* src/driver.h src/libvirt.c src/libvirt_sym.version src/lxc_driver.c src/openvz_driver.c src/proxy_internal.c src/qemu_driver.c src/remote_internal.c src/test.c src/virsh.c src/xen_internal.c src/xen_unified.c src/xen_unified.h src/xend_internal.c src/xend_internal.h src/xm_internal.c src/xs_internal.c docs/*: cleanup virDomainCreateLinux into virDomainDefineXML, and a few additional cleanups Daniel
-
- 09 10月, 2008 2 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 Dan Smith 提交于
-
- 17 9月, 2008 1 次提交
-
-
由 Richard W.M. Jones 提交于
-
- 03 9月, 2008 1 次提交
-
-
由 Daniel Veillard 提交于
* src/virsh.c: patch from Cole Robinson to add output on attach and detach success daniel
-
- 02 9月, 2008 1 次提交
-
-
由 Daniel Veillard 提交于
* src/storage_backend.h src/storage_backend_logical.c src/storage_conf.c src/storage_conf.h src/virsh.c: Applied patches from David Lively to add storage source elements needed for storage pool * docs/formatstorage.html docs/formatstorage.html.in: associated documentation Daniel
-
- 28 8月, 2008 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 15 8月, 2008 1 次提交
-
-
由 Atsushi SAKAI 提交于
and 3 more files(src/domain_conf.c src/openvz_driver.c src/qemu_driver.c)
-
- 12 8月, 2008 1 次提交
-
-
由 Atsushi SAKAI 提交于
-
- 01 8月, 2008 3 次提交
-
-
由 Richard W.M. Jones 提交于
* src/virsh.c: Implement 'virsh edit', 'virsh net-edit' and 'virsh pool-edit' commands. These edit the XML for domains, networks and storage pools respectively, and are the equivalent of doing 'virsh dumpxml; vi foo.xml; virsh define' * src/Makefile.am, src/.cvsignore: Auto-generate the net-edit and pool-edit commands. * docs/virsh.pod: Updated the documentation.
-
由 Jim Meyering 提交于
-
由 Richard W.M. Jones 提交于
* src/virsh.c: Const-correctness.
-
- 23 7月, 2008 1 次提交
-
-
由 Jim Meyering 提交于
* src/virsh.c (cmdUndefine): Tell user to shutdown and then use name or UUID. * tests/undefine: New test. Exercise virsh's undefine command. * tests/Makefile.am (test_scripts): Add undefine.
-