mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
qemu-io: fix segment fault when the image format is qed
[root@f15 qemu]# qemu-io -c info /home/zwu/work/misc/rh6.img format name: qed cluster size: 64 KiB vm state offset: 0.000000 bytes Segmentation fault (core dumped) This reason is same as the former patch Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
4889978e94
commit
a57d114389
1 changed files with 2 additions and 0 deletions
|
@ -1856,6 +1856,8 @@ int main(int argc, char **argv)
|
|||
|
||||
bdrv_init();
|
||||
|
||||
qemu_init_main_loop();
|
||||
|
||||
/* initialize commands */
|
||||
quit_init();
|
||||
help_init();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue