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

Re: [Xen-devel] xl create ipv6 support


  • To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
  • From: Carlos <cechevarne@xxxxxxxxx>
  • Date: Tue, 22 Feb 2011 09:54:30 +0100
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxx>
  • Delivery-date: Tue, 22 Feb 2011 00:55:10 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=PQDYAGl6pRPIQ0EF4NKNpc6Y87CBHgiCdthItM0bnt1SbxVcC/6zh0FGznazvO6vUO 5bfA7tFZ9Sg+4/MBYVvMvuaJatFzDxHfpeWPv7MUNn31opdcw6xCsYav7LmeoqDE7kl4 M7XUPfvKxwXk9AQes2tDgbH3TI3IL8aJQD8pg=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

The patch works :).

#/etc/xen# xl create domU.cfg
Parsing config file domU.cfg
Daemon running with PID 3165

/usr/bin/xenstore-ls /local/domain/0/backend/vif/2/1
frontend = "/local/domain/2/device/vif/1"
frontend-id = "2"
>state = "4"
script = "/etc/xen/scripts/vif-bridge"
mac = "00:16:3e:45:4f:cc"
ip = "82.98.165.194 2a02:be8:0:17:216:3eff:fe45:4fbb"
bridge = "xenbr"
handle = "1"
feature-sg = "1"
feature-gso-tcpv4 = "1"
feature-rx-copy = "1"
feature-rx-flip = "0"
feature-smart-poll = "1"
hotplug-status = "connected"


2011/2/21 Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
On Mon, 21 Feb 2011, Ian Campbell wrote:
> # HG changeset patch
> # User Ian Campbell <ian.campbell@xxxxxxxxxx>
> # Date 1298281384 0
> # Node ID 44ba31b97a1f0f2628298e285d9eb64ab39eeeac
> # Parent  c529d4d7d79ba3fe69ffb6cbacac5c9e3e5cf246
> xl/libxl: treat vif "ip" fields as a simple string
>
> Currently we parse the string as an IPv4 address but this does not
> handle IPv6. We then format the IP address as a string into xenstore.
> Rather than add further parsing and formatting to support IPv6 simply
> treat the field as a string, which it turns out is all xend does.
>
> Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
>


Acked-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.