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

Re: [PATCH V9 1/3] libxl: Add support for generic virtio device


  • To: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 13 Dec 2022 12:14:50 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.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=vzlJB/qobAiV2EEHX7ZW3jZAgTsL1ylUJznVow4Zubw=; b=j7WNs6HrdiqOd6f7J+vshleDvnpZ0OjicG/g305R1uGVfuHOMboo+zzW24wE4UJE287zm6ZXH6EUVvtZRfzCaNDLaz50PiCiyQkEJqaJyNR8h1GWvwul1MKz6hqx2pkCW/RiVp+BlzTXsYoRkG6C+J4zOT1USpn3elPE8WArRq4qsvyieRLfqgQSiqJ/jOa/c8LP4ZRUv9PYG4ndWuWlKDzg1Tr6WR8fhFvLQ8umiKo9GuEfLBLp8gSao8ClfCYPapTyUNb253dg1hsd5UV8r25g/6Rhxl1QdRX2VmMTXhobpDDnRRRy773AMcZtWxZO+A1C4VNlOREJQtJKPKyfEQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T6vxxdlhkE27Er1BAB9H4pBRlugYVMQ9fcvWv5SdpEUPPqmPo0iANtFFc6L1DMIvfh1DMjj9/Y0s0GVepwjG/kk+077WiBV2FXphBW7CdrF7zX94xACK8hdLMterIV0PDotQFwaimjMS6lFP68f6W4TDU8IdWHkxCIv4qoc7gkuTc5gzTABSxfANAZzR9fbz9MCOqCb/V0CdxTAgDEsO4jtGGg5oQdFcwggFz6ylbYcW74rFmzlAtp7WGO+rOKI9cH6FOx1guO1KxymvxDb2iyv/ra2aWpxUzutIj3f82XHu4jeo7l/Q3RkmUa0bNcarnEq8FGsbA/HoJeJ17PWbuA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Vincent Guittot <vincent.guittot@xxxxxxxxxx>, stratos-dev@xxxxxxxxxxxxxxxxxxx, Alex Bennée <alex.bennee@xxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxx>, Mathieu Poirier <mathieu.poirier@xxxxxxxxxx>, Mike Holmes <mike.holmes@xxxxxxxxxx>, Oleksandr Tyshchenko <olekstysh@xxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx>, xen-devel@xxxxxxxxxxxxx, Juergen Gross <jgross@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • Delivery-date: Tue, 13 Dec 2022 11:15:05 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 13.12.2022 11:08, Viresh Kumar wrote:
> This patch adds basic support for configuring and assisting generic
> Virtio backends, which could run in any domain.
> 
> An example of domain configuration for mmio based Virtio I2C device is:
> virtio = ["type=virtio,device22,transport=mmio"]
> 
> To make this work on Arm, allocate Virtio MMIO params (IRQ and memory
> region) and pass them to the backend and update guest device-tree to
> create a DT node for the Virtio devices.
> 
> Add special support for I2C and GPIO devices, which require the
> "compatible" DT property to be set, among other device specific
> properties. Support for generic virtio devices is also added, which just
> need a MMIO node but not any special DT properties, for such devices the
> user needs to pass "virtio,device" in the "type" string.
> 
> The parsing of generic virtio device configurations will be done in a
> separate commit.
> 
> Reviewed-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
> Reviewed-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx>
> Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>

Please can you arrange tags in time order, which would mean R-b past any
S-o-b? I'll try to remember to swap them while committing, but in the
future please save committers from needing to do so.

Jan



 


Rackspace

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