From nobody Fri Nov 04 10:22:55 2022 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N3cC56FqBz4hdf1 for ; Fri, 4 Nov 2022 10:22:57 +0000 (UTC) (envelope-from corvink@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N3cC55m2Zz3djv for ; Fri, 4 Nov 2022 10:22:57 +0000 (UTC) (envelope-from corvink@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667557377; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=d/vokQrvWvogmn354p7AOQnE+X5T7xYAP36+jgBKj24=; b=MTvirUPQTy0/BEDBYeJA9dQQ7+frofX1Nz/LzJYIB8P1JnC9tZWeXKNeT8lYqkaZp0bCT4 IEZKGfEFDwI2qmeoQtHIE8/7rQlnXW9vVFjYDaN9ucHQ95Ur/nu3n9qUMMwPRBATkCMSPe geQrpJ0vx3Nw/sTaMEbyzLBCKvQz0GYpZMYzM1HnJNz+c9MaR92iIejrwbRbckaJ/TEck2 4BTEo8wU5f7DDGBa8WuWlR+Rqg0ITprnjcVlkWvNdvNPY9MKPzihsXwK2A9YwGNwX+m51y IAtkiPjhiEW0Sk3FSkoQoTjT69b2kDSsbAIs2JztDoAFiCM+bWW+ywbUVWryUA== Received: from [192.168.178.48] (unknown [94.134.94.178]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: corvink) by smtp.freebsd.org (Postfix) with ESMTPSA id 4N3cC53NBwz19JD for ; Fri, 4 Nov 2022 10:22:57 +0000 (UTC) (envelope-from corvink@FreeBSD.org) Message-ID: <80881e5b-74d8-3831-85ac-cb8b8d3d0413@FreeBSD.org> Date: Fri, 4 Nov 2022 11:22:55 +0100 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: bhyve nvlist constness bug To: freebsd-virtualization@FreeBSD.org References: <924528458d3b4265a9bf36050c949c3f@beckhoff.com> From: =?UTF-8?Q?Corvin_K=c3=b6hne?= In-Reply-To: <924528458d3b4265a9bf36050c949c3f@beckhoff.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------r7DLUyWjeUWwd1gVv4KqTCoF" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667557377; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=d/vokQrvWvogmn354p7AOQnE+X5T7xYAP36+jgBKj24=; b=bn4ga6x3nJGsKXwWVe7VMIzVkaeYYSGw1y9Czxffq5jHqjjsIbAYbOQZrNXjfFprguVXid WtDW2uSuh6+RlaAE5Z1FVXf6z+jm5p+yjuZY12uyobwHVDVE4L7q5R3uwjpgYb/kEz/kW5 4KPpQO3XR1k8/UsLZAxyKG6ZENuDELLOKR4miqg+n95N0VjVhqPQEsOlILao5e7cPpXnQR /As4s7A/s3CiGZ9yeypAL+t2/dMN41CL7G/HhlDHlnDfRV+Kym7xmaNo8bTl6DU3G2ZunT Cx6xipOobe0BrK5ajnRKcm58R/b9LfqKK4PZa86L4vBY72NjKo93IzAJ4v2CLg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667557377; a=rsa-sha256; cv=none; b=RGdsRTwcrTmnSLgeTOeI91rZF6oUZdaGg4qw7eL9z4czXf1+jnXscBuIW3s1noazIykdgo 0lOWzqFqeXjztIHjMus5A1OBycvdV855/6XoZUUcqH236rtA7VMky8UeJ9NlT+ySzLJhQ4 uWEOpLa0wvbQNsgI1xsdEykzGIfxAWzhr2alvHvQGBWesNZZ9uKDAvQwth97CaE4ZOEBOV +zwougvTXCVgMRHJY+E8YE2ylJ0FMTQ1g7RubDKkYzep5R9vupt7mDdn6SY35fDrvQzXio 0aZKw3mwnN4JE2H3mlol2cbgS1qIMuB69BzDTCBJdIPB7YfHSdBy71LaYTlMsw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------r7DLUyWjeUWwd1gVv4KqTCoF Content-Type: multipart/mixed; boundary="------------AROjg1WlGw903w7VyxgbAqkQ"; protected-headers="v1" From: =?UTF-8?Q?Corvin_K=c3=b6hne?= To: freebsd-virtualization@FreeBSD.org Message-ID: <80881e5b-74d8-3831-85ac-cb8b8d3d0413@FreeBSD.org> Subject: Re: bhyve nvlist constness bug References: <924528458d3b4265a9bf36050c949c3f@beckhoff.com> In-Reply-To: <924528458d3b4265a9bf36050c949c3f@beckhoff.com> --------------AROjg1WlGw903w7VyxgbAqkQ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 PiBPbiAxMC8yMy8yMiAxMToxOCBBTSwgTWFyayBKb2huc3RvbiB3cm90ZToNCj4+IEknbSBn b2luZyB0aHJvdWdoIGNvbXBpbGVyIHdhcm5pbmdzIGluIHRoZSBiaHl2ZSBjb2RlIHd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N0b3JlZCBpbiBpdCBvciB3ZSBoYXZlIHRv IHVzZSBudmxpc3RfdGFrZSwgbW9kaWZ5IHRoZSANCmRhdGEgYW5kIHdyaXRlIGl0IGJhY2sg d2l0aCBudmxpc3RfbW92ZS9udmxpc3RfYWRkLiBUaGlzIHJlcXVpcmVzIHRoYXQgDQp3ZSBw YXRjaCB0aGUgY29uc3VtZXJzIHRvIGZvbGxvdyB0aGVzZSBydWxlcy4NCg0KSSBkb24ndCBr bm93IGhvdyBtdWNoIHdvcmsgd291bGQgYmUgcmVxdWlyZWQgdG8gdHVybiBiaHl2ZSBpbnRv IGEgQysrIA0KcHJvZ3JhbS4gSWYgaXQncyBkb2FibGUsIEkgdm90ZSBmb3IgdGhpcyBhcHBy b2FjaC4NCg0KDQotLSANCkJlc3QgcmVnYXJkcywNCkNvcnZpbg0KDQo= --------------AROjg1WlGw903w7VyxgbAqkQ-- --------------r7DLUyWjeUWwd1gVv4KqTCoF Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEgvRSla3m2t/H2U9G2FTaVjFeAmoFAmNk5/8FAwAAAAAACgkQ2FTaVjFeAmow qQ/+NyFJf03jje9QkE8ISoO4OJ7xFluE8XZbQ9iFYIfWAYctKNUuysR+ZAdVOz3KkVxW0D71fQwD VCDhyQyu9bqqDdsGzqI0EtB71iufcvyg9hEUCF+tcJgLSa+7BjhGyfk9CpKm2ddMkS7DeWne2ofO EU7Ap6o8rqZeYnoWLUv7uusOZ3JelXR9xXpwwiaYnkyqATN/XQm1E8hLKtkjURZJoUffr1Rs3cVY np51MHs4P1rXlWUOshAkVKn3ecWq1TacU9mgKB/XobVB8BtMYkVf4+IAuYGaDVtgYaNeidZZKI9C hC2RqG9jCwhHNIJDavx6HDVBhBepKuFwvfqyhUizwi/n1c40DeQdHtnjtMmmInCjVq+ko0oTDfnt I12gGqkNI4DasS8TrT9kigM0+F0l1W5lzFVViEj8lVkaKfs3crhU3e02yejm5+0+0twvSL7uW6Jx KhkOjmJSk3zLvdp+dCa39jULOhRKL5VwXbH5guc0MmMqk+W1MnrOOwuSYzfrsJvjt5Vc6MLjAcLe QJppSp4lUbJ6Apn+LpLBQUsBIommkDrEpPuKJFFUubDoftM7Hq99HVW7T5FLmKS1xBVaE1878i4F 29z3Y9IqLNwa/1pcoLt55/aqqTDKWrxmJ3SDV/Yib3YiXR8PZKdpW3tamRka2Jl7IhmNeauIgiMq m1M= =JgsY -----END PGP SIGNATURE----- --------------r7DLUyWjeUWwd1gVv4KqTCoF--