blob: 312d84d5f393bbbb6fea497cef07fa682ff399df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
about qemu-gtk
==============
This is a simple gtk-based gui for qemu. It is designed to run
independant from the qemu process, so you can stop and restart the gui
without disturbing your virtual machines.
qemu-gtk doesn't support starting a new virtual machines. It can only
connect to a already running qemu process.
qemu-gtk-run is a perl script for starting virtual machines. Gets the
vm configuration from libvirt.
Both tools come with a manual page for documentation.
qemu-gtk quickstart
-------------------
qemu-gtk connects to the qemu monitor using tcp or unix sockets and to
the built-in vnc server. Thus you must enable the monitor and vnc
when starting qemu. The monitor should be in non-blocking server mode.
i.e. you'll start qemu like this:
"qemu -monitor unix:/tmp/monitor,server,nowait -vnc :1 <more-args>"
then the gui like this:
"qemu-gtk unix:/tmp/monitor"
qemu-gtk will figure automatically where the vnc display is, using the
monitor.
qemu-gtk-run quickstart
-----------------------
qemu-gtk-run fetches the configuration from libvirt (via virsh dumpxml
$name), assembles a qemu command line from that, then starts qemu
directly (i.e. *not* using libvirt for management). It also starts
qemu-gtk. Just "qemu-gtk-run $name" starts your VM.
Have fun,
Gerd
--
Gerd Hoffmann <kraxel@redhat.com>
|