From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cam Macdonell Subject: Re: Using VMChannel to communicate with the host. Date: Mon, 10 Sep 2007 10:01:53 -0600 Message-ID: <46E56A71.50102@cs.ualberta.ca> References: <46E1D44E.90509@cs.ualberta.ca> <46E3C345.9090305@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: dor.laor-atKUWr5tajBWk0Htik3J/w@public.gmane.org Return-path: In-Reply-To: <46E3C345.9090305-atKUWr5tajBWk0Htik3J/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Dor Laor wrote: > I just tested it, it got a little deprecated over time since it call > pci_module_init instead of pci_register_* and some more irq function > deprecation.The sysfs interface in not complete and you can't read/write > from the device. > The qemu parameters are -vmchannel di:2258,unix:/tmp/file,server > 2258 is the vendor id for the device, you can use unix sockets ot even > tcp for the host end. > Hi Dor, Thanks, that got it up and running. But in the hypercall.c code (from the git repo) there is a "hello host" message that looks like it should be written to the host. How do I trigger that to be sent so my very simple "listening" program can read it? Thanks, Cam ------------------------------------------------------------------------- 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/