Tested on v8.10.0-118-g5ef2582646 and qemu-kvm-7.1.0-6.el9.x86_64:
1. Start VM and then eject the CDROM in guest.
2. Reboot VM by `virsh reset`, `virsh reboot` or guest, the tray-change event is emitted as expected
Check tray-changed event without tray status change
1. Start VM
2. Reboot VM by `virsh reset`, `virsh reboot` or guest, the tray-change event is NOT emitted as expected
(In reply to khanicov from comment #21) /listman. redhat. com/archives/ libvir- list/2022- December/ 236300. html
> I did not consider emitting an event as part of the bug, but I found the
> issue and fixed it.
>
> Proposed patch on the list:
> https:/
Tested on v8.10.0- 118-g5ef2582646 and qemu-kvm- 7.1.0-6. el9.x86_ 64:
1. Start VM and then eject the CDROM in guest.
2. Reboot VM by `virsh reset`, `virsh reboot` or guest, the tray-change event is emitted as expected
Check tray-changed event without tray status change
1. Start VM
2. Reboot VM by `virsh reset`, `virsh reboot` or guest, the tray-change event is NOT emitted as expected