Changes To vws
Not logged in

Changes to "vws" between 2015-12-17 15:09:59 and 2015-12-18 06:36:27

1
2
3
4
5
6
7
8
9
10

11
12
13
14
15
16

17
18
19
20
21
22
23
1
2
3
4
5
6
7
8
9

10
11
12
13
14
15

16
17
18
19
20
21
22
23









-
+





-
+







**vws** script is main workhorse of the first stage of project.

It allows to send commands to the vm

Starting and stopping
---------------------

    vws start [--no-gui] [--cdrom isofile] [--snapshot] [ --args "more args" ] vmname

Starts machine. By default, immediately after machine starts, launches [vmgui] to connect it. If no DISPLAY environment variable is set or if **--no-gui** is specified, doesn't launch GUI. If **--cdrom** is specified, connects specified ISO to machine CDROM and boots it from it.
Starts machine. By default, immediately after machine starts, launches spice client (remote-viewer) to connect it. If no DISPLAY environment variable is set or if **--no-gui** is specified, doesn't launch GUI. If **--cdrom** is specified, connects specified ISO to machine CDROM and boots it from it.

If **--snapshot** is specified, starts qemu in snapshot mode. In this mode all disk images are read only and all changes in the fs are written into temporary file which is removed upon shutting machine down.

If **--args*** is specified, its argument is added to the QEMU command line.

If machine is running in the background, just launches vmgui, unless not asked to. If machine is running and gui is not needed, just exits immedieately with zero exit code. In this case **--args** and **--snapshot** would be ignored with warning and **--cdrom** is interpreted as if **vws cdrom** command was issued.
If machine is running in the background, just launches gui, unless not asked to. If machine is running and gui is not needed, just exits immedieately with zero exit code. In this case **--args** and **--snapshot** would be ignored with warning and **--cdrom** is interpreted as if **vws cdrom** command was issued.

If machine is not running and saved state exists, load saved state.

Semantic: "make this machine running*

    vws stop vmname [--hard]