qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

hw: input: set category of the i8042 device

Sets the category of i8042 device as DEVICE_CATEGORY_INPUT
Devices should be assigned to one of DEVICE_CATEGORY_XXXX.

Signed-off-by: kumar sourav <sourav.jb1988@gmail.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20190125151440.13794-1-sourav.jb1988@gmail.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

authored by

kumar sourav and committed by
Laurent Vivier
cbe9ed73 89cb0c04

+1
+1
hw/input/pckbd.c
··· 574 574 575 575 dc->realize = i8042_realizefn; 576 576 dc->vmsd = &vmstate_kbd_isa; 577 + set_bit(DEVICE_CATEGORY_INPUT, dc->categories); 577 578 } 578 579 579 580 static const TypeInfo i8042_info = {