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

Re: [PATCH v2] libs/foreignmemory: Implement on NetBSD


  • To: Manuel Bouyer <bouyer@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Wed, 27 Jan 2021 20:15:42 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zs5hlTZLVO/5sJ/SkvUDFkRpO2ve4gNei2qVxDLRWpY=; b=MJIkO4nCZ1CyZ+HPC57oeUfUljP+XWynN34cHzvE2FnFUHXo81xYkUvFE/6RCstwj5IcHJ8eBqPFXKNcjzWIlao5cnlMcZnDwLfjmARhUZoM5hkw9fU2AAPNnowHRfp9yxid4hGTcXt16C+VT6Ov+V1RJ8rQrb3Itf61VFD9uQdqOPDECTlIJLE1UjjJLPgNewfTydWp714CdHhP7FCRptte/s0Xqe6t6CH+xkmCm1YlnLXLysCHiLuK7Svv6Kp0wfMsEeIiwjIwMmC+FLu/7hApmhqgtHdxhgTP7gKH8pj/tOop1sNk4eA7rednxP5lVtot9SbWBSMLWGasulQcWA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ejUto9QdQT0ukJxMhYVsy7aTFp1PCZNli5swmmsg3oh6j8zuyMzi3eealqqdD3asWo+HqoiYsqJT3iz5dFBnakY97M1YsP4h79C/SIPMP0cwMSWF/Wv0lw7X9fp5T3N0ezem9QlwzFU1HQrvVa/D4Jnq/EzTwuPuFEctOaXFf2lvI5XKoR9x/mHISlYOHy+FiulWYOS6ejLRC5k8llj9siGQDoAeW7Q5OpQzbC5rM/7V06CYFCkWYLo+ui1pyYEYGvsmSTQ3NgVHlIjAr123Vdmruds1y072FZJ7RwjPzBZoTRmIJeibp3E3GZezAWzDBa3vlUJ6hJ9MNBgV0MKwfA==
  • Authentication-results: esa5.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: Ian Jackson <iwj@xxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Wed, 27 Jan 2021 20:15:56 +0000
  • Ironport-sdr: 7pHzepfejCo0F5NUOpy8fdM25tnqkd6GggDfkYNz2nUTQW6c7iTvIP8BBhEJHeUTrEtOUAX5ea VNR2iUrJErez31nj5FaAUypSIOj6ATgrjollUT47tQHT+TTeh5WqjhBCPe29uhTyjwMq8R3Lvq ZbXBRFiq4h4MEKPoaWczVA1zzWkUM59M2zh+0AwhinNDNyCZIkty6E8bX5I459/LgaD0OWinfw TNcSuxEqe0mSsx7G+4YPU1QnAAMNRJ7JRSNzOF3UWz7ous/cqbpBPTYutPgxwUdsj353zoyMFi O+c=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 26/01/2021 22:47, Manuel Bouyer wrote:
> Implement foreignmemory interface on NetBSD. The compat interface is now used
> only on __sun__
>
> Signed-off-by: Manuel Bouyer <bouyer@xxxxxxxxxx>

Just as a note.  I've also got a bugfix for this library (as well as
every other level of the stack), which will need an incremental change
in osdep_xenforeignmemory_map_resource().

See
https://xenbits.xen.org/gitweb/?p=people/andrewcoop/xen.git;a=commitdiff;h=3768453802baece85140e579814af9c27f70d99a
for the details, but you may also need to bugfix the kernel side of the
IOCTL if you borrowed the FreeBSD copy to begin with.

What is probably easiest is for this patch to be committed first, then I
will rework the resource size fix() to make the same delta to NetBSD's
copy as Linux/FreeBSD.

~Andrew



 


Rackspace

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