1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<think>
Okay, I need to classify this bug report into one of the given categories. Let's start by reading through the problem and understanding what it's about.
The user mentioned that AArch64 emulation in QEMU ignores SPSel=0 when taking or returning from exceptions at EL1 or higher. They provided a bit of background where their toy OS uses preemptive multithreading with threads running at EL1t, and context switching happens at EL1h. The bug causes the stack pointer to be corrupted because it's using the wrong SP_EL1 instead of what should be SPSel=0.
Looking at the possible categories: mistranslation, assembly lowering, device, graphic, socket, network, KVM, boot, vnc, debug, files, permissions, performance, kernel, peripherals, hypervisor, other.
The issue is related to how exceptions are handled and the stack pointer's state when returning from exceptions. Since this involves CPU exception handling in AArch64 architecture emulation, it likely falls under a low-level system call or handling within the QEMU's hypervisor role.
QEMU functions as a hypervisor when running virtual machines with different EL (Exception Levels). So, the problem is about how QEMU emulates exceptions and stack pointer selection at higher exception levels. This seems to be part of the hypervisor's responsibilities, especially since it's dealing with EL1 and above contexts.
Therefore, the category should be 'hypervisor' because it pertains to how the virtual machine monitor handles the underlying architecture's exception mechanisms.
</think>
hypervisor
|