From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neville Clark Subject: KVM Shared memory ivshmem enquiry Date: Thu, 18 Mar 2010 13:59:18 +1100 Message-ID: <1268881158.2768.52.camel@roo> Reply-To: nev@zavalon.com Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: cam@cs.ualberta.ca To: kvm@vger.kernel.org Return-path: Received: from ipmail06.adl6.internode.on.net ([150.101.137.145]:55321 "EHLO ipmail06.adl6.internode.on.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751441Ab0CRDEW (ORCPT ); Wed, 17 Mar 2010 23:04:22 -0400 Sender: kvm-owner@vger.kernel.org List-ID: Cam and others, I have been trying to enable Shared memory in KVM but I am not clear on the correct procedures and requirements, I am new to KVM, kernel building, git so am on very step learning curve. I have an application that requires shared memory between host and guest. I have been using Vmware workstation 6.0.5, but all later versions do not support shared memory, and WS 6 is no longer available. I think I have managed to build and install the guest's kvm_ivshmem module, from http://www.gitorious.org/nahanni/ I used cd kernem_modules;make;sudo make install;sudo modprobe kvm_ivshmem. Every thing seems to have worked. On the host side I am very confused as to what is required. I have created git repository using git clone git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git I have been able to patch, build and install, but the result does NOT run. I have checked out the qemu-kvm-0.11.0 and built and installed but then I get a version miss-match. (this was unpatched as the patch does not work on this version). The host is Ubuntu 9.10 64 bit, with ubuntu's KVM installed. Can I simply somehow build and install ivshmem module, or do I need to rebuild the kernel? eg get kvm.git and build and install new kernel. Is there another KVM binary that I can use, instead of Ubuntu's? Is the ivshmem patch likely to be accepted anytime soon? Thanks Nev