Re: [PATCH] hw/i386/vmmouse: Require 'i8042' property to be set

2021-12-17 Thread Paolo Bonzini
On 12/1/21 23:32, Philippe Mathieu-Daudé wrote: If the 'i8042' property is not set, mouse events handled by vmmouse_mouse_event() end calling i8042_isa_mouse_fake_event() with a NULL argument, resulting in ps2_mouse_fake_event() being called with invalid PS2MouseState pointer. Fix by requiring th

Re: [PATCH] hw/i386/vmmouse: Require 'i8042' property to be set

2021-12-15 Thread Philippe Mathieu-Daudé
ping? On 12/1/21 23:32, Philippe Mathieu-Daudé wrote: > If the 'i8042' property is not set, mouse events handled by > vmmouse_mouse_event() end calling i8042_isa_mouse_fake_event() > with a NULL argument, resulting in ps2_mouse_fake_event() being > called with invalid PS2MouseState pointer. Fix by

[PATCH] hw/i386/vmmouse: Require 'i8042' property to be set

2021-12-01 Thread Philippe Mathieu-Daudé
If the 'i8042' property is not set, mouse events handled by vmmouse_mouse_event() end calling i8042_isa_mouse_fake_event() with a NULL argument, resulting in ps2_mouse_fake_event() being called with invalid PS2MouseState pointer. Fix by requiring the 'i8042' property to be always set: $ qemu-sys