[libvirt] [PATCH v2] qemu: Fix serial stub console allocation

Peter Krempa pkrempa at redhat.com
Wed Jun 7 12:06:30 UTC 2017


On Thu, Jun 01, 2017 at 14:57:59 +0200, Erik Skultety wrote:
> 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 at redhat.com>
> ---
>  src/qemu/qemu_hotplug.c | 12 +++++++-----
>  1 file changed, 7 insertions(+), 5 deletions(-)

ACK, we do the same (crazy) thing in virDomainDefAddConsoleCompat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170607/4a1fbee4/attachment-0001.sig>


More information about the libvir-list mailing list