Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
libvirt (11.9.0+nvidia3-1) noble; urgency=medium

* NVIDIA: SAUCE: qemu: Use pci_bus to identify multi-smmuv3 model

-- Nathan Chen <nathanc@nvidia.com> Tue, 02 Dec 2025 11:08:48 -0800

libvirt (11.9.0+nvidia2-1) noble; urgency=medium

* Update vEGM series to match RFCv3.
Expand Down
2 changes: 1 addition & 1 deletion src/qemu/qemu_command.c
Original file line number Diff line number Diff line change
Expand Up @@ -7347,7 +7347,7 @@ qemuBuildMachineCommandLine(virCommand *cmd,
if (qemuAppendDomainFeaturesMachineParam(&buf, def, qemuCaps) < 0)
return -1;

if (def->niommus == 1) {
if (def->iommus && def->iommus[0]->pci_bus < 0) {
switch (def->iommus[0]->model) {
case VIR_DOMAIN_IOMMU_MODEL_SMMUV3:
virBufferAddLit(&buf, ",iommu=smmuv3");
Expand Down
2 changes: 1 addition & 1 deletion src/qemu/qemu_postparse.c
Original file line number Diff line number Diff line change
Expand Up @@ -1559,7 +1559,7 @@ qemuDomainDefEnableDefaultFeatures(virDomainDef *def,
* domain already has IOMMU without inremap. This will be fixed in
* qemuDomainIOMMUDefPostParse() but there domain definition can't be
* modified so change it now. */
if (def->iommus && def->niommus == 1 &&
if (def->iommus && def->iommus[0]->pci_bus < 0 &&
(def->iommus[0]->intremap == VIR_TRISTATE_SWITCH_ON ||
qemuDomainNeedsIOMMUWithEIM(def)) &&
def->features[VIR_DOMAIN_FEATURE_IOAPIC] == VIR_DOMAIN_IOAPIC_NONE) {
Expand Down