[pve-devel] [PATCH] Support additional e1000 variants for VM machines

Kamil Trzcinski ayufan at ayufan.eu
Sat Jan 17 13:46:31 CET 2015


It is required for OS X on qemu

Signed-off-by: Kamil Trzcinski <ayufan at ayufan.eu>
---
 www/manager/Parser.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager/Parser.js b/www/manager/Parser.js
index 11fbe49..c63a310 100644
--- a/www/manager/Parser.js
+++ b/www/manager/Parser.js
@@ -20,7 +20,7 @@ Ext.define('PVE.Parser', { statics: {
 
 	    var match_res;
 
-	    if ((match_res = p.match(/^(ne2k_pci|e1000|vmxnet3|rtl8139|pcnet|virtio|ne2k_isa|i82551|i82557b|i82559er)(=([0-9a-f]{2}(:[0-9a-f]{2}){5}))?$/i)) !== null) {
+	    if ((match_res = p.match(/^(ne2k_pci|e1000|e1000-82540em|e1000-82544gc|e1000-82545em|vmxnet3|rtl8139|pcnet|virtio|ne2k_isa|i82551|i82557b|i82559er)(=([0-9a-f]{2}(:[0-9a-f]{2}){5}))?$/i)) !== null) {
 		res.model = match_res[1].toLowerCase();
 		if (match_res[3]) {
 		    res.macaddr = match_res[3];
-- 
1.8.4.2




More information about the pve-devel mailing list