Re: [Qemu-devel] [PATCHv2] virtio-serial: avoid crash when port has no name

2014-11-05 Thread Amos Kong
On Wed, Nov 05, 2014 at 03:43:14PM +0100, 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

[Qemu-devel] [PATCHv2] virtio-serial: avoid crash when port has no name

2014-11-05 Thread Marc-André Lureau
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 f