- 11 3月, 2011 1 次提交
-
-
由 Taku Izumi 提交于
This patch adds the new options (--live and --config) to "virsh setmem" command. The behavior of above options is the same as that of "virsh setvcpus" and so on. That is, when the --config option is specified, a modification is effective for the persistent domain. Moreover we can modify the memory size of inactive domains as well as that of active domains. Signed-off-by: NTaku Izumi <izumi.taku@jp.fujitsu.com>
-
- 09 2月, 2011 1 次提交
-
-
由 Eric Blake 提交于
* tools/virsh.c (cmdSysinfo): New function. (hostAndHypervisorCmds): Add it. * tools/virsh.pod: Document it.
-
- 04 2月, 2011 1 次提交
-
-
由 Jiri Denemark 提交于
Currently users who want to use virDomainQemuMonitorCommand() API or it's virsh equivalent has to use the same protocol as libvirt uses for communication to qemu. Since the protocol is QMP with current qemu and HMP much more usable for humans, one ends up typing something like the following: virsh qemu-monitor-command DOM \ '{"execute":"human-monitor-command","arguments":{"command-line":"info kvm"}}' which is not a very convenient way of debugging qemu. This patch introduces --hmp option to qemu-monitor-command, which says that the provided command is in HMP. If libvirt uses QMP to talk with qemu, the command will automatically be converted into QMP. So the example above is simplified to just virsh qemu-monitor-command --hmp DOM "info kvm" Also the result is converted from {"return":"kvm support: enabled\r\n"} to just plain HMP: kvm support: enabled If libvirt talks to qemu in HMP, --hmp flag is obviously a noop.
-
- 01 2月, 2011 1 次提交
-
-
由 Osier Yang 提交于
* tools/virsh.pod
-
- 29 1月, 2011 1 次提交
-
-
由 Matthias Bolte 提交于
Use it in all places where a memory or storage request size is converted to a larger granularity. This avoids requesting too small memory or storage sizes that could result from the truncation done by a simple division. This extends the round up fix in 6002e040 to the whole codebase. Instead of reporting errors for odd values in the VMX code round them up. Update the QEMU Argv tests accordingly as the original memory size 219200 isn't a even multiple of 1024 and is rounded up to 215 megabyte now. Change it to 219100 and 219136. Use two different values intentionally to make sure that rounding up works. Update virsh.pod accordingly, as rounding down and rejecting are replaced by rounding up.
-
- 28 1月, 2011 3 次提交
-
-
由 Wen Congyang 提交于
If the memory of guest OS is changed constantly, the live migration can not be ended ever for ever. We can use the command 'virsh migrate-setmaxdowntime' to control the live migration. But the value of maxdowntime is diffcult to calculate because it depends on the transfer speed of network and constantly changing memroy size. We need a easy way to control the live migration. This patch adds the support of forcing guest to suspend at timeout. With this patch, when we migrate the guest OS, we can specify a timeout. If the live migration timeouts, auto-suspend the guest OS, where the migration will complete offline.
-
由 Wen Congyang 提交于
Show migration progress if `migrate --verbose'.
-
由 Justin Clift 提交于
Addresses BZ # 622534: https://bugzilla.redhat.com/show_bug.cgi?id=622534
-
- 27 1月, 2011 1 次提交
-
-
由 Justin Clift 提交于
-
- 14 1月, 2011 1 次提交
-
-
由 Justin Clift 提交于
Addresses BZ # 622534: https://bugzilla.redhat.com/show_bug.cgi?id=622534
-
- 13 1月, 2011 1 次提交
-
-
由 Wen Congyang 提交于
Signed-off-by: NWen Congyang <wency@cn.fujitsu.com>
-
- 23 12月, 2010 1 次提交
-
-
由 Jiri Denemark 提交于
-
- 03 12月, 2010 1 次提交
-
-
由 Justin Clift 提交于
Now includes information on keyword usage, and provides examples.
-
- 22 11月, 2010 1 次提交
-
-
由 Justin Clift 提交于
The virt-mem program is no longer shipped, but was still being referenced at the bottom of the virsh and libvirtd man pages. This patch removes it from those man pages, addressing BZ# 639603: https://bugzilla.redhat.com/show_bug.cgi?id=639603
-
- 19 11月, 2010 2 次提交
-
-
由 Osier Yang 提交于
* tools/virsh.pod (add doc for options like "--p2p", "--direct", "--copy-storage-all", "dname", etc.)
-
由 Osier Yang 提交于
* tools/virsh.pod (add docs for --persistent and --sourcetype of attach-disk, break the long lines in the meantime)
-
- 18 11月, 2010 1 次提交
-
-
由 Osier Yang 提交于
* tools/virsh.pod (change things like "edit domain.xml" into "vi domain.xml", so that it's more clear for user)
-
- 17 11月, 2010 1 次提交
-
-
由 Osier Yang 提交于
To list basic information about the network. * tools/virsh.c * tools/virsh.pod
-
- 12 11月, 2010 1 次提交
-
-
由 Daniel P. Berrange 提交于
This re-writes the 'virsh console' command so that it uses the new streams API. This lets it run remotely and/or as a non-root user. This requires that virsh be linked against the simple event loop from libvirtd in daemon/event.c As an added bonus, it can now connect to any console device, not just the first one. * tools/Makefile.am: Link to event.c * tools/console.c, tools/console.h: Rewrite to use the virDomainOpenConsole() APIs with streams * tools/virsh.c: Support choosing the console name via --devname $NAME
-
- 11 11月, 2010 1 次提交
-
-
由 Eric Blake 提交于
* tools/virsh.c (vshParseArgv): Use NULL instead of 0 for pointer, and symbolic names for has_arg. Give --version an optional arg. (vshUsage): Document this. * tools/virsh.pod: Likewise.
-
- 09 11月, 2010 1 次提交
-
-
由 Daniel Veillard 提交于
To ease debugging this trivial patch allows to find what was compiled in in the local version of libvirt, this doesn't work for remote access but that's probably sufficient. With the patch I get on my machine: paphio:~/libvirt/tools -> ./virsh -V Virsh command line tool of libvirt 0.8.4 See web site at http://libvirt.org/ Compiled with support for: Hypervisors: Xen QEmu/KVM UML OpenVZ LXC ESX PHYP Test Networking: Remote Daemon Network Bridging Netcf Nwfilter Storage: Dir Disk Filesystem SCSI Multipath iSCSI LVM Miscellaneous: SELinux Secrets Debug Readline paphio:~/libvirt/tools -> * tools/virsh.c: add -V option * tools/virsh.pod: document the extension
-
- 06 11月, 2010 1 次提交
-
-
由 Chris Lalancette 提交于
Now that the virsh parsing has been revamped, we can implement qemu-monitor-command. This is basically the same as it was in previous iterations, but has now been tested to work both with the plain text monitor and the QMP monitor. Signed-off-by: NChris Lalancette <clalance@redhat.com>
-
- 29 10月, 2010 1 次提交
-
-
由 Justin Clift 提交于
Updated the descriptions for managedsave and start in virsh and the virsh man page, and also for managedsave-remove in the virsh man page.
-
- 26 10月, 2010 1 次提交
-
-
由 Osier Yang 提交于
* tools/virsh.c: add missing option from the CLI to allows setting up the NIC model type when attaching an interface * tools/virsh.pod: extend documentation * AUTHORS: add Osier Yang to the list
-
- 20 10月, 2010 2 次提交
-
-
由 Eric Blake 提交于
* tools/virsh.pod (memtune): Drop second copy, fill to 80 columns, enhance wording.
-
由 Eric Blake 提交于
* tools/virsh.c (cmdSetvcpus): Add new flags. Let invalid commands through to driver, to ease testing of hypervisor argument validation. (cmdMaxvcpus, cmdVcpucount): New commands. (commands): Add new commands. * tools/virsh.pod (setvcpus, vcpucount, maxvcpus): Document new behavior.
-
- 19 10月, 2010 2 次提交
-
-
由 Nikunj A. Dadhania 提交于
* tools/virsh.c: Add new memory tunable "min_guarantee", currently only ESX can use this * tools/virsh.pod: Update the manpage
-
由 Nikunj A. Dadhania 提交于
* docs/formatdomain.html.in: Add memtune element details, added min_guarantee * src/libvirt.c: Update virDomainGetMemoryParameters api description, make it more clear that the user first needs to call the api to get the number of parameters supported and then call again to get the values. * tools/virsh.pod: Add usage of new command memtune in virsh manpage
-
- 16 10月, 2010 1 次提交
-
-
由 Eric Blake 提交于
* tools/virsh.c (cmdEcho): New command. (commands): Add it. * tools/virsh.pod (echo): Document it.
-
- 13 10月, 2010 2 次提交
-
-
由 Eric Blake 提交于
* tools/virsh.pod: Document top-level options.
-
由 Lai Jiangshan 提交于
Old virsh command parsing mashes all the args back into a string and miss the quotes, this patches fix it. It is also needed for introducing qemu-monitor-command which is very useful. This patches uses the new vshCommandParser abstraction and adds vshCommandArgvParse() for arguments vector, so we don't need to mash arguments vector into a command sting. And the usage was changed: old: virsh [options] [commands] new: virsh [options]... [<command_string>] virsh [options]... <command> [args...] So we still support commands like: "define D.xml; dumpxml D" was parsed as a commands-string. and support commands like: we will not mash them into a string, we use new argv parser for it. But we don't support the command like: "define D.xml; dumpxml" was parsed as a command-name, but we have no such command-name. Signed-off-by: NLai Jiangshan <laijs@cn.fujitsu.com>
-
- 17 7月, 2010 1 次提交
-
-
由 Justin Clift 提交于
This patch removes the individual author names from the libvirtd and virsh man pages, instead referring to the main AUTHORS file distributed with libvirt. This approach is needed, as we can't guarantee unicode support across all versions of pod2man used with libvirt. Additionally, this patch includes the libvirtd man page in the spec file used with "make rpm". Without this patch "make rpm" is broken.
-
- 13 7月, 2010 1 次提交
-
-
由 Jiri Denemark 提交于
pod2man prints the following warning when generating virsh.1: tools/virsh.pod:890: Unmatched =back
-
- 09 7月, 2010 1 次提交
-
-
由 Justin Clift 提交于
This patch adds a new --details option to the virsh vol-list command, making its output more useful when many luns are present. Addresses BZ # 605543 https://bugzilla.redhat.com/show_bug.cgi?id=605543
-
- 08 7月, 2010 1 次提交
-
-
由 Chris Lalancette 提交于
Signed-off-by: NChris Lalancette <clalance@redhat.com>
-
- 29 6月, 2010 1 次提交
-
-
由 Justin Clift 提交于
This patch adds a new --details option to the virsh pool-list command, making its output more useful to people who use virsh for significant lengths of time. Addresses BZ # 605543 https://bugzilla.redhat.com/show_bug.cgi?id=605543
-
- 23 6月, 2010 1 次提交
-
-
由 Eric Blake 提交于
http://bugzilla.redhat.com/601143, part 1 - document existing behavior. Ever since Mar 2010 (commit ced154cb), the use of 'attach-disk' or 'attach-device' to change cdrom/floppy media has been documented but deprecated, but the replacement to use 'update-device' was not documented. * tools/virsh.c (cmdAttachInterface, cmdAttachDisk): Fix bad error message. * tools/virsh.pod (attach-device, attach-disk): Refer to update-device for cdrom and floppy behavior. (update-device): Add documentation.
-
- 18 6月, 2010 1 次提交
-
-
由 Justin Clift 提交于
Adds an optional switch, --uuid, for telling the virsh vol-pool command to return the pool UUID rather than pool name.
-
- 17 6月, 2010 1 次提交
-
-
由 Justin Clift 提交于
Presently the vol-key command only supports being provided with a volume path. This patch adds support for providing it with a pool and volume identifier pair as well. virsh # vol-key --pool <pool-name-or-uuid> <vol-name-or-path>
-
- 15 6月, 2010 1 次提交
-
-
由 Eric Blake 提交于
Make 'start --paused' mirror 'create --paused'. * tools/virsh.c (cmdStart): Use new virDomainCreateWithFlags API when needed. * tools/virsh.pod (start): Document --paused.
-