On 16/11/22 09:43, Klaus Jensen wrote:
From: Klaus Jensen <[email protected]>
Add the 'nmi-i2c' device that emulates an NVMe Management Interface
controller.
Initial support is very basic (Read NMI DS, Configuration Get).
This is based on previously posted code by Padmakar Kalghatgi, Arun
Kumar Agasar and Saurav Kumar.
Signed-off-by: Klaus Jensen <[email protected]>
---
hw/nvme/meson.build | 1 +
hw/nvme/nmi-i2c.c | 381 +++++++++++++++++++++++++++++++++++++++++++
hw/nvme/trace-events | 6 +
3 files changed, 388 insertions(+)
create mode 100644 hw/nvme/nmi-i2c.c
+++ b/hw/nvme/nmi-i2c.c
@@ -0,0 +1,381 @@
+/*
+ * SPDX-License-Identifier: GPL-2.0-only
Just curious, is this restricted license choice on purpose?
+ *
+ * SPDX-FileCopyrightText: Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ *
+ * SPDX-FileContributor: Padmakar Kalghatgi <[email protected]>
+ * SPDX-FileContributor: Arun Kumar Agasar <[email protected]>
+ * SPDX-FileContributor: Saurav Kumar <[email protected]>
+ * SPDX-FileContributor: Klaus Jensen <[email protected]>
+ */