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

[VirtIO] Support for various devices in Xen


  • To: Stefano Stabellini <sstabellini@xxxxxxxxxx>, "viresh.kumar@xxxxxxxxxx" <viresh.kumar@xxxxxxxxxx>, "olekstysh@xxxxxxxxx" <olekstysh@xxxxxxxxx>, Julien Grall <julien@xxxxxxx>
  • From: "Andrei Cherechesu (OSS)" <andrei.cherechesu@xxxxxxxxxxx>
  • Date: Thu, 11 Jan 2024 15:32:53 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gjgYrFIhS+4ANyNJYVr8jul6ptiDVCYdy2ncXhUBTwg=; b=FBA2DeURoiqt546Dm0m4v0s2/aUcFk0b4nrey5Lxqn1Md0Ylm43IaljnY4DcSrZfUxDLpe7CzIMZ+buq2OSZRDghSq1tipGIC61kiFfzAafMA3rvWfnPNpGJ4IMVVNwSZhmdzQ58ugV5n0BAzk5BvY2Rr+ZgUNoOJ5sH0OPpRIOxMU1hZ/JK4E3oLsERV5TS5L8BfP76I8M924TjBLmj7CyzvUTjViXvvB/rKlWJkR3i0gJuUydFmWWTGiNqe3i6eD/kw6qOnbAsv6C0lrk2imITXPy+pjAFm3gY6g441/M+EGgGfLjJA7Vg2FGTSt6mGli/OmG5QmzO7FbW+P/ttg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ItZV8XfifJMrD+q3v+x4blQvAM+ZwbmJAY+Sn/bnXn1LGnvJInx+KvFRI7Pj1VMl/k1nwG0eAPvfoIW7jyR8KgTTpQB+UJCQrrmnpdobXRcUbxl/8c/bcAOtbJRNcXmvyFhlL557kZ2iLBXdbBk0VmaBYU/c5kCMRo/d1uHzzNTktHYmjOExnND8nH1lJULr6+TxZ3BZRGGoSD+pu2kcfXd6JT0ltlcpdCh3icUpB9on4iTzYvrkGOtd3Py7F4XGUL4jIDUG4nRGZA0L8CPdQltnBqv2sj/20ueBVFVoDRIFN7459g55lrQsF8pWQqBDPuS+1NSNeKT2ypEWG09Q5g==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Andrei Cherechesu <andrei.cherechesu@xxxxxxx>
  • Delivery-date: Thu, 11 Jan 2024 15:33:05 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AdpEoiWSqd5fkUgSQU6tkjSpwpXAbQ==
  • Thread-topic: [VirtIO] Support for various devices in Xen

Hello,

As I've mentioned in previous discussion threads in the xen-devel
community, we are running Xen 4.17 (uprev to 4.18 in progress) on NXP
S32G automotive processors (Cortex-A53 cores) and we wanted to know more
about the support for various VirtIO device types in Xen.

In the Xen 4.17 release notes, the VirtIO standalone backends mentioned
as supported and tested are: virtio-disk, virtio-net, virtio-i2c and
virtio-gpio.

However, we've only managed to successfully set up and try some
use-cases with the virtio-disk standalone backend [0] (which Olexandr
provided) based on the virtio-mmio transport.

As such, we have a few questions, which we haven't been able to figure
out from the mailing list discussions and/or code:
    1. Are there any plans for the virtio-disk repo to have a stable
    version? Is it going to be long-term hosted and maintained in the
    xen-troops github repo? Or was it just an one-time PoC implementation

    and the strategy for future VirtIO devices will be based on a more generic

    approach (i.e., without need for a specific standalone app)?


    2. With regards to the other backends, we want to try out and provide PV

    networking to a DomU based on virtio-net, but we haven't found any available

    resources for it (e.g., the standalone backend implementation if needed for

    control plane, configuration examples, presentations, demos, docs). Does it

    rely on the QEMU virtio-net or vhost implementation? Are there any examples

    on how to set it up? Any required Xen/Linux Kernel/QEMU versions?


    3. What other VirtIO device types are there planned to be supported in Xen?

    I'm supposing libxl will also need changes to accomodate new configuration

    parameters for each of them. Or is there something I'm missing?


    4. Also, while we're at it, are there any plans regarding SCMI
    awareness for Xen (e.g., SCMI Mediator - where the RFC thread from 2022

    seems discontinued)? Or is the preferred approach for sharing SCMI access

    to guests through virtio-scmi?

Thank you very much for the support, once again, and we're also looking
forward to the progress on the rust-vmm initiative.

Regards,
Andrei Cherechesu,
NXP Semiconductors

[0] https://github.com/xen-troops/virtio-disk


 


Rackspace

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