Skip to content

qemu: use 2048 MiB on all architectures#4467

Merged
dustymabe merged 1 commit intocoreos:mainfrom
dustymabe:dusty-kola-qemu-memory
Mar 10, 2026
Merged

qemu: use 2048 MiB on all architectures#4467
dustymabe merged 1 commit intocoreos:mainfrom
dustymabe:dusty-kola-qemu-memory

Conversation

@dustymabe
Copy link
Copy Markdown
Member

The alternatives test is now failing because rpm-ostree gets OOM killed because we're now including the coreos-pool repo when layering iptables-legacy [1].

Let's just move x86_64 to the default of 2048 that we're using everywhere else too.

[1] coreos/fedora-coreos-config#4038

The alternatives test is now failing because rpm-ostree gets OOM
killed because we're now including the coreos-pool repo when layering
iptables-legacy [1].

Let's just move x86_64 to the default of 2048 that we're using
everywhere else too.

[1] coreos/fedora-coreos-config#4038
@dustymabe dustymabe enabled auto-merge (rebase) March 4, 2026 16:45
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request sets a uniform QEMU memory default of 2048 MiB for all architectures to resolve an out-of-memory issue. I've added one suggestion to document the new default value. As a follow-up, consider updating the comment for MemoryMiB in the QemuBuilder struct (line 494), which is now outdated.

Note: Security Review did not run due to the size of the PR.

Comment thread mantle/platform/qemu.go
Copy link
Copy Markdown
Member

@jbtrystram jbtrystram left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Copy link
Copy Markdown
Member

@marmijo marmijo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@keszybz
Copy link
Copy Markdown

keszybz commented Mar 4, 2026

LGTM too, FWIW.

@dustymabe dustymabe merged commit 0fde650 into coreos:main Mar 10, 2026
6 checks passed
@dustymabe dustymabe deleted the dusty-kola-qemu-memory branch March 10, 2026 17:29
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.

4 participants