summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/105/graphic/2259
blob: eda8fbced61584cbc0f73b75a1e6668f90c1cb7f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
graphic: 0.734
device: 0.725
instruction: 0.629
semantic: 0.472
network: 0.448
vnc: 0.436
socket: 0.412
boot: 0.320
mistranslation: 0.309
other: 0.273
KVM: 0.084
assembly: 0.052

The cause code of a trap changes when qemu is nested in another qemu
Description of problem:
I am studying the feasibility of doing some practical work on RISCV plates. Since I don't have these boards yet, I'm emulating it with qemu. The practice in turn consists of launching with qemu a very small operating system with two tasks that make a series of system calls.

When I run this practice on my host it works correctly, but when I run it on an Ubuntu emulated in riscv with qemu, the cause code for the trap changes (the first bit of the code).

The demo can be found in this repository: https://github.com/Sft570/qemu-bug-report
Steps to reproduce:
1. Clone the repository on the host and run the demo with "make qemu"
2. Emulate with qemu ubuntu in riscv, clone the repository and run the demo with "make qemu".

The error displayed shows the change of the cause code bit. You can analyze its behavior in the trap.c file in the src folder.
Additional information: