Commit Graph

10 Commits

Author SHA1 Message Date
Eelco Dolstra
a6d31beba7 * qemu-kvm updated to 0.11.1.
svn path=/nixpkgs/branches/kernel-config/; revision=18943
2009-12-14 18:30:36 +00:00
Eelco Dolstra
9bc85fda47 * qemu-kvm 0.11.0.
svn path=/nixpkgs/trunk/; revision=17468
2009-09-28 14:28:20 +00:00
Eelco Dolstra
daceb23a25 * qemu-kvm 0.11.0rc2.
svn path=/nixpkgs/trunk/; revision=16995
2009-09-09 15:44:14 +00:00
Eelco Dolstra
b67e9a0415 * qemu-kvm unix domain patch: when accepting a connection, initialise
the remote address / port to something sensible.  Otherwise
  simultaneous connections to the same guest port don't work properly.

svn path=/nixpkgs/trunk/; revision=16805
2009-08-21 15:40:32 +00:00
Eelco Dolstra
c7eb810826 * haddr -> hport.
svn path=/nixpkgs/trunk/; revision=16804
2009-08-21 14:26:46 +00:00
Eelco Dolstra
098626dc86 * hport is in network order, so it needs to be converted back to host
order...
* Remove the socket file automatically.

svn path=/nixpkgs/trunk/; revision=16602
2009-08-07 09:54:03 +00:00
Eelco Dolstra
2ae0060bde * qemu-kvm: a quick hack to support connecting a Unix domain socket on
the host to a TCP port on the guest.  This will be useful for
  automated testing using QEMU virtual machines.  Using TCP ports on
  the host is insecure and hard to manage (since you need to pick an
  available host port).

  For example:

    $ qemu-system-x86_64 ... -redir tcp:65535::514

  creates a Unix domain socket `./65535.socket' on the host.  (There
  is no proper syntax yet, so as a hack all host "ports" above 0xff00
  are treated in this way.)  Connections to that socket are then
  forwarded to TCP port 514 on the guest.  So the guest can do

    $ nc -l -p 514 -e /bin/sh

  to execute a shell for incoming connections on port 514, and then
  the host can do

    $ socat stdio ./65535.socket

  to run a shell on the guest.

svn path=/nixpkgs/trunk/; revision=16593
2009-08-05 17:26:39 +00:00
Eelco Dolstra
df2f9ee836 * Urgh.
svn path=/nixpkgs/trunk/; revision=16584
2009-08-04 16:03:41 +00:00
Eelco Dolstra
c7dd5c04fc * Obsolete comment.
svn path=/nixpkgs/trunk/; revision=16583
2009-08-04 16:03:13 +00:00
Eelco Dolstra
84c7717cd5 * qemu-kvm is the upstream renaming of the kvm package. It no longer
contains the kernel module, which we didn't build anyway.  The kvm
  package can be deleted eventually.

svn path=/nixpkgs/trunk/; revision=16582
2009-08-04 16:02:27 +00:00