From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49057) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzUzC-0000Hn-49 for qemu-devel@nongnu.org; Mon, 01 Jun 2015 15:02:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzUz7-00028A-NP for qemu-devel@nongnu.org; Mon, 01 Jun 2015 15:02:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46690) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzUz7-000286-HO for qemu-devel@nongnu.org; Mon, 01 Jun 2015 15:02:53 -0400 Message-ID: <556CAC5B.7060709@redhat.com> Date: Mon, 01 Jun 2015 13:02:51 -0600 From: Eric Blake MIME-Version: 1.0 References: <1433184977-20001-1-git-send-email-kallan@suse.com> <1433184977-20001-3-git-send-email-kallan@suse.com> In-Reply-To: <1433184977-20001-3-git-send-email-kallan@suse.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hgQoQflvsm1EVgGeuCnikhKGOP3173lP1" Subject: Re: [Qemu-devel] [PATCH v4 2/2] qga: win32 implementation of qmp_guest_network_get_interfaces List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kirk Allan , qemu-devel@nongnu.org Cc: okrishtal@parallels.com, mdroth@linux.vnet.ibm.com, sw@weilnetz.de This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --hgQoQflvsm1EVgGeuCnikhKGOP3173lP1 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 06/01/2015 12:56 PM, Kirk Allan wrote: > By default, IPv4 prefixes will be derived by matching the address > to those returned by GetAdaptersInfo. IPv6 prefixes can not be > matched this way due to the unpredictable order of entries. >=20 > In Windows Vista/2008 guests and newer, both IPv4 and IPv6 prefixes > can be retrieved from OnLinkPrefixLength. Setting -=E2=80=93extra-cfla= gs s/-=E2=80=93/--/ > in the build configuration to =E2=80=9D- D_WIN32_WINNT-0x600 -DWINVER=3D= 0x600=E2=80=9D s/- D/-D/ and why the Unicode quotes? ASCII "" is good enough. > or greater makes OnLinkPrefixLength available. Setting =E2=80=93-ectra= -cflags s/=E2=80=93-ectra/--extra/ > is not required and if not set, the default approach to get the prefix > will be taken. >=20 > Signed-off-by: Kirk Allan > --- > qga/commands-win32.c | 220 +++++++++++++++++++++++++++++++++++++++++++= +++++++- > 1 file changed, 217 insertions(+), 3 deletions(-) >=20 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --hgQoQflvsm1EVgGeuCnikhKGOP3173lP1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJVbKxbAAoJEKeha0olJ0NqcjwH/jCU9f3U73izaLUhe1vgCTuk 6i7Dd/qnxDg3Ks/pMInE50xB/pg1bDSvu5CUBcr/201GPafu3pVy5nAg98qaEQqA TCYCQrpGTQh/KBGrs/gDhjRCojKvcPv3wHyKHxRIUr6ZAobpuOfeSmqOsPQ/Bqnl QeVxlud/N0RsnqTgaGvkg2IJbAYcQ3b0Q50HPXTqBrVDljsHwYjeGSctnB56VP4z OgSF29mDx984YRerMdnKhO8A2PXHNuc94aow2+TCslSZ8VyNHI5/ucIr0pbqEKeg gizDcUkfoagTrK/L1Xh6GRYYDzm2RFgo77QguC2ibVub/Xj5O6Cl4rGA3bgEafY= =XKQ/ -----END PGP SIGNATURE----- --hgQoQflvsm1EVgGeuCnikhKGOP3173lP1--