On 17/07/19 12:37, Michael S. Tsirkin wrote: > On Mon, Jun 24, 2019 at 05:02:00AM -0400, Igor Mammedov wrote: >> QEMU will crash when device-memory-region-size property is read if >> ms->device_memory >> wasn't initialized yet. >> >> Crash can be reproduced with: >> $QEMU -preconfig -qmp unix:qmp_socket,server,nowait & >> ./scripts/qmp/qom-get -s qmp_socket /machine.device-memory-region-size >> >> Instead of crashing return 0 if ms->device_memory hasn't been initialized. >> >> Signed-off-by: Igor Mammedov <imamm...@redhat.com> > > queued, thanks!
This is already commit 58164eaff530a1e804f5710936dd37518ab5a90e. Paolo