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

sys/linux/test: Add tests for ARM QEMU emulation #5678

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

marpom
Copy link
Contributor

@marpom marpom commented Jan 16, 2025

When using QEMU full emulation mode, the majority of the system registers (as defined in sys/linux/dev_kvm.txt:kvm_regs_arm64_sys) are not accessible (i.e. only 77/592 trigger kvm_handle_sys_reg()). This series of tests perform MSR accesses to the accessible registers.


Before sending a pull request, please review Contribution Guidelines:
https://github.com/google/syzkaller/blob/master/docs/contributing.md


@marpom marpom changed the title Add MSR tests for QEMU full emulation sys/linux/test: Add MSR tests for ARM QEMU full emulation Jan 16, 2025
@marpom marpom force-pushed the syzos_emul_regs branch 2 times, most recently from 2e184ca to 5418558 Compare January 16, 2025 10:56
@marpom marpom changed the title sys/linux/test: Add MSR tests for ARM QEMU full emulation sys/linux/test: Add tests for ARM QEMU emulation Jan 16, 2025
When using QEMU full emulation mode, the majority of the system
registers (as defined in sys/linux/dev_kvm.txt:kvm_regs_arm64_sys) are
not accessible (i.e. only 77/592 trigger kvm_handle_sys_reg()). This series of
tests perform MSR accesses to the accessible registers.
Copy link
Member

@ramosian-glider ramosian-glider left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@ramosian-glider ramosian-glider added this pull request to the merge queue Jan 16, 2025
Merged via the queue into google:master with commit 4892735 Jan 16, 2025
17 checks 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.

2 participants