From: Michael Roth <mdroth@linux.vnet.ibm.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: kvm@vger.kernel.org, Prateek Sharma <prateeks@cse.iitb.ac.in>
Subject: Re: virtagent for qemu-kvm ?
Date: Tue, 26 Jul 2011 09:10:01 -0500 [thread overview]
Message-ID: <4E2ECAB9.6070905@linux.vnet.ibm.com> (raw)
In-Reply-To: <CAJSP0QWQNbXbFQgiaDXKT2F=O36KrxszXqewseSgUjfo2G1H6A@mail.gmail.com>
On 07/26/2011 03:24 AM, Stefan Hajnoczi wrote:
> On Tue, Jul 26, 2011 at 6:58 AM, Prateek Sharma<prateeks@cse.iitb.ac.in> wrote:
>> On Tue, 26 Jul 2011, Stefan Hajnoczi wrote:
>>
>>> On Tue, Jul 26, 2011 at 6:05 AM, Prateek Sharma<prateeks@cse.iitb.ac.in>
>>> wrote:
>>>>
>>>> Hi all,
>>>> Is there any equivalent of qemu's virtagent in qemu-kvm?
>>>> [http://lists.gnu.org/archive/html/qemu-devel/2011-01/msg02149.html] .
>>>> In particular , i want to share pages between KVM guests and the host .
>>>> Is
>>>> there an appropriate mechanism for this in existence which i could use ?
>>>> Another nice feature virtagent provides is the ability to see guest dmesg
>>>> output in the host...
>>>
>>> virtagent doesn't share pages between guest and host AFAIK.
>>>
>>> Have you looked at hw/ivshmem.c?
>>>
>>> Most of the time you don't need to actually share pages between guest
>>> and host. Use existing mechanisms like networking or serial to
>>> communicate instead.
>>>
>>> Stefan
>>>
>>
>> Thanks for the quick response!
>>
>> I was tempted by virtagent because it provides dmesg output directly,
>> something which is exactly what i need.
>>
>> Anyway, looks like i'll need to fallback to serial/networking, as you
>> suggested.
>>
>> On a related note, is porting virtagent to qemu-kvm
>> possible/useful/in-the-pipeline ?
>
> I expect qemu-ga will be merged into qemu-kvm.git when they merge from
> qemu.git again soon.
>
> Mike: I don't see a dmesg command in the guest schema in qemu.git. Is
> there a recommended way of getting dmesg from the host (maybe read
> file /var/log/messages)?
>
Yup, the guest-file-read RPC to access /var/log/messages is the only
means in the current version. There was a dmesg RPC in earlier
prototypes but it was removed in favor of lower-level mechanisms.
> Stefan
prev parent reply other threads:[~2011-07-26 14:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-26 5:05 virtagent for qemu-kvm ? Prateek Sharma
2011-07-26 5:51 ` Stefan Hajnoczi
2011-07-26 5:58 ` Prateek Sharma
2011-07-26 8:24 ` Stefan Hajnoczi
2011-07-26 14:10 ` Michael Roth [this message]
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=4E2ECAB9.6070905@linux.vnet.ibm.com \
--to=mdroth@linux.vnet.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=prateeks@cse.iitb.ac.in \
--cc=stefanha@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox