Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix regression when bumping Linux to 6.1.88 #37

Merged
merged 1 commit into from
Jul 21, 2024

Conversation

RinHizakura
Copy link
Collaborator

Starting from Linux v6.1.88 commit f31f521, the first bootsec is complete removed and filled with 0xff to reserve for PE header. Since we load the full 512 bytes, those 0xff will break kvm-host. Instead, we only have to take the part of setup header.

@RinHizakura
Copy link
Collaborator Author

Solve #35

src/arch/x86/vm.c Outdated Show resolved Hide resolved
Starting from Linux v6.1.88 commit f31f521, the first bootsec is
complete removed and filled with 0xff to reserve for PE header.
Since we load the full 512 bytes, those 0xff will break kvm-host.
Instead, we only have to take the part of setup header.
@RinHizakura RinHizakura requested a review from jserv July 21, 2024 14:07
@jserv jserv merged commit 848565d into sysprog21:master Jul 21, 2024
3 checks passed
@jserv
Copy link
Contributor

jserv commented Jul 21, 2024

Thank @RinHizakura for contributing!

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