mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
vmmouse: put it into the 'input' category
The category of the vmmouse device is not set, put it into the 'input' category. Signed-off-by: Gan Qixin <ganqixin@huawei.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20201130083630.2520597-4-ganqixin@huawei.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
d3649bfca7
commit
dbb6b0c78b
1 changed files with 1 additions and 0 deletions
|
@ -308,6 +308,7 @@ static void vmmouse_class_initfn(ObjectClass *klass, void *data)
|
|||
dc->reset = vmmouse_reset;
|
||||
dc->vmsd = &vmstate_vmmouse;
|
||||
device_class_set_props(dc, vmmouse_properties);
|
||||
set_bit(DEVICE_CATEGORY_INPUT, dc->categories);
|
||||
}
|
||||
|
||||
static const TypeInfo vmmouse_info = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue