[pve-devel] [PATCH qemu-server 03/10] qm mtunnel: add tunnel version

Fabian Grünbichler f.gruenbichler at proxmox.com
Fri Aug 4 10:55:02 CEST 2017


to allow detection of supported features/commands for these
and future mtunnel changes.

Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 PVE/CLI/qm.pm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/PVE/CLI/qm.pm b/PVE/CLI/qm.pm
index e192153..77fd983 100755
--- a/PVE/CLI/qm.pm
+++ b/PVE/CLI/qm.pm
@@ -268,6 +268,9 @@ __PACKAGE__->register_method ({
 	print "tunnel online\n";
 	*STDOUT->flush();
 
+	print "ver 1.0\n";
+	*STDOUT->flush();
+
 	while (my $line = <>) {
 	    chomp $line;
 	    last if $line =~ m/^quit$/;
-- 
2.11.0





More information about the pve-devel mailing list