[Kimchi-devel] [PATCH v2] [Kimchi 1/2] Enable hot-plug multi-function pci on front-end

Jose Ricardo Ziviani joserz at linux.vnet.ibm.com
Fri May 27 17:06:44 UTC 2016


Signed-off-by: Jose Ricardo Ziviani <joserz at linux.vnet.ibm.com>
---
 ui/js/src/kimchi.guest_edit_main.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/js/src/kimchi.guest_edit_main.js b/ui/js/src/kimchi.guest_edit_main.js
index 66edbcb..4cee8fe 100644
--- a/ui/js/src/kimchi.guest_edit_main.js
+++ b/ui/js/src/kimchi.guest_edit_main.js
@@ -486,7 +486,7 @@ kimchi.guest_edit_main = function() {
             $('.body', '#form-guest-edit-pci').append(itemNode);
             pciEnabled || $('button', itemNode).remove();
             $('button i', itemNode).addClass(iconClass);
-            if (kimchi.thisVMState === "running" && (arrPCIDevices[i].multifunction || arrPCIDevices[i].vga3d)) {
+            if (kimchi.thisVMState === "running" && arrPCIDevices[i].vga3d) {
                 $('button', itemNode).prop("disabled", true);
             }
             $('button', itemNode).on('click', function(event) {
-- 
2.7.4




More information about the Kimchi-devel mailing list