Re: [Qemu-devel] [PATCH] hw/block/pflash_cfi*.c: fix confusing assert fail message

2016-12-15 Thread Paolo Bonzini
On 15/12/2016 15:04, skiver.cloud@gmail.com wrote: > From: Ziyue Yang > > The patch is to fix the confusing assert fail message caused by > un-initialized device structure (from bite sized tasks). > > The bug can be reproduced by > > ./qemu-system-x86_64 -nographic -device cfi.pflash01 >

[Qemu-devel] [PATCH] hw/block/pflash_cfi*.c: fix confusing assert fail message

2016-12-15 Thread skiver . cloud . yzy
From: Ziyue Yang The patch is to fix the confusing assert fail message caused by un-initialized device structure (from bite sized tasks). The bug can be reproduced by ./qemu-system-x86_64 -nographic -device cfi.pflash01 The CFI hardware is dynamically loaded by QOM realizing mechanism, however