[libvirt] [PATCH] qemu: remove input device after receiving the event