Skip to content

Conversation

@dpsmith
Copy link
Member

@dpsmith dpsmith commented Apr 22, 2024

This PR converts the UIVM over to being a fully partitioned disk to enable the UIVM to be ran as HVM.

Stop using the pseudo partition disk mounting and use full disk
mounting.  pseudo-partitions are not compatible with HVMs, so this is a
necessary step.  uivm config changes are also needed.
uivm needs to be able to read partitions to be able to boot from a
partitioned disk.
uivm could just use the default from openxt-image-disk.bbclass, but that
doesn't take affect.  read-only-rootfs does APPEND_append = " ro" which
ends up taking precedence of the APPEND ?= setting.  Add an explicit
setting to avoid these schenanigans.
Use the partitioned disk so we can boot as an HVM.
@dpsmith dpsmith requested a review from shahs-ais July 29, 2025 17:06
Copy link
Contributor

@crogers1 crogers1 left a comment

Choose a reason for hiding this comment

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

UIVM is currently PVH, I would think that's preferable to HVM in most cases for a guest like the UIVM. Would this be a convenience change to support HVM UIVM in a downstream version?

Copy link
Contributor

@shahs-ais shahs-ais left a comment

Choose a reason for hiding this comment

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

Looks OK to me, also curious about the motivation for the change (assume this doesn't affect PVH mode and just adds an option for HVM if needed down the line?)

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