[libvirt-users] Is there a way to disable libvirt qemu monitor while creating kvm vm using virsh?

Daniel P. Berrange berrange at redhat.com
Wed Nov 12 10:03:31 UTC 2014

On Tue, Nov 11, 2014 at 02:42:48PM -0700, Min Du wrote:
> Hi Daniel,
> Thanks. The debugger program I used is a multi-level debugging tool called
> StackDB developed in our department. It was developed for Xen initially,
> and KVM support was only added recently.
> I've forwarded your email to the developer and hopefully it should be pretty
>straightforward to do so.

Ok, specifically they'll want to look at the virDomainQemuMonitorCommand API
call that is part of the libvirt/libvirt-qemu.h header file.

This will normally expect to be given JSON encoded commands (QMP style)
but if you set VIR_DOMAIN_QEMU_MONITOR_COMMAND_HMP, then it also accepts
old style human monitor commands.

|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

More information about the libvirt-users mailing list