]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Make tcp between guest/host virtual ip work in UIP mode
authorAsias He <asias.hejun@gmail.com>
Thu, 23 Aug 2012 12:47:50 +0000 (20:47 +0800)
committerPekka Enberg <penberg@kernel.org>
Thu, 23 Aug 2012 16:41:31 +0000 (19:41 +0300)
commit7069d7bd471fbf6cf838159a124a73c3bcb18095
treea9face4922695ce5f6e240e5c897535b2d47cd76
parent94fbe88d2f283bf5c2b821fa50d9068f61af3bc0
kvm tools: Make tcp between guest/host virtual ip work in UIP mode

This pach makes tcp between 'guest ip' and 'host virtual ip' work in UIP mode.
(The defulat guest ip is 192.168.33.15, host virtual ip is 192.168.33.1)

  guest$ wget http://192.168.33.1/file
  guest$ ssh 192.168.33.1

Without this patch, user has to figure out the ip address of host's
interface (e.g. eth0) and use that ip address to access host.

With this patch, user can simply use the virtual host ip.

Signed-off-by: Asias He <asias.hejun@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/net/uip/tcp.c