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-28 09:10:03 +0100 |
commit | e6dc4a257423c533cb1b3f0c91409ccd55ce2ecd (patch) | |
tree | c97a0a4f3a0474fe4978560dee4d93a0f81c2d67 /src | |
parent | 42218cc38024979a7912caae2258fa0998a9f38a (diff) | |
download | libguestfs-e6dc4a257423c533cb1b3f0c91409ccd55ce2ecd.tar.gz libguestfs-e6dc4a257423c533cb1b3f0c91409ccd55ce2ecd.tar.xz libguestfs-e6dc4a257423c533cb1b3f0c91409ccd55ce2ecd.zip |
lib: Remove obsolete NETWORK, ROUTER definitions in header file.
These haven't been used since we switched over to virtio-serial.
(cherry picked from commit 78a515ec4a4e8650bd2e1ffc0bfbb97b9568306d)
Diffstat (limited to 'src')
-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 4e82966d..c8a3e664 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 }; |