From: Anthony Liguori <anthony@codemonkey.ws>
To: Alexander Graf <agraf@suse.de>
Cc: agl@linux.vnet.ibm.com,
"qemu-devel@nongnu.org Developers" <qemu-devel@nongnu.org>,
Jes Sorensen <Jes.Sorensen@redhat.com>,
Michael Roth <mdroth@linux.vnet.ibm.com>,
Luiz Capitulino <lcapitulino@redhat.com>,
Blue Swirl <blauwirbel@gmail.com>,
Anthony Liguori <aliguori@linux.vnet.ibm.com>
Subject: Re: [Qemu-devel] [PATCH] guest agent: qemu-ga daemon
Date: Sat, 23 Jul 2011 14:14:27 -0500 [thread overview]
Message-ID: <4E2B1D93.1090205@codemonkey.ws> (raw)
In-Reply-To: <0651B83D-B47C-4CA1-B6E8-36DB8A5DA00C@suse.de>
On 07/23/2011 01:34 PM, Alexander Graf wrote:
>
> On 23.07.2011, at 18:43, Michael Roth wrote:
>
>> On 07/23/2011 11:10 AM, Anthony Liguori wrote:
>>> On 07/23/2011 11:06 AM, Michael Roth wrote:
>>>> On 07/23/2011 05:07 AM, Alexander Graf wrote:
>>>>>
>>>>> On 20.07.2011, at 22:19, Michael Roth wrote:
>>>>>
>>>>>> This is the actual guest daemon, it listens for requests over a
>>>>>> virtio-serial/isa-serial/unix socket channel and routes them through
>>>>>> to dispatch routines, and writes the results back to the channel in
>>>>>> a manner similar to QMP.
>>>>>>
>>>>>> A shorthand invocation:
>>>>>>
>>>>>> qemu-ga -d
>>>>>>
>>>>>> Is equivalent to:
>>>>>>
>>>>>> qemu-ga -m virtio-serial -p /dev/virtio-ports/org.qemu.guest_agent.0 \
>>>>>> -f /var/run/qemu-ga.pid -d
>>>>>>
>>>>>> Signed-off-by: Michael Roth<mdroth@linux.vnet.ibm.com>
>>>>>
>>>>> A rebase on top of current HEAD gave me the following on openSUSE 11.1
>>>>> PPC:
>>>>>
>>>>>
>>>>> agraf@lychee:/home/agraf/release/qemu> make
>>>>> CC qemu-ga.o
>>>>> qemu-ga.c:40: error: expected specifier-qualifier-list before ‘GSocket’
>>>
>>> GIO is fairly new. It may not be available on openSUSE.
>>>
>>> Mike, you probably need to do a configure test for GIO and if it's not
>>> present, don't build qemu-ga.
>>
>> It should've failed the glib probe in that case. I think we might need a compile test to catch this GSocket issue.
>>
>> Rather than building qemu-ga when possible, should we just go ahead and add a configure option and only run the probes when it's set? At least until QMP/QEMU start formally using glib? If so, on or off by default?
>
> In general, I like the workflow of adding a feature with default off and then enabling it after it has been in for a couple of weeks. Since this got pushed so late for 0.15, I'd personally prefer to see it as preview (disabled by default) in 0.15 and only enabled by default if the requirements are there on 0.16.
The only way something like this gets tested is to default it on.
We default off'd the I/O thread even after years we still don't have it
enabled.
With respect to 0.15, this bit of code is totally isolated from
everything else. Worst case scenario, we just disable it on platforms
where it doesn't work. It presents no real risk to the stability of the
release.
Regards,
Anthony Liguori
>
>
> Alex
>
>
next prev parent reply other threads:[~2011-07-23 19:14 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-19 20:41 [Qemu-devel] [QAPI+QGA 3/3] QEMU Guest Agent (virtagent) v8 Michael Roth
2011-07-19 20:41 ` [Qemu-devel] [PATCH v8 1/4] qerror: add QERR_JSON_PARSE_ERROR to qerror.c Michael Roth
2011-07-19 20:41 ` [Qemu-devel] [PATCH v8 2/4] guest agent: command state class Michael Roth
2011-07-19 20:41 ` [Qemu-devel] [PATCH v8 3/4] guest agent: qemu-ga daemon Michael Roth
2011-07-20 17:56 ` Luiz Capitulino
2011-07-20 19:25 ` Michael Roth
2011-07-20 19:31 ` Luiz Capitulino
2011-07-20 20:01 ` Michael Roth
2011-07-20 20:05 ` Michael Roth
2011-07-20 20:12 ` Luiz Capitulino
2011-07-20 20:00 ` [Qemu-devel] [PATCH] guest agent: qemu-ga, remove unused variables Michael Roth
2011-07-20 20:19 ` [Qemu-devel] [PATCH] guest agent: qemu-ga daemon Michael Roth
2011-07-23 10:07 ` Alexander Graf
2011-07-23 10:33 ` Alexander Graf
2011-07-23 16:06 ` Michael Roth
2011-07-23 16:10 ` Anthony Liguori
2011-07-23 19:23 ` Jes Sorensen
2011-07-23 19:38 ` Alexander Graf
2011-07-23 16:10 ` Anthony Liguori
2011-07-23 16:43 ` Michael Roth
2011-07-23 16:49 ` Anthony Liguori
2011-07-23 18:35 ` Alexander Graf
2011-07-23 19:12 ` Anthony Liguori
2011-07-23 19:20 ` Alexander Graf
2011-07-23 18:34 ` Alexander Graf
2011-07-23 19:14 ` Anthony Liguori [this message]
2011-07-23 19:22 ` Alexander Graf
2011-07-23 21:12 ` Anthony Liguori
2011-07-23 21:34 ` Alexander Graf
2011-07-19 20:41 ` [Qemu-devel] [PATCH v8 4/4] guest agent: add guest agent RPCs/commands Michael Roth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E2B1D93.1090205@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=Jes.Sorensen@redhat.com \
--cc=agl@linux.vnet.ibm.com \
--cc=agraf@suse.de \
--cc=aliguori@linux.vnet.ibm.com \
--cc=blauwirbel@gmail.com \
--cc=lcapitulino@redhat.com \
--cc=mdroth@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.