Re: [PATCH v2] tests: Move domainEventState initialization to qemuTestDriverInit

2024-07-04 Thread Michal Prívozník
On 7/3/24 23:40, Rayhan Faizel wrote: > Under the test environment, driver->domainEventState is uninitialized. If a > disk gets dropped, it will attempt to queue an event which will cause a > segmentation fault. This crash does not occur during normal use. > > This patch moves driver->domainEventS

[PATCH v2] tests: Move domainEventState initialization to qemuTestDriverInit

2024-07-03 Thread Rayhan Faizel
Under the test environment, driver->domainEventState is uninitialized. If a disk gets dropped, it will attempt to queue an event which will cause a segmentation fault. This crash does not occur during normal use. This patch moves driver->domainEventState initialization from qemuhotplugtest to qemu