Hi Daniel,
On Mon, Sep 08, 2025 at 06:02:20PM +0100, Daniel P. Berrangé wrote:
> On Sat, Sep 06, 2025 at 03:09:00PM +0200, Andrea Righi wrote:
> > Signed-off-by: Andrea Righi
> > ---
> > src/qemu/qemu_command.c | 45 +
> > 1 file changed, 45 insertions(+)
On Mon, Sep 08, 2025 at 06:19:38PM +0100, Daniel P. Berrangé wrote:
> On Mon, Sep 08, 2025 at 07:15:18PM +0200, Andrea Righi wrote:
> > Hi Daniel,
> >
> > On Mon, Sep 08, 2025 at 06:02:20PM +0100, Daniel P. Berrangé wrote:
> > > On Sat, Sep 06, 2025 at 03:09:00PM +0200, Andrea Righi wrote:
> > > >
Signed-off-by: Andrea Righi
---
.../acpi-generic-initiator.x86_64-latest.args | 55
.../acpi-generic-initiator.x86_64-latest.xml | 63 +++
.../acpi-generic-initiator.xml| 63 +++
tests/qemuxmlconftest.c | 1 +
Signed-off-by: Andrea Righi
---
src/qemu/qemu_command.c | 45 +
1 file changed, 45 insertions(+)
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index 3f9b583985..9ca0847789 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
Hi Daniel,
On Wed, Aug 27, 2025 at 02:17:43PM +0100, Daniel P. Berrangé wrote:
> On Wed, Aug 06, 2025 at 02:42:10PM +0200, Andrea Righi via Devel wrote:
> > = Overview =
> >
> > This patch set introduces support for acpi-generic-initiator devices,
> > supported by
= Overview =
This patch set introduces support for acpi-generic-initiator devices,
supported by QEMU [1].
The acpi-generic-initiator object is required to support Multi-Instance GPU
(MIG) configurations on NVIDIA GPUs [2]. MIG enables partitioning of GPU
resources into multiple isolated instances
Signed-off-by: Andrea Righi
---
NEWS.rst | 10 ++
1 file changed, 10 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index 9577be0213..bc894bd996 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -17,6 +17,16 @@ v11.8.0 (unreleased)
* **New features**
+ * qemu: Add support for NUMA affinity o
Add documentation for the new element in hostdev,
which allows associating devices with ACPI Generic Initiator objects in
QEMU.
A typical use case is NVIDIA Multi-Instance GPU (MIG), where a physical
GPU is partitioned into multiple isolated instances, each tied to one or
more virtual NUMA nodes.
Signed-off-by: Andrea Righi
---
src/qemu/qemu_validate.c | 8
1 file changed, 8 insertions(+)
diff --git a/src/qemu/qemu_validate.c b/src/qemu/qemu_validate.c
index adba3e4a89..c7ecb467a3 100644
--- a/src/qemu/qemu_validate.c
+++ b/src/qemu/qemu_validate.c
@@ -1717,6 +1717,14 @@ qemuVal
This enables partitioning of PCI devices into multiple isolated
instances, each requiring a dedicated virtual NUMA node definition.
Link: https://mail.gnu.org/archive/html/qemu-arm/2024-03/msg00358.html
Signed-off-by: Andrea Righi
---
src/conf/device_conf.h| 3 +++
src/conf/domain_c
Allow to define NUMA nodes without memory or CPUs assigned to properly
support the new acpi-generic-initiator device.
This is required because the NUMA nodes passed to the
acpi-generic-initiator object must be independent and not be shared with
other resources, such as CPU or memory.
Signed-off-b
This capability tracks whether QEMU supports the acpi-generic-initiator
object type.
This object has been introduced in QEMU with the commit:
b64b7ed8bb ("qom: new object to associate device to NUMA node").
Signed-off-by: Andrea Righi
---
src/qemu/qemu_capabilities.c
= Overview =
This patch set introduces support for acpi-generic-initiator devices,
supported by QEMU [1].
The acpi-generic-initiator object is required to support Multi-Instance GPU
(MIG) configurations on NVIDIA GPUs [2]. MIG enables partitioning of GPU
resources into multiple isolated instances
Add support to the qemu driver to generate the proper command line for
the acpi-generic-initiator definitions.
Signed-off-by: Andrea Righi
---
src/qemu/qemu_command.c | 30 +++
.../acpi-generic-initiator.x86_64-latest.args | 8 +
2 files changed, 38 ins
From: Michal Privoznik
Signed-off-by: Michal Privoznik
---
src/qemu/qemu_validate.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/src/qemu/qemu_validate.c b/src/qemu/qemu_validate.c
index 5ead231dd0..0aaf40f971 100644
--- a/src/qemu/qemu_validate.c
+++ b/src/qemu/qemu_v
This capability tracks whether QEMU supports the acpi-generic-initiator
object type.
This object has been introduced in QEMU with the commit:
b64b7ed8bb ("qom: new object to associate device to NUMA node").
Signed-off-by: Andrea Righi
---
src/qemu/qemu_capabilities.c
Signed-off-by: Andrea Righi
---
NEWS.rst | 8
1 file changed, 8 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index 435760e797..36388a736b 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -17,6 +17,14 @@ v11.7.0 (unreleased)
* **New features**
+ * qemu: Introduce acpi-generic-initiator de
Introduce apci-generic-initiator device to the domain XML.
Example definition:
dev0
1
This enables partitioning of PCI resources into multiple isolated
instances, each requiring a dedicated NUMA node definition, that can be
represented by the acpi-generic-initiator object.
Link: h
Allow to define NUMA nodes without memory or CPUs assigned to properly
support the new acpi-generic-initiator device.
This is required because the NUMA nodes passed to the
acpi-generic-initiator object must be independent and not be shared with
other resources, such as CPU or memory.
Signed-off-b
Hi Michal,
On Mon, Jun 23, 2025 at 10:05:20AM +0200, Michal Prívozník wrote:
...
>
> Code-wise this is okay. I've merged some patches together and made small
> changes. You can find them here:
>
> https://gitlab.com/MichalPrivoznik/libvirt/-/compare/master...review_acpi_initiator?from_project_id
Signed-off-by: Andrea Righi
---
NEWS.rst | 8
1 file changed, 8 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index b97f86ffb6..fed249744d 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -24,6 +24,14 @@ v11.5.0 (unreleased)
* **New features**
+ * qemu: Introduce acpi-generic-initiator de
Signed-off-by: Andrea Righi
---
docs/formatdomain.rst | 36
1 file changed, 36 insertions(+)
diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst
index 1acf203d18..17c7ca2ae3 100644
--- a/docs/formatdomain.rst
+++ b/docs/formatdomain.rst
@@ -9093,6 +909
Implement a sub-test in qemuxmlconftest that uses acpi-generic-initiator
to link a PCI device with multiple NUMA node definitions (without any
memory/cpu resource assigned).
Then translate the VM definition to the corresponding qemu command line
that associates the hostdev with the NUMA nodes.
Si
Add support to the qemu driver to generate the proper command line for
the acpi-generic-initiator definitions.
Signed-off-by: Andrea Righi
---
src/qemu/qemu_command.c | 28
1 file changed, 28 insertions(+)
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command
This capability tracks whether QEMU supports the acpi-generic-initiator
object type.
This object has been introduced in QEMU with the commit:
b64b7ed8bb ("qom: new object to associate device to NUMA node").
Signed-off-by: Andrea Righi
---
src/qemu/qemu_capabilities.c
Introduce apci-generic-initiator device to the domain XML.
Example definition:
dev0
1
This enables partitioning of PCI resources into multiple isolated
instances, each requiring a dedicated NUMA node definition, that can be
represented by the acpi-generic-initiator object.
Signed-
Allow to define NUMA nodes without memory or CPUs assigned to properly
support the new acpi-generic-initiator device.
This is required because the NUMA nodes passed to the
acpi-generic-initiator object must be independent and not be shared with
other resources, such as CPU or memory.
Signed-off-b
Introduce the definition of a new acpi-generic-initiator object that can
be used to link a PCI device with multiple NUMA nodes.
Link: https://mail.gnu.org/archive/html/qemu-arm/2024-03/msg00358.html
Signed-off-by: Andrea Righi
---
src/conf/domain_conf.c| 26 +
= Overview =
This patch set introduces support for acpi-generic-initiator devices,
supported by QEMU [1].
The acpi-generic-initiator object is required to support Multi-Instance GPU
(MIG) configurations on NVIDIA GPUs [2]. MIG enables partitioning of GPU
resources into multiple isolated instances
Hi Michal,
On Fri, May 09, 2025 at 03:30:21PM +0200, Michal Prívozník wrote:
> On 4/2/25 10:25, Andrea Righi via Devel wrote:
> > = Overview =
> >
> > This patch set introduces support for acpi-generic-initiator devices,
> > supported by QEMU [1].
> >
> &g
= Overview =
This patch set introduces support for acpi-generic-initiator devices,
supported by QEMU [1].
The acpi-generic-initiator object is required to support Multi-Instance GPU
(MIG) configurations on NVIDIA GPUs [2]. MIG enables partitioning of GPU
resources into multiple isolated instances
Introduce apci-generic-initiator device to the domain XML.
Example definition:
dev0
1
This enables partitioning of PCI resources into multiple isolated
instances, each requiring a dedicated NUMA node definition, that can be
represented by the acpi-generic-initiator object.
Si
Introduce the definition of a new acpi-generic-initiator object that can
be used to link a PCI device with multiple NUMA nodes.
Link: https://mail.gnu.org/archive/html/qemu-arm/2024-03/msg00358.html
Signed-off-by: Andrea Righi
---
src/conf/domain_conf.c| 26 +
Implement a sub-test in qemuxmlconftest that uses acpi-generic-initiator
to link a PCI device with multiple NUMA node definitions (without any
memory/cpu resource assigned).
Then translate the VM definition to the corresponding qemu command line
that associates the hostdev with the NUMA nodes.
Si
Add support to the qemu driver to generate the proper command line for
the acpi-generic-initiator definitions.
Signed-off-by: Andrea Righi
---
src/qemu/qemu_command.c | 28
1 file changed, 28 insertions(+)
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command
This capability tracks whether QEMU supports the acpi-generic-initiator
object type.
This object has been introduced in QEMU with the commit:
b64b7ed8bb ("qom: new object to associate device to NUMA node").
Signed-off-by: Andrea Righi
---
src/qemu/qemu_capabilities.c
Allow to define NUMA nodes without memory or CPUs assigned to properly
support the new acpi-generic-initiator device.
This is required because the NUMA nodes passed to the
acpi-generic-initiator object must be independent and not be shared with
other resources, such as CPU or memory.
Signed-off-b
Hi Peter,
On Fri, Mar 07, 2025 at 01:45:01PM +0100, Peter Krempa wrote:
> On Fri, Mar 07, 2025 at 08:13:51 +0100, Andrea Righi via Devel wrote:
> > Gentle ping. Is there any feedback, comment, suggestion about this?
>
> I have a couple points about coding style and some gene
Gentle ping. Is there any feedback, comment, suggestion about this?
Thanks,
-Andrea
= Overview =
This patch set introduces support for acpi-generic-initiator devices,
supported by QEMU [1].
The acpi-generic-initiator object is required to support Multi-Instance GPU
(MIG) configurations on NVIDIA GPUs [2]. MIG enables partitioning of GPU
resources into multiple isolated instances
Implement a sub-test in qemuxmlconftest that uses acpi-generic-initiator
to link a PCI device with multiple NUMA node definitions (without any
memory/cpu resource assigned).
Then translate the VM definition to the corresponding qemu command line
that associates the hostdev with the NUMA nodes.
Si
Implement a sub-test in qemuxmlconftest that uses acpi-generic-initiator
to link a PCI device with multiple NUMA node definitions (without any
memory/cpu resource assigned).
Then translate the VM definition to the corresponding qemu command line
that associates the hostdev with the NUMA nodes.
Si
Add support to the qemu driver to generate the proper command line for
the acpi-generic-initiator definitions.
Signed-off-by: Andrea Righi
---
src/qemu/qemu_command.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
This capability tracks whether QEMU supports the acpi-generic-initiator
object type.
This object has been introduced in QEMU with the commit:
b64b7ed8bb ("qom: new object to associate device to NUMA node").
Signed-off-by: Andrea Righi
---
src/qemu/qemu_capabilities.c | 2 ++
Allow to define NUMA nodes without memory or CPUs assigned to properly
support the new acpi-generic-initiator device.
This is required because the NUMA nodes passed to the
acpi-generic-initiator object must be independent and not be shared with
other resources, such as CPU or memory.
Signed-off-b
Introduce apci-generic-initiator device to the domain XML.
Example definition:
dev0
1
This enables partitioning of PCI resources into multiple isolated
instances, each requiring a dedicated NUMA node definition, that can be
represented by the acpi-generic-initiator object.
Si
Introduce the definition of a new acpi-generic-initiator object that can
be used to link a PCI device with multiple NUMA nodes.
Link: https://mail.gnu.org/archive/html/qemu-arm/2024-03/msg00358.html
Signed-off-by: Andrea Righi
---
src/conf/domain_conf.c| 25 +
Hi Peter,
On Wed, Feb 12, 2025 at 10:05:08AM +0100, Peter Krempa wrote:
> On Wed, Feb 12, 2025 at 07:26:09 +0100, Andrea Righi via Devel wrote:
> > Allow to define new acpi-generic-initiator objects to link a PCI device
> > with multiple NUMA nodes.
> >
> > Link: h
Allow to define new acpi-generic-initiator objects to link a PCI device
with multiple NUMA nodes.
Link: https://mail.gnu.org/archive/html/qemu-arm/2024-03/msg00358.html
Signed-off-by: Andrea Righi
---
src/ch/ch_domain.c| 1 +
src/conf/domain_conf.c| 153
Allow to define NUMA nodes without memory or CPUs assigned to properly
support the new acpi-generic-initiator device.
This is required because the NUMA nodes passed to the
acpi-generic-initiator object must be independent and not be shared with
other resources, such as CPU or memory.
Signed-off-b
= Overview =
This patch set introduces support for acpi-generic-initiator devices,
supported by QEMU [1].
The acpi-generic-initiator object is required to support Multi-Instance GPU
(MIG) configurations on NVIDIA GPUs [2]. MIG enables partitioning of GPU
resources into multiple isolated instances
51 matches
Mail list logo