From b4bd84cd03ff1ba69aecd31229f3b825d1518d21 Mon Sep 17 00:00:00 2001 From: SimonFair <39065407+SimonFair@users.noreply.github.com> Date: Sat, 14 Oct 2023 23:48:43 +0100 Subject: [PATCH] Update libvirt.php --- emhttp/plugins/dynamix.vm.manager/include/libvirt.php | 1 + 1 file changed, 1 insertion(+) diff --git a/emhttp/plugins/dynamix.vm.manager/include/libvirt.php b/emhttp/plugins/dynamix.vm.manager/include/libvirt.php index c3e63faad..a0b5007c8 100644 --- a/emhttp/plugins/dynamix.vm.manager/include/libvirt.php +++ b/emhttp/plugins/dynamix.vm.manager/include/libvirt.php @@ -836,6 +836,7 @@ } if ($gpu['multi'] == "on"){ + if ($gpu['guestbus'] == "") { # This is a new Multifunction device/VM allocate from range 0x90 $multibus = array_key_last($multi) ; file_put_contents("/tmp/mbus", $multibus) ;