mirror of https://gitee.com/openkylin/qemu.git
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
|
@ -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…
Reference in New Issue