Skip to content

Use DiskImage trait for CD-ROM devices too#236

Merged
twvd merged 1 commit intotwvd:masterfrom
mihaip:upstream-cdrom
Feb 7, 2026
Merged

Use DiskImage trait for CD-ROM devices too#236
twvd merged 1 commit intotwvd:masterfrom
mihaip:upstream-cdrom

Conversation

@mihaip
Copy link
Contributor

@mihaip mihaip commented Feb 2, 2026

Extends the approach from #211 to also be used for CD-ROMs, allowing more flexibility and code sharing for disk image loading.

Also includes some small cleanups to FileDiskImage in how block size multiples are enforced (it's only needed at creation time, no need to store it as a field).

@twvd twvd enabled auto-merge (rebase) February 7, 2026 08:06
Extends the approach from twvd#211 to also be used for CD-ROMs, allowing
more flexibility and code sharing for disk image loading.

Also includes some small cleanups to FileDiskImage in how block size
multiples are enforced (it's only needed at creation time, no need to
store it as a field).
@twvd twvd merged commit 08a04a4 into twvd:master Feb 7, 2026
7 checks passed
@mihaip mihaip deleted the upstream-cdrom branch February 18, 2026 16:59
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.

2 participants