[PATCH 00/16] Implement DHCP support for user mode network

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch set implements DHCP support for user mode network.

This patch set complements the "Implement user mode network for kvm
tools" patch set and makes the Zero-Configuration Network happen.

To use this:
No configuration is needed in host side, just enable DHCP in your guest OS.

Asias He (16):
  kvm tools: Introduce uip_udp_make_pkg()
  kvm tools: Introduce struct uip_dhcp
  kvm tools: Add helper to tell if a UDP package is a DHCP package
  kvm tools: Add helpers to tell the type of a DHCP message
  kvm tools: Get domain name and nameserver from host
  kvm tools: Fill DHCP options with domain name and DNS server IP
  kvm tools: Fill all DHCP options
  kvm tools: Introduce uip_dhcp_make_pkg()
  kvm tools: Introduce uip_tx_do_ipv4_udp_dhcp()
  kvm tools: Get DNS information from host in uip_init()
  kvm tools: Handle DHCP package in gernal UDP processing path
  kvm tools: Introduce --guest-ip option
  kvm tools: Introduce --host-mac option
  kvm tools: Rename --host-ip-addr to --host-ip
  kvm tools: Initialize MAC address for virtio net properly
  kvm tools: Initialize MAC and IP address for uip properly

 tools/kvm/Makefile                 |    1 +
 tools/kvm/builtin-run.c            |   32 +++++-
 tools/kvm/include/kvm/uip.h        |   64 ++++++++++++
 tools/kvm/include/kvm/virtio-net.h |    6 +-
 tools/kvm/net/uip/core.c           |    2 +
 tools/kvm/net/uip/dhcp.c           |  194 ++++++++++++++++++++++++++++++++++++
 tools/kvm/net/uip/udp.c            |  105 +++++++++++--------
 tools/kvm/virtio/net.c             |   18 ++--
 8 files changed, 362 insertions(+), 60 deletions(-)
 create mode 100644 tools/kvm/net/uip/dhcp.c

-- 
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux