diff options
author | Pavel Dovgalyuk | 2021-10-26 11:54:05 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2021-11-02 00:36:11 +0100 |
commit | d99e8b5fcb138b19f751c027ed5599224f9b5036 (patch) | |
tree | 15b17dd2fc74e8eb61e03e020aabecf40c41c9a3 /python/qemu/utils/__init__.py | |
parent | pci: Export pci_for_each_device_under_bus*() (diff) | |
download | qemu-d99e8b5fcb138b19f751c027ed5599224f9b5036.tar.gz qemu-d99e8b5fcb138b19f751c027ed5599224f9b5036.tar.xz qemu-d99e8b5fcb138b19f751c027ed5599224f9b5036.zip |
hw/i386: fix vmmouse registration
According to the logic of vmmouse_update_handler function,
vmmouse should be registered as an event handler when
it's status is zero.
vmmouse_read_id resets the status but does not register
the handler.
This patch adds vmmouse registration and activation when
status is reset.
Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Message-Id: <163524204515.1914131.16465061981774791228.stgit@pasha-ThinkPad-X280>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'python/qemu/utils/__init__.py')
0 files changed, 0 insertions, 0 deletions