]> xenbits.xensource.com Git - libvirt.git/commitdiff
bhyve: add missing param to virDomainPCIAddressBusSetModel
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 16 Apr 2020 10:39:49 +0000 (10:39 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 16 Apr 2020 14:49:28 +0000 (15:49 +0100)
Fixes build error introduced in

  commit aa15e9259f1f246e69fb9742581ced720c88695d
  Author: Laine Stump <laine@redhat.com>
  Date:   Sun Apr 5 22:40:37 2020 -0400

    qemu/conf: set HOTPLUGGABLE connect flag during PCI address set init

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/bhyve/bhyve_device.c

index 13261e9935cbb447e844f7f01a6b9db69efe200f..fc52280361bd601f44c2251c60675bc578d9198a 100644 (file)
@@ -71,7 +71,8 @@ bhyveDomainPCIAddressSetCreate(virDomainDefPtr def, unsigned int nbuses)
         return NULL;
 
     if (virDomainPCIAddressBusSetModel(&addrs->buses[0],
-                                       VIR_DOMAIN_CONTROLLER_MODEL_PCI_ROOT) < 0)
+                                       VIR_DOMAIN_CONTROLLER_MODEL_PCI_ROOT,
+                                       true) < 0)
         goto error;
 
     if (virDomainDeviceInfoIterate(def, bhyveCollectPCIAddress, addrs) < 0)