Skip to content

NVIDIA: [Packaging] Fix amd64 microvm configure failure for QEMU 11.0 - #30

Closed
JiandiAnNVIDIA wants to merge 1 commit into
NVIDIA:nvidia_stable-11.0from
JiandiAnNVIDIA:microvm-devices-pkg-fix
Closed

NVIDIA: [Packaging] Fix amd64 microvm configure failure for QEMU 11.0#30
JiandiAnNVIDIA wants to merge 1 commit into
NVIDIA:nvidia_stable-11.0from
JiandiAnNVIDIA:microvm-devices-pkg-fix

Conversation

@JiandiAnNVIDIA

Copy link
Copy Markdown
Collaborator

Summary

  • Update debian/microvm-devices.mak so the amd64-only microvm flavour configures cleanly against QEMU 11.0 Kconfig.
  • Remove stale options carried over from Ubuntu noble / QEMU 8.2 packaging that contradict upstream Kconfig after virtio memory devices became PCI-only.
  • Cherry-pick of the nvidia_stable-10.1 packaging fix (7d1f6d12346228e15a435d98edf80f61b5e90a81).

Problem

The amd64 PPA/dpkg-buildpackage build fails during b/microvm/configured with:

meson.build: ERROR: minikconf.py ... failed with status 1
KconfigDataError: contradiction between clauses when setting VIRTIO_MEM

…ility

Remove CONFIG options that are incompatible with QEMU 11.0's Kconfig:
- CONFIG_Q35=y: conflicts with CONFIG_PCI_DEVICES=n
- CONFIG_VIRTIO_MEM=y: requires VIRTIO_MD_SUPPORTED (not available for microvm)
- CONFIG_VIRTIO_PMEM=y: requires VIRTIO_MD_SUPPORTED (not available for microvm)

This brings the configuration in line with Ubuntu's QEMU 11.0 packaging
and fixes the amd64 PPA build failure where minikconf.py was failing with
'contradiction between clauses' errors.

Signed-off-by: Matthew R. Ochs <mochs@nvidia.com>
(cherry-picked from commit 7d1f6d1 https://github.com/NVIDIA/QEMU nvidia_stable-10.1)
[jan: Changed the commit message reference of QEMU 10.1 to QEMU 11.0]
Signed-off-by: Jiandi An <jan@nvidia.com>
@nvmochs

nvmochs commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

Acked-by: Matthew R. Ochs <mochs@nvidia.com>

@NathanChenNVIDIA

Copy link
Copy Markdown
Collaborator

Acked-by: Nathan Chen <nathanc@nvidia.com>

@JiandiAnNVIDIA

Copy link
Copy Markdown
Collaborator Author

Merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants