Skip to content

OvmfPkg/CloudHv: Activate Qemu's fw_cfg device - #9

Merged
tpressure merged 1 commit into
cyberus-technology:gardenlinuxfrom
scholzp:activate_fw_cfg
Aug 5, 2026
Merged

tpressure merged 1 commit into
cyberus-technology:gardenlinuxfrom
scholzp:activate_fw_cfg

Conversation

@scholzp

@scholzp scholzp commented Jun 11, 2026 •

Copy link
Copy Markdown

Description

We need to enable the fw_cfg device to use in Cloud Hypervisor. We are currently implementing support for the bootorder entry and plan to fully support the fw_cfg device soon.

It is part in solving: https://github.com/cobaltcore-dev/cobaltcore/issues/491

  • Breaking change?
    • Nope
  • Impacts security?
    • Security - Not that I can tell
  • Includes tests?
    • No tests. Or better: test to be found in our libvirt fork.

How This Was Tested

See https://gitlab.cyberus-technology.de/cyberus/cloud/libvirt/-/merge_requests/234

@scholzp scholzp self-assigned this Jun 11, 2026
@scholzp
scholzp marked this pull request as ready for review June 12, 2026 13:11
@scholzp
scholzp requested review from phip1611 and tpressure June 12, 2026 13:11

@phip1611 phip1611 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibNull.inf

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

why did you change the line ordering here?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I actually don't know. I reverted to the old ordering.

@tpressure

Copy link
Copy Markdown

LGTM, one question about the line ordering

In Order to make the `fw_cfg` device available to OVMF and make it
respect the `bootorder` file, we must include the respective driver.

Signed-off-by: Pascal Scholz <pascal.scholz@cyberus-technology.de>
On-behalf-of: SAP pascal.scholz@sap.com
@tpressure
tpressure merged commit ab256fa into cyberus-technology:gardenlinux Aug 5, 2026
1 check passed
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