Bug 2019723 - aarch64: Reduce the size of the emulated flash devices
Summary: aarch64: Reduce the size of the emulated flash devices
Keywords:
Status: CLOSED DUPLICATE of bug 2131254
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: qemu-kvm
Version: 9.0
Hardware: aarch64
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: Zhenyu Zhang
URL:
Whiteboard:
Depends On:
Blocks: 1924294
TreeView+ depends on / blocked
 
Reported: 2021-11-03 08:54 UTC by Andrew Jones
Modified: 2023-03-01 09:09 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-01 09:08:52 UTC
Type: Feature Request
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-101608 0 None None None 2021-11-03 09:33:18 UTC

Description Andrew Jones 2021-11-03 08:54:33 UTC
Description of problem:

In order to better support "minivm" use cases, e.g. for kubevirt, we should consider reducing the emulated flash device sizes. The flash devices consume much more memory than necessary as they get fully mapped into the guest memory, whether the space is needed or not. Currently less than 1 MB is needed, but 128 MB (64 MB for edk2 and 64 MB for varstore) are mapped.

Shrinking the size will have machine type compatibility issues and may introduce issues with later expansion, so we need to consider this carefully. Gerd Hoffmann suggested that we shrinking may be OK as long we we maintain the same offsets for the devices in the memory map, but it needs more investigation.

Comment 4 Eric Auger 2023-03-01 08:22:30 UTC
This looks like a duplicate of BZ 2131254 ("Remove the necessity to pad the edk2 images to 64MB"). Gerd, can we close this BZ as dup?

Comment 5 Gerd Hoffmann 2023-03-01 09:08:52 UTC
(In reply to Eric Auger from comment #4)
> This looks like a duplicate of BZ 2131254 ("Remove the necessity to pad the
> edk2 images to 64MB"). Gerd, can we close this BZ as dup?

Yes.

*** This bug has been marked as a duplicate of bug 2131254 ***


Note You need to log in before you can comment on or make changes to this bug.