qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH 11/11] QMP: Command-line flag to enable control


From: Jan Kiszka
Subject: [Qemu-devel] Re: [PATCH 11/11] QMP: Command-line flag to enable control mode
Date: Tue, 23 Jun 2009 14:39:08 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

Avi Kivity wrote:
> On 06/23/2009 02:53 PM, Jan Kiszka wrote:
>>>> I'm talking about, just as one example, sitting in front of my gdb
>>>> [frontend], doing guest kernel [driver] debugging and issuing "monitor
>>>> whatever" commands from one place, ie. not having to switch between
>>>> management app and debugging interface back and forth.
>>>>
>>>>        
>>> Can gdb issue monitor commands?
>>>      
>>
>> Yes.
>>    
> 
> How does one do that?  seems a very useful feature.

By spawning an additional monitor terminal, but switching off its
readline support (as that is handled by gdb).

In case there is still someone out there not being aware of this ;) : we
_do_ have support for multiple monitors in qemu already. Just try
"-monitor X -serial mon:Y" with X!=Y.

> 
> I could say that management can proxy the gdb packets and thus support
> its own cli (in fact, it must if it wants to support live migration),
> but that's really an edge case and I doubt anyone will do that, so you
> have a good point.

Proxying would mean interpreting all "classic" monitor commands to catch
those that may interfere with the mgmt app state. I also don't think
that is worth the effort.

Jan

-- 
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux




reply via email to

[Prev in Thread] Current Thread [Next in Thread]