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

Re: [PATCH v2 00/24] xl / libxl: named PCI pass-through devices


  • To: Paul Durrant <paul@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Oleksandr Andrushchenko <Oleksandr_Andrushchenko@xxxxxxxx>
  • Date: Mon, 16 Nov 2020 10:33:53 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.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=bYVC/6PQpUFtmn4wYSMOF5SxTM28JioaejaFgQ+u3is=; b=chQt2PV5CPqAn4BQWeisOnav/knwpvRnlnnTwizlP6cqY2AhN/bgTtTHq+aYs2ARfUyBUrky4a2AGZ0dWqHbFs8nQeqUmkjrTbUbDPV/g19/ZDbTwL65FmiaC2V7oyQKoqKB+SA+bIJXGSOLgbZHq5pzAipTWGvMNHIsnEem1XSQ6BFqDcNAQYWDJM5NV3WUtG4zLscxnMIi7viFBgngbgMPu9PoqXFn8M2RbguzcMWpGvVaLeQhdbQWalJitO0x2DLa4cadUBGduzLQcyXuASkLevEouM5EkFoCa6bZgJELotZX4NYQBFWHMav9EyDjaPPlQ5aHJdhwOLAU9cVVKg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BuJ7HV1T0cHcbLvMzLyCk/O8ZFitgpCJmmPggnotXGqfC8axrM/gQpolRoplmWkS/nqcTN23ameq+kGmDeGH+xz1c55dnIjeb7A9WHgnPaiiTMFpHvw1We8SOADET++Q57rGUGfXRnnGfwTnS1b2oE33NM9T5MLIn67OPd82c6JUkX5Tj4rWrRiQxQy7fDMRAYDSAlZS0e7HwcNMbJhr/R75vet/GnBfi8FWgT1eC5J1VcO/704ktTRgrhGrdtClY8+hA6CvNhqfcjmRrPT/72i4bEororjbgdPUlFt3dYZmlgNmeEYoLAaEhLDRjsL/ukZdCODyzBWqKz+pJRheEQ==
  • Authentication-results: xen.org; dkim=none (message not signed) header.d=none;xen.org; dmarc=none action=none header.from=epam.com;
  • Cc: Paul Durrant <pdurrant@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Christian Lindig <christian.lindig@xxxxxxxxxx>, David Scott <dave@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Nick Rosbrook <rosbrookn@xxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Mon, 16 Nov 2020 10:34:28 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHWvAP66Z/45wYQrE+vwtERf0Yb4Q==
  • Thread-topic: [PATCH v2 00/24] xl / libxl: named PCI pass-through devices

Hi, Paul!

On 11/10/20 7:51 PM, Paul Durrant wrote:
> From: Paul Durrant <pdurrant@xxxxxxxxxx>
>
> Paul Durrant (24):
>    xl / libxl: s/pcidev/pci and remove DEFINE_DEVICE_TYPE_STRUCT_X
>    libxl: use LIBXL_DEFINE_DEVICE_LIST for pci devices
>    libxl: use LIBXL_DEFINE_DEVICE_LIST for nic devices
>    libxl: s/detatched/detached in libxl_pci.c
>    libxl: remove extraneous arguments to do_pci_remove() in libxl_pci.c
>    libxl: stop using aodev->device_config in libxl__device_pci_add()...
>    libxl: generalise 'driver_path' xenstore access functions in
>      libxl_pci.c
>    libxl: remove unnecessary check from libxl__device_pci_add()
>    libxl: remove get_all_assigned_devices() from libxl_pci.c
>    libxl: make sure callers of libxl_device_pci_list() free the list
>      after use
>    libxl: add libxl_device_pci_assignable_list_free()...
>    libxl: use COMPARE_PCI() macro is_pci_in_array()...
>    libxl: add/recover 'rdm_policy' to/from PCI backend in xenstore
>    libxl: Make sure devices added by pci-attach are reflected in the
>      config
>    docs/man: extract documentation of PCI_SPEC_STRING from the xl.cfg
>      manpage...
>    docs/man: improve documentation of PCI_SPEC_STRING...
>    docs/man: fix xl(1) documentation for 'pci' operations
>    libxl: introduce 'libxl_pci_bdf' in the idl...
>    libxlu: introduce xlu_pci_parse_spec_string()
>    libxl: modify
>      libxl_device_pci_assignable_add/remove/list/list_free()...
>    docs/man: modify xl(1) in preparation for naming of assignable devices
>    xl / libxl: support naming of assignable devices
>    docs/man: modify xl-pci-configuration(5) to add 'name' field to
>      PCI_SPEC_STRING
>    xl / libxl: support 'xl pci-attach/detach' by name
>
>   docs/man/xl-pci-configuration.5.pod  |  218 ++++++
>   docs/man/xl.1.pod.in                 |   39 +-
>   docs/man/xl.cfg.5.pod.in             |   68 +-
>   tools/golang/xenlight/helpers.gen.go |   77 +-
>   tools/golang/xenlight/types.gen.go   |    8 +-
>   tools/include/libxl.h                |   67 +-
>   tools/include/libxlutil.h            |    8 +-
>   tools/libs/light/libxl_create.c      |    6 +-
>   tools/libs/light/libxl_dm.c          |   18 +-
>   tools/libs/light/libxl_internal.h    |   53 +-
>   tools/libs/light/libxl_nic.c         |   19 +-
>   tools/libs/light/libxl_pci.c         | 1030 ++++++++++++++------------
>   tools/libs/light/libxl_types.idl     |   19 +-
>   tools/libs/util/libxlu_pci.c         |  379 +++++-----
>   tools/ocaml/libs/xl/xenlight_stubs.c |   19 +-
>   tools/xl/xl_cmdtable.c               |   16 +-
>   tools/xl/xl_parse.c                  |   28 +-
>   tools/xl/xl_pci.c                    |  159 ++--
>   tools/xl/xl_sxp.c                    |   12 +-
>   19 files changed, 1308 insertions(+), 935 deletions(-)
>   create mode 100644 docs/man/xl-pci-configuration.5.pod

Patches 1-18:

Reviewed-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@xxxxxxxx>

(I'll probably review more later as time allows).


I would like to ask the respective maintainers to look at this series as, in 
the light of the

upcoming changes for ARM PCI passthrough, these changes greatly help in 
adapting the

code for ARM

Thank you,

Oleksandr

> ---
> Cc: Anthony PERARD <anthony.perard@xxxxxxxxxx>
> Cc: Christian Lindig <christian.lindig@xxxxxxxxxx>
> Cc: David Scott <dave@xxxxxxxxxx>
> Cc: George Dunlap <george.dunlap@xxxxxxxxxx>
> Cc: Ian Jackson <iwj@xxxxxxxxxxxxxx>
> Cc: Nick Rosbrook <rosbrookn@xxxxxxxxxxxx>
> Cc: Wei Liu <wl@xxxxxxx>

 


Rackspace

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