]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Fix serial stub console allocation
authorErik Skultety <eskultet@redhat.com>
Mon, 29 May 2017 10:58:34 +0000 (12:58 +0200)
committerErik Skultety <eskultet@redhat.com>
Wed, 7 Jun 2017 12:17:56 +0000 (14:17 +0200)
commitff6e94de60b081ae7e9d304e38c63346828c5dbe
tree38a4e8929d70f66559a971e8857ff506a0351a0a
parent8e34f478137c2a6b5e57e382729bd2776b042301
qemu: Fix serial stub console allocation

When adding the aliased serial stub console, the structure wasn't
properly allocated (VIR_ALLOC instead of virDomainChrDefNew) which then
resulted in SIGSEGV in virDomainChrSourceIsEqual during a serial device
coldplug.

https://bugzilla.redhat.com/show_bug.cgi?id=1434278

Signed-off-by: Erik Skultety <eskultet@redhat.com>
src/qemu/qemu_hotplug.c