5
0
mirror of git://git.proxmox.com/git/qemu-server.git synced 2025-01-18 06:03:55 +03:00

6 Commits

Author SHA1 Message Date
Alexandre Derumier
c971c4f221 add basic qmp support
this add qmp socket to kvm process
and anew sub copied from vm_monitor_command:

vm_qmp_command ($vmid, $cmdstr, $nocheck)

$cmdstr could be a simple command to be executed, without argument

vm_qmp_command($vmid,"stop");

or a complex hash with arguments

$cmdstr->{execute}="eject";
$cmdstr->{arguments}->{device}="ide1-cd0";
vm_qmp_command($vmid,$cmdstr);

documentation about qmp commands is here
http://git.qemu.org/?p=qemu.git;a=blob;f=qmp-commands.hx;h=db980fa811325aeca8ad43472ba468702d4a25a2;hb=HEAD

Code must be polish a little more, but it's a start.

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2012-05-30 11:51:16 +02:00
Dietmar Maurer
fc1ddcdcae use Digest::SHA instead of Digest::SHA1 2012-03-20 12:25:08 +01:00
Dietmar Maurer
c339b1967d undo open-iscsi package dependency
We depend on iscsi ini init.d, but there is no need to add
a package dependency in contol.in
2011-10-14 14:47:35 +02:00
Dietmar Maurer
7476784c0f depend on open-iscsi
We need to add the iscsi dependency to the init.d script. Else
insserv tries to stops iscsi to early.
2011-10-14 14:16:26 +02:00
Dietmar Maurer
9b4ea96225 Fix startup order
Also depend on pve-cluster and redhat-cluster-pve.
2011-08-30 15:11:54 +02:00
Dietmar Maurer
1e3baf05f2 imported from svn 'qemu-server/pve2' 2011-08-23 07:47:04 +02:00