[PATCH] bhyve: add missing param to virDomainPCIAddressBusSetModel

Daniel P. Berrangé berrange at redhat.com
Thu Apr 16 15:02:42 UTC 2020


Fixes build error introduced in

  commit aa15e9259f1f246e69fb9742581ced720c88695d
  Author: Laine Stump <laine at 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 at redhat.com>
---

Pushed as a CI fix

 src/bhyve/bhyve_device.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bhyve/bhyve_device.c b/src/bhyve/bhyve_device.c
index 13261e9935..fc52280361 100644
--- a/src/bhyve/bhyve_device.c
+++ b/src/bhyve/bhyve_device.c
@@ -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)
-- 
2.24.1




More information about the libvir-list mailing list