]> git.proxmox.com Git - qemu-server.git/commitdiff
bugfix : add missing queues nic option in print_net
authorAlexandre Derumier <aderumier@odiso.com>
Thu, 12 Feb 2015 12:49:54 +0000 (13:49 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 13 Feb 2015 05:59:50 +0000 (06:59 +0100)
Currently the nic queues option is removed when we try to update config

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
PVE/QemuServer.pm

index 2fe95b1e4bc8174e010c42176a136e5aff8dc321..032cfb07f6a3aa09817caa2f6f864ae94d16c5ba 100644 (file)
@@ -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;
 }