find_prop() assertion failed
Hi Paul,
By starting QEMU with the following command:
~/bin/qemu/bin/qemu -hda root_fs-qemu -kernel bzImage -append "root=/dev/sda console=ttyS0,115200 console=tty 4" -monitor telnet:localhost:4555,server -snapshot
And the running telnet on another terminal:
~/ telnet localhost 4555
I get 100% of CPU for a while and the following assertion is trigged:
qemu: /home/lcapitulino/src/qemu-qmp/hw/qdev.c:194: find_prop: Assertion `prop->type == type' failed.
It works if I revert 1431b6a17e6546569e09bcf8fb7773c925658d8f. Stack
backtrace follows (although I'm not sure whether it's needed/helps):
"""
#0 0xffffe424 in __kernel_vsyscall () #1 0xb7bdada0 in raise () from /lib/i686/libc.so.6 #2 0xb7bdc808 in abort () from /lib/i686/libc.so.6 #3 0xb7bd3cde in __assert_fail () from /lib/i686/libc.so.6 #4 0x080f7d14 in find_prop (dev=<value optimized out>, name=0x81afc52 "data", #5 0x080f7da6 in qdev_get_prop_ptr (dev=0x97cd4e8, name=0x81afc52 "data") #6 0x080cf24a in smbus_eeprom_init (dev=0x97cd4e8) #7 0x080f7957 in qdev_init (dev=0x97cd4e8) at /home/lcapitulino/src/qemu-qmp/hw/qdev.c:113 #8 0x0808b240 in pc_init1 (ram_size=<value optimized out>, boot_device=0x819453a "cad",
Cannot access memory at address 0x493f
#9 0x08052e27 in main (argc=10, argv=0xbfe09f44, envp=) """
Signature · 1 line
Luiz
Quoted 9 lines · Luiz Capitulino
Hi Paul,
By starting QEMU with the following command:
~/bin/qemu/bin/qemu -hda root_fs-qemu -kernel bzImage -append "root=/dev/sda console=ttyS0,115200 console=tty 4" -monitor telnet:localhost:4555,server -snapshot
And the running telnet on another terminal:
Quoted 8 lines
~/ telnet localhost 4555
I get 100% of CPU for a while and the following assertion is trigged:
qemu:
/home/lcapitulino/src/qemu-qmp/hw/qdev.c:194:find_prop: Assertion `prop->type == type' failed.It works if I revert
1431b6a17e6546569e09bcf8fb7773c925658d8f. Stack backtrace follows (although I'm not sure whether it's needed/helps):
Yep, me too. I can't figure out any incantation of qemu-system-x86_64 that works with this patch.
Alex