[pve-devel] [PATCH] bugfix : add missing queues nic option in print_net
Alexandre Derumier
aderumier at odiso.com
Thu Feb 12 13:49:54 CET 2015
Currently the nic queues option is removed when we try to update config
Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
PVE/QemuServer.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 70e2ae6..814a673 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -1431,6 +1431,7 @@ sub print_net {
$res .= ",tag=$net->{tag}" if $net->{tag};
$res .= ",firewall=1" if $net->{firewall};
$res .= ",link_down=1" if $net->{link_down};
+ $res .= ",queues=$net->{queues}" if $net->{queues};
return $res;
}
--
1.7.10.4
More information about the pve-devel
mailing list