summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/678.toml
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/issues/target_missing/host_missing/accel_missing/678.toml')
-rw-r--r--gitlab/issues/target_missing/host_missing/accel_missing/678.toml55
1 files changed, 55 insertions, 0 deletions
diff --git a/gitlab/issues/target_missing/host_missing/accel_missing/678.toml b/gitlab/issues/target_missing/host_missing/accel_missing/678.toml
new file mode 100644
index 00000000..71b9b550
--- /dev/null
+++ b/gitlab/issues/target_missing/host_missing/accel_missing/678.toml
@@ -0,0 +1,55 @@
+id = 678
+title = "eject (monitor command) not work for blockdev cdrom"
+state = "opened"
+created_at = "2021-10-18T08:43:41.026Z"
+closed_at = "n/a"
+labels = ["Storage"]
+url = "https://gitlab.com/qemu-project/qemu/-/issues/678"
+host-os = "Debian 11.1 Bullseye"
+host-arch = "amd64"
+qemu-version = "QEMU emulator version 5.2.0 (Debian 1:5.2+dfsg-11+deb11u1)"
+guest-os = "Windows 10 1607"
+guest-arch = "amd64"
+description = """cdrom1 device work fine, all files reads, but when i whant to eject CD-ROM disk from device by telnet monitor, it not work."""
+reproduce = """1. Connect to monitor with
+```
+telnet 127.0.0.1 9100
+(QEMU 5.2.0 monitor - type 'help' for more information)
+```
+
+2. Show block devices
+```
+info block
+cdrom1-format: /mnt/soft/QEMU/Windows VirtIO Drivers/virtio-win-0.1.208-1.iso (raw, read-only)
+    Attached to:      cdrom1
+    Removable device: not locked, tray closed
+    Cache mode:       writeback
+```
+
+3. Send eject commands
+```
+eject cdrom1
+Error: Device 'cdrom1' not found
+eject cdrom1-format
+Error: Device 'cdrom1-format' not found
+eject cdrom1-storage
+Error: Device 'cdrom1-storage' not found
+```"""
+additional = """When i run qemu with next lines (replace -blockdev to -drive):
+```
+-device ide-cd,bus=ide.1,drive=cdrom1,id=idecd1,bootindex=2
+-drive if=none,id=cdrom1,media=cdrom,readonly=on,file="/mnt/soft/QEMU/Windows VirtIO Drivers/virtio-win-0.1.208-1.iso"
+```
+
+eject cdrom1 command work fine
+
+```
+info block
+cdrom1 (#block133): /mnt/soft/QEMU/Windows VirtIO Drivers/virtio-win-0.1.208-1.iso (raw, read-only)
+    Attached to:      idecd1
+    Removable device: not locked, tray closed
+    Cache mode:       writeback
+eject cdrom1
+```
+
+Also i found a similar bug description on this link https://bugs.launchpad.net/qemu/+bug/1799766"""