qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [RFC][PATCH v3 00/11] virtagent: host/guest RPC communi


From: Amit Shah
Subject: [Qemu-devel] Re: [RFC][PATCH v3 00/11] virtagent: host/guest RPC communication agent
Date: Thu, 25 Nov 2010 15:09:34 +0530
User-agent: Mutt/1.5.21 (2010-09-15)

Hi,

On (Wed) Nov 10 2010 [19:37:19], Michael Roth wrote:
> EXAMPLE USAGE:
> 
> The commandline options are a little convoluted right now; this will 
> addressed in later revisions.
> 
>  - Configure guest agent to talk to host via virtio-serial
>     # start guest with virtio-serial/virtproxy/virtagent. for example 
> (RHEL6rc1):
>     qemu \
>     -chardev virtproxy,id=test0,virtagent=on \
>     -device virtio-serial \
>     -device virtserialport,chardev=test0,name=virtagent0 \
>     -monitor stdio
>     ...
>     # in the guest:
>     ./qemu-vp -c virtserial-open:/dev/virtio-ports/virtagent0:- -g
>     ...
>     # monitor commands
>     (qemu) agent_viewdmesg
>     [139311.710326] wlan0: deauthenticating from 00:30:bd:f7:12:d5 by local 
> choice (reason=3)
>     [139323.469857] wlan0: deauthenticating from 00:21:29:cd:41:ee by local 
> choice (reason=3)
>     ...
>     [257683.375646] wlan0: authenticated
>     [257683.375684] wlan0: associate with AP 00:30:bd:f7:12:d5 (try 1)
>     [257683.377932] wlan0: RX AssocResp from 00:30:bd:f7:12:d5 (capab=0x411 
> status=0 aid=4)
>     [257683.377940] wlan0: associated
>     
>     (qemu) agent_viewfile /proc/meminfo

It would be better to have a command and sub-commands rather than
different commands for viewing different kinds of files:

(qemu) agent view dmesg
(qemu) agent view /proc/meminfo

                Amit



reply via email to

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