[pve-devel] Storage migration: 1.0rc1
Alexandre DERUMIER
aderumier at odiso.com
Mon Jan 7 18:03:50 CET 2013
>>How do you initiate qmp from perl? (It uses a REST api, does it not?)
PVE::QemuServer::vm_mon_cmd(vmid, qmpcommand, arguments);
exemple:
PVE::QemuServer::vm_mon_cmd($vmid, "block_resize", device => $deviceid, size => int($size));
live migration code is in:
PVE/QemuMigrate.pm
you can find qmp command doc here:
http://git.qemu.org/?p=qemu.git;a=blob_plain;f=qmp-commands.hx;hb=HEAD
----- Mail original -----
De: "Michael Rasmussen" <mir at datanom.net>
À: pve-devel at pve.proxmox.com
Envoyé: Lundi 7 Janvier 2013 17:58:56
Objet: Re: [pve-devel] Storage migration: 1.0rc1
On Mon, 7 Jan 2013 07:02:34 +0000
Dietmar Maurer <dietmar at proxmox.com> wrote:
>
> I can't see that in your patch (Such thing need to use the qmp block migrate commands).
>
>
I was not aware of that this was available before 1.4.
How do you initiate qmp from perl? (It uses a REST api, does it not?)
Can you point me to an example in some of the promox perl modules?
--
Hilsen/Regards
Michael Rasmussen
Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
Laugh when you can; cry when you must.
_______________________________________________
pve-devel mailing list
pve-devel at pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
More information about the pve-devel
mailing list