summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/1360.toml
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/issues/target_missing/host_missing/accel_missing/1360.toml')
-rw-r--r--gitlab/issues/target_missing/host_missing/accel_missing/1360.toml29
1 files changed, 29 insertions, 0 deletions
diff --git a/gitlab/issues/target_missing/host_missing/accel_missing/1360.toml b/gitlab/issues/target_missing/host_missing/accel_missing/1360.toml
new file mode 100644
index 00000000..7e6b3bff
--- /dev/null
+++ b/gitlab/issues/target_missing/host_missing/accel_missing/1360.toml
@@ -0,0 +1,29 @@
+id = 1360
+title = "Starting using WSL fails even if the same image is valid when starting qemu directly from windows"
+state = "opened"
+created_at = "2022-12-09T02:18:52.578Z"
+closed_at = "n/a"
+labels = ["Storage"]
+url = "https://gitlab.com/qemu-project/qemu/-/issues/1360"
+host-os = "Windows 11 Home 21H2, Ubuntu 20.04.4 LTS on Windows 10"
+host-arch = "x86"
+qemu-version = "QEMU emulator version 7.1.94 (v7.2.0-rc4-11947-g2dabd50cfb-dirty)"
+guest-os = "n/a"
+guest-arch = "n/a"
+description = """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"""
+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`"""
+additional = "n/a"