[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] virtio-serial: avoid crash when port has no nam
From: |
Amit Shah |
Subject: |
Re: [Qemu-devel] [PATCH] virtio-serial: avoid crash when port has no name |
Date: |
Mon, 3 Nov 2014 17:53:21 +0530 |
On (Wed) 29 Oct 2014 [17:32:27], Marc-André Lureau wrote:
> It seems "name" is not mandatory, and the following command line (based
> on one generated by current libvirt) will crash qemu at start:
>
> qemu-system-x86_64 \
> -device virtio-serial-pci \
> -device virtserialport,name=foo \
> -device virtconsole
>
> Program received signal SIGSEGV, Segmentation fault.
> __strcmp_ssse3 () at ../sysdeps/x86_64/strcmp.S:210
> 210 movlpd (%rsi), %xmm2
> Missing separate debuginfos, use: debuginfo-install
> python-libs-2.7.5-13.fc20.x86_64
> (gdb) bt
> #0 __strcmp_ssse3 () at ../sysdeps/x86_64/strcmp.S:210
> #1 0x000055555566bdc6 in find_port_by_name (name=0x0) at
> /home/elmarco/src/qemu/hw/char/virtio-serial-bus.c:67
Missing signed-off-by. Can't queue this patch without that.
Amit
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH] virtio-serial: avoid crash when port has no name,
Amit Shah <=