From: Daniel P. Berrange Date: Wed, 22 Feb 2017 17:33:59 +0000 (+0000) Subject: qemu: add missing break in qemuDomainDeviceCalculatePCIConnectFlags X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=fb52faf8fa4b7d981a7d76b2751c7bad4747d51c;p=libvirt.git qemu: add missing break in qemuDomainDeviceCalculatePCIConnectFlags One of the conditions in qemuDomainDeviceCalculatePCIConnectFlags was missing a break that could result it in falling through to an incorrect codepath. Signed-off-by: Daniel P. Berrange --- diff --git a/src/qemu/qemu_domain_address.c b/src/qemu/qemu_domain_address.c index f8995c946d..20f4ba25bb 100644 --- a/src/qemu/qemu_domain_address.c +++ b/src/qemu/qemu_domain_address.c @@ -553,6 +553,7 @@ qemuDomainDeviceCalculatePCIConnectFlags(virDomainDeviceDefPtr dev, return pciFlags; } } + break; case VIR_DOMAIN_DEVICE_FS: /* the only type of filesystem so far is virtio-9p-pci */