[Frugalware-darcs] frugalware-current: qemu-0.9.0-1-i686

VMiklos vmiklos at frugalware.org
Sat Jun 16 04:03:44 CEST 2007

Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=frugalware-current;a=darcs_commitdiff;h=20070616002902-e2957-f289cc56fbc639543c3badf80f02017a3dfc68e0.gz;

VMiklos <vmiklos at frugalware.org>**20070616002902
 improve README.Frugalware
] {
hunk ./source/xapps-extra/qemu/FrugalBuild 16
+sha1sums=('1e57e48a06eb8729913d92601000466eecef06cb' \
+          '60639d14ee193cc0a9911f7948719ab3fbc9737a' \
+          'ce31601e5712057938227923d4a9adf16eeb36e7' \
+          '17454e4d54872d32071d478774f96cbab8bb0902')
hunk ./source/xapps-extra/qemu/FrugalBuild 40
-          '60639d14ee193cc0a9911f7948719ab3fbc9737a'\
-          'ce31601e5712057938227923d4a9adf16eeb36e7'\
-          '5622007f6754e23cf4105ba44a00b236a72ffe0f')
hunk ./source/xapps-extra/qemu/README.Frugalware 1
-QuickStart for lazy users aka. "I am new to qemu and I want to use it, help!" :)
+=== QuickStart
+If you are completely new to `qemu`, you may find the big list of switches a
+bit confusing. Most users want to install an operating system from a cdrom
+image to a virtual harddisk. Here is what you need:
hunk ./source/xapps-extra/qemu/README.Frugalware 9
-$ wget bar.iso
+$ wget http://server.com/bar.iso
hunk ./source/xapps-extra/qemu/README.Frugalware 13
+=== Tricks
+It worth to read the full documentation at
+`/usr/share/doc/qemu-*/qemu-doc.html`, it really worth to do so.
+To demonstrate how powerfull `qemu` is, here are a few cheap tricks:
+If you want to be able to ssh to the machine, you can use port derirection. For
+example using the `-redir tcp:1022::22` option, `qemu:22` will be available at
+NOTE: This requires `root` privileges.
+You can create a unix socket to control your virtual machine. For example if
+you are not able to ssh to the machine, you can still properly shut it down:
+Use the `-monitor unix:/tmp/qemu,server,nowait` option, then send the `sendkey
+ctrl-alt-delete` string to the socket, for example using python:
+python -c "import socket; sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM); \
+sock.connect('/tmp/qemu'); \
+sock.send('sendkey ctrl-alt-delete\n')"
+Finally a trick about vnc: using for example the `-vnc 0` option, it's possible
+to reach qemu's display via vnc. This is quite handy if you run qemu on a
+server (for example in screen), then you can freely attach to and detach from
+it whenever you want to do so.
+Really, read the full documentation! :)
+// vim: ft=asciidoc

More information about the Frugalware-darcs mailing list