[et-mgmt-tools] [PATCH] virt-install: Add --serial and --parallel options

Cole Robinson crobinso at redhat.com
Thu Jul 9 19:26:18 UTC 2009


The attached patch adds --serial and --parallel options to virt-install, for
attaching the respective devices to the new VM. Isn't much to say here, some
examples explain it all:

Serial PTY:

--serial pty

Parallel to a file:

--serial file,path=/tmp/foo.log

TCP net console in server mode, using telnet format:

--serial tcp,host=0.0.0.0:2222,mode=bind,protocol=telnet

UDP net console, sending output to the specified host:

--serial udp,host=192.168.10.20:4444

The man page has examples for several other types as well. --serial and
--parallel share the same option format, as they do in the libvirt xml.

Any questions or comments appreciated.

- Cole
-------------- next part --------------
A non-text attachment was scrubbed...
Name: virtinst-add-char-devs.patch
Type: text/x-diff
Size: 10490 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20090709/bc44d154/attachment.bin>


More information about the et-mgmt-tools mailing list