summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/802.toml
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/issues/target_missing/host_missing/accel_missing/802.toml')
-rw-r--r--gitlab/issues/target_missing/host_missing/accel_missing/802.toml38
1 files changed, 38 insertions, 0 deletions
diff --git a/gitlab/issues/target_missing/host_missing/accel_missing/802.toml b/gitlab/issues/target_missing/host_missing/accel_missing/802.toml
new file mode 100644
index 00000000..87d988e9
--- /dev/null
+++ b/gitlab/issues/target_missing/host_missing/accel_missing/802.toml
@@ -0,0 +1,38 @@
+id = 802
+title = "Devices created using '-device' JSON syntax don't emit DEVICE_DELETED when unplugged"
+state = "closed"
+created_at = "2022-01-05T12:20:19.811Z"
+closed_at = "2022-01-15T12:34:04.161Z"
+labels = ["CLI", "QAPI/QMP", "kind::Bug", "workflow::In Progress"]
+url = "https://gitlab.com/qemu-project/qemu/-/issues/802"
+host-os = "(Windows 10 21H1, Fedora 34, etc.)"
+host-arch = "(x86, ARM, s390x, etc.)"
+qemu-version = "QEMU emulator version 6.2.50 (v6.2.0-103-ge68034b1d6-dirty)"
+guest-os = "(Windows 10 21H1, Fedora 34, etc.)"
+guest-arch = "(x86, ARM, s390x, etc.)"
+description = """Run the following sequence:
+
+```
+  $ ./qemu-system-x86_64 -qmp stdio  \\
+       -device '{"driver": "virtio-mouse-pci", "id": "dev0"}' \\
+       -device virtio-mouse-pci,id=dev1 
+{"QMP": {"version": {"qemu": {"micro": 50, "minor": 2, "major": 6}, "package": "v6.2.0-105-g7494244ffc-dirty"}, "capabilities": ["oob"]}}
+{ "execute": "qmp_capabilities" }
+{"return": {}}
+{ "execute": "device_del", "arguments": { "id": "dev0"} }
+{"return": {}}
+{ "execute": "device_del", "arguments": { "id": "dev1"} }
+{"return": {}}
+{ "execute": "system_reset" }
+{"return": {}}
+{"timestamp": {"seconds": 1641385071, "microseconds": 120178}, "event": "RESET", "data": {"guest": false, "reason": "host-qmp-system-reset"}}
+{"timestamp": {"seconds": 1641385071, "microseconds": 121431}, "event": "DEVICE_DELETED", "data": {"path": "/machine/peripheral/dev1/virtio-backend"}}
+{"timestamp": {"seconds": 1641385071, "microseconds": 121684}, "event": "DEVICE_DELETED", "data": {"device": "dev1", "path": "/machine/peripheral/dev1"}}
+{"timestamp": {"seconds": 1641385071, "microseconds": 122297}, "event": "DEVICE_DELETED", "data": {"path": "/machine/peripheral/dev0/virtio-backend"}}
+{"timestamp": {"seconds": 1641385071, "microseconds": 198581}, "event": "RESET", "data": {"guest": true, "reason": "guest-reset"}}
+
+   ```
+
+Notice the lack of a "DEVICE_DELETED" event with path "/machine/peripheral/dev0" - the device created with JSON syntax"""
+reproduce = "n/a"
+additional = "n/a"