[pve-devel] [PATCH 4/7] qmpclient-qga : cmdid : use integer instead string
Alexandre Derumier
aderumier at odiso.com
Sun Mar 17 16:09:04 CET 2013
qga client use only integer as id
Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
PVE/QMPClient.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/QMPClient.pm b/PVE/QMPClient.pm
index 4cf39a1..7e81e6e 100755
--- a/PVE/QMPClient.pm
+++ b/PVE/QMPClient.pm
@@ -106,7 +106,7 @@ sub cmd {
my $cmdid_seq = 0;
my $next_cmdid = sub {
$cmdid_seq++;
- return "$$:$cmdid_seq";
+ return "$$"."0".$cmdid_seq;
};
my $close_connection = sub {
--
1.7.10.4
More information about the pve-devel
mailing list