diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-06-25 09:02:18 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-06-25 09:02:18 +0100 |
commit | 78a515ec4a4e8650bd2e1ffc0bfbb97b9568306d (patch) | |
tree | 5ab20e5ba03f8e36cdc016bd3aebe266aa716b2b /src/guestfs-internal.h | |
parent | a0a86484be86da3085377f874a9de76c94db712b (diff) | |
download | libguestfs-78a515ec4a4e8650bd2e1ffc0bfbb97b9568306d.tar.gz libguestfs-78a515ec4a4e8650bd2e1ffc0bfbb97b9568306d.tar.xz libguestfs-78a515ec4a4e8650bd2e1ffc0bfbb97b9568306d.zip |
lib: Remove obsolete NETWORK, ROUTER definitions in header file.
These haven't been used since we switched over to virtio-serial.
Diffstat (limited to 'src/guestfs-internal.h')
-rw-r--r-- | src/guestfs-internal.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h index 0cdc8f2b..983e758e 100644 --- a/src/guestfs-internal.h +++ b/src/guestfs-internal.h @@ -116,27 +116,6 @@ /* Maximum size of Windows explorer.exe. 2.6MB on Windows 7. */ #define MAX_WINDOWS_EXPLORER_SIZE (4 * 1000 * 1000) -/* Network configuration of the appliance. Note these addresses are - * only meaningful within the context of the running appliance. QEMU - * translates network connections to these magic addresses into - * userspace calls on the host (eg. connect(2)). qemu-doc has a nice - * diagram which is also useful to refer to. - * - * NETWORK: The network. - * - * ROUTER: The address of the "host", ie. this library. - * - * [Note: If you change NETWORK and ROUTER then you also have to - * change the network configuration in appliance/init]. - * - * GUESTFWD_ADDR, GUESTFWD_PORT: The guestfwd feature of qemu - * magically connects this pseudo-address to the guestfwd channel. In - * typical Linux configurations of libguestfs, guestfwd is not - * actually used any more. - */ -#define NETWORK "169.254.0.0/16" -#define ROUTER "169.254.2.2" - /* GuestFS handle and connection. */ enum state { CONFIG, LAUNCHING, READY, NO_HANDLE }; |