summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/118/graphic/1360
blob: 0ba0ec50ae01605e26ef2aaecc5c897022d3fe20 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
graphic: 0.934
x86: 0.859
semantic: 0.818
device: 0.795
debug: 0.639
PID: 0.635
architecture: 0.573
network: 0.541
kernel: 0.540
permissions: 0.513
files: 0.507
ppc: 0.466
boot: 0.455
performance: 0.442
socket: 0.439
mistranslation: 0.406
user-level: 0.404
i386: 0.352
register: 0.347
vnc: 0.343
risc-v: 0.237
TCG: 0.233
virtual: 0.230
VMM: 0.206
peripherals: 0.174
arm: 0.170
hypervisor: 0.118
assembly: 0.109
KVM: 0.069

Starting using WSL fails even if the same image is valid when starting qemu directly from windows
Description of problem:
I'm trying to follow a rust tutorial on writing a custom OS in rust. https://os.phil-opp.com/minimal-rust-kernel/
The problem occurse when trying to run qemu from wsl. If I run qemu from a windows command line everything works as expected. 
If I run the os calling qemu (installed on windows) from wsl it fails with 

```
ERROR:../../../block.c:1715:bdrv_open_driver: assertion failed: (is_power_of_2(bs->bl.request_alignment))
Bail out! ERROR:../../../block.c:1715:bdrv_open_driver: assertion failed: (is_power_of_2(bs->bl.request_alignment))
```

I also found an old bug report that seemed to be the same issue in the old issue tracker: https://bugs.launchpad.net/qemu/+bug/1893807
Steps to reproduce:
1. Sample code can be found at `https://github.com/phil-opp/blog_os` branch: `post-02`
2. create wsl environment
3. run `cargo install bootimage` only required on the once to install bootimage
4. run `cargo build`
5. run `cargo bootimage` to create the image
6. `qemu-system-x86_64 -drive format=raw,file=target/x86_64-blog_os/debug/bootimage-blog-os.bin`