[libvirt] [PATCH] qemu:address:Fix segfault in qemuDomainPrimeVirtioDeviceAddresses

Andrea Bolognani abologna at redhat.com
Fri Nov 9 08:59:44 UTC 2018


On Fri, 2018-11-09 at 14:41 +0800, Wang Yechao wrote:
> On aarch64, lauch vm with the follow configuration:
> 
> <interface type="hostdev" managed="yes">
>   <mac address="fa:16:3e:14:41:00"/>
>   <source>
>     <address type="pci" domain="0x0000" bus="0x01" slot="0x0b" function="0x2"/>
>   </source>
> </interface>
> 
> libvirtd will crash when access the net->model.
> 
> Signed-off-by: Wang Yechao <wang.yechao255 at zte.com.cn>
> ---
>  src/qemu/qemu_domain_address.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Andrea Bolognani <abologna at redhat.com>

and pushed after slightly tweaking the commit message.

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list