On 2011-04-12 14:08, Stefan Hajnoczi wrote: > On Tue, Apr 12, 2011 at 12:26 PM, Onkar Mahajan <kern.devel@xxxxxxxxx> wrote: >> Hi All, >> >> I have following command line options to qemu-kvm ( apart from others >> - irrelevant here !! ) >> >> -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/vm00-SMP.monitor,server,nowait >> -mon chardev=charmonitor,id=monitor,mode=control >> >> How do I now start the qemu-kvm monitor control session ?? > > It looks like you're using libvirt. Here are two methods of getting > at the QEMU monitor through libvirt: > > http://blog.vmsplice.net/2011/03/how-to-access-qemu-monitor-through.html > > Basically, libvirt is already connected to the vm00-SMP.monitor UNIX > domain socket. You need to either use the qemu-monitor-command virsh > command or you need to stop libvirtd and connect to the socket > manually (e.g. using netcat). ...or pass another -mon command line switch set via the config pass-though feature of libvirt. The warning related to qemu-monitor-command applies to that approach as well of course. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html