* qemu-kvm monitor
@ 2011-04-12 11:26 Onkar Mahajan
2011-04-12 12:08 ` Stefan Hajnoczi
0 siblings, 1 reply; 3+ messages in thread
From: Onkar Mahajan @ 2011-04-12 11:26 UTC (permalink / raw)
To: kvm
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 ??
Regards,
Onkar
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: qemu-kvm monitor
2011-04-12 11:26 qemu-kvm monitor Onkar Mahajan
@ 2011-04-12 12:08 ` Stefan Hajnoczi
2011-04-12 12:25 ` Jan Kiszka
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Hajnoczi @ 2011-04-12 12:08 UTC (permalink / raw)
To: Onkar Mahajan; +Cc: kvm
On Tue, Apr 12, 2011 at 12:26 PM, Onkar Mahajan <kern.devel@gmail.com> 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).
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: qemu-kvm monitor
2011-04-12 12:08 ` Stefan Hajnoczi
@ 2011-04-12 12:25 ` Jan Kiszka
0 siblings, 0 replies; 3+ messages in thread
From: Jan Kiszka @ 2011-04-12 12:25 UTC (permalink / raw)
To: Stefan Hajnoczi; +Cc: Onkar Mahajan, kvm
On 2011-04-12 14:08, Stefan Hajnoczi wrote:
> On Tue, Apr 12, 2011 at 12:26 PM, Onkar Mahajan <kern.devel@gmail.com> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-04-12 12:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-12 11:26 qemu-kvm monitor Onkar Mahajan
2011-04-12 12:08 ` Stefan Hajnoczi
2011-04-12 12:25 ` Jan Kiszka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox