From eafb408629d980dac7db24abe5b8fab2c7a67525 Mon Sep 17 00:00:00 2001 From: John Levon Date: Mon, 23 Jun 2025 10:30:53 +0100 Subject: [PATCH] vfio: add license tag to some files MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Add SPDX-License-Identifier to some files missing it in hw/vfio/. Signed-off-by: John Levon Reviewed-by: Daniel P. Berrangé Link: https://lore.kernel.org/qemu-devel/20250623093053.1495509-1-john.levon@nutanix.com Signed-off-by: Cédric Le Goater --- hw/vfio/Kconfig | 2 ++ hw/vfio/meson.build | 2 ++ hw/vfio/trace-events | 2 ++ hw/vfio/trace.h | 3 +++ 4 files changed, 9 insertions(+) diff --git a/hw/vfio/Kconfig b/hw/vfio/Kconfig index 7cdba0560aa..91d9023b79b 100644 --- a/hw/vfio/Kconfig +++ b/hw/vfio/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + config VFIO bool depends on LINUX diff --git a/hw/vfio/meson.build b/hw/vfio/meson.build index 73d29f925ff..63ea3930760 100644 --- a/hw/vfio/meson.build +++ b/hw/vfio/meson.build @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + vfio_ss = ss.source_set() vfio_ss.add(files( 'listener.c', diff --git a/hw/vfio/trace-events b/hw/vfio/trace-events index f06236f37b7..e1728c4ef64 100644 --- a/hw/vfio/trace-events +++ b/hw/vfio/trace-events @@ -1,4 +1,6 @@ # See docs/devel/tracing.rst for syntax documentation. +# +# SPDX-License-Identifier: GPL-2.0-or-later # pci.c vfio_intx_interrupt(const char *name, char line) " (%s) Pin %c" diff --git a/hw/vfio/trace.h b/hw/vfio/trace.h index 5a343aa59cc..b34b61ddb28 100644 --- a/hw/vfio/trace.h +++ b/hw/vfio/trace.h @@ -1 +1,4 @@ +/* + * SPDX-License-Identifier: GPL-2.0-or-later + */ #include "trace/trace-hw_vfio.h" -- 2.47.2