[libvirt-users] monitor option in libvirt ?
Riccardo Veraldi
Riccardo.Veraldi at cnaf.infn.it
Tue Jan 26 19:33:27 UTC 2010
because I wold like to do this:
1) start qemu-kvm and redirect the monitor to a named pipe called let's
say my.pipe
2) write into the named pipe with a script when I want to take a
snapshot, somthing like:
echo "savevm mysnapshot">my.pipe
bascally I need to be able to access the monitor to issue a savevm
command because I want to take
a snapshot of my qcow2 images.
How could I do it otherwise ?
thank you
Rick
Daniel P. Berrange wrote:
> On Tue, Jan 26, 2010 at 01:52:13PM +0100, Riccardo Veraldi wrote:
>
>> Hello,
>>
>> I woudl liek to start qemu-kvm with -monitor myfile.pipe options
>> instead of default -monitor pty
>>
>> Anyway I have not found any way to tell libvirt (using virsh) that I
>> want to set a specific
>> -monitor option to the qemu-kvm command line.
>> How can I do this ?
>>
>
> libvirt controls the monitor interface so it can manage the guest while it
> is running. As such we don't give users access to it, since having two
> different things changing the running guest state is a recipe for trouble
>
> Why do you need to acess the monitor directly ? Our goal is to expose
> APIs for any monitor command that users would need to use in administrative
> tasks
>
> Regards,
> Daniel
>
More information about the libvirt-users
mailing list