public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Dor Laor <dor.laor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Cam Macdonell <cam-edFDblaTWIyXbbII50Afww@public.gmane.org>
Cc: kvm-devel <kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: Using VMChannel to communicate with the host.
Date: Sun, 16 Sep 2007 01:47:27 +0300	[thread overview]
Message-ID: <46EC60FF.60209@qumranet.com> (raw)
In-Reply-To: <46E71D72.7000901-edFDblaTWIyXbbII50Afww@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 1267 bytes --]

Cam Macdonell wrote:
>
> Dor Laor wrote:
> >>> You need to open the unix socket you passed to the vmchannel
> >>> parameter.
> >>> An easier alternative is to use -vmchannel di:2258,tcp://
> >>> 0:4444,server.
> >>> Before the guest loads you'll need to telnet the 4444 port and then
> >>> you should receive the
> >>> hello world output once the driver is up.
> >>> -Dor
> >> I tried having a program listening on the unix domain socket.
> >> Actually, the VM won't even start until a program connects to the
> >> socket.  I didn't get the message with my listening program, but I'll
> >> try the telnet method as I haven't programmed a socket in a while so
> >> I may have missed a step.
> >
> > Go for it, its 1 minute effort.
>
> Hi Dor,
>
> It didn't work.  I used the following option: -vmchannel
> di:2258,tcp:0:4444,server (the // confused kvm) and when the VM booted,
> I connected with "telnet localhost 4444" which allowed the boot to
> proceed.  But, I didn't get the hello host message when I loaded the
> hypercall module.  dmesg did show that the module loaded successfully.
> I'll dig around with it and see what else I can figure ou
>
I just tried it and it worked. I used fc7 2.6.21 kernel, 64 bits  for 
the guest.
Can you send the relevant dmesg?

[-- Attachment #1.2: Type: text/html, Size: 2093 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #3: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel

  parent reply	other threads:[~2007-09-15 22:47 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-07 22:44 Using VMChannel to communicate with the host Cam Macdonell
     [not found] ` <46E1D44E.90509-edFDblaTWIyXbbII50Afww@public.gmane.org>
2007-09-08  0:51   ` Troy Benjegerdes
     [not found]     ` <20070908005122.GB6764-na1kE3HDu0idQnJuSAr7PQ@public.gmane.org>
2007-09-09  8:38       ` Dor Laor
2007-09-09  9:56   ` Dor Laor
     [not found]     ` <46E3C345.9090305-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-10 16:01       ` Cam Macdonell
     [not found]         ` <46E56A71.50102-edFDblaTWIyXbbII50Afww@public.gmane.org>
2007-09-11  7:09           ` Dor Laor
     [not found]             ` <46E63F46.2040707-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-11 14:36               ` Cameron Macdonell
     [not found]                 ` <FFFA58AC-4040-4E6D-A28F-BBBDD78F8722-edFDblaTWIyXbbII50Afww@public.gmane.org>
2007-09-11 20:21                   ` Dor Laor
     [not found]                     ` <64F9B87B6B770947A9F8391472E032160D95E340-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-09-11 22:57                       ` Cam Macdonell
     [not found]                         ` <46E71D72.7000901-edFDblaTWIyXbbII50Afww@public.gmane.org>
2007-09-15 22:47                           ` Dor Laor [this message]
     [not found]                             ` <46EC60FF.60209-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-17 16:00                               ` Cameron Macdonell
     [not found]                                 ` <07D7C2A1-A29D-4CED-9B97-5C0071C75AF8-edFDblaTWIyXbbII50Afww@public.gmane.org>
2007-09-17 22:42                                   ` Dor Laor
     [not found]                                     ` <46EF02C7.1000904-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-18 22:27                                       ` Cam Macdonell
     [not found]                                         ` <46F050BB.9040801-edFDblaTWIyXbbII50Afww@public.gmane.org>
2007-09-19 10:31                                           ` Dor Laor

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=46EC60FF.60209@qumranet.com \
    --to=dor.laor-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=cam-edFDblaTWIyXbbII50Afww@public.gmane.org \
    --cc=dor.laor-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox