From: Cam Macdonell Subject: Re: IVSHMEM and limits on shared memory Date: Thu, 4 Mar 2010 13:53:42 -0700 Message-ID: <8286e4ee1003041253j28324869wd7c3eadd910f2f0@mail.gmail.com> References: <8286e4ee1003011017y7727e3fcp52a1a47e483285e1@mail.gmail.com> <1267467562-23539-1-git-send-email-cam@cs.ualberta.ca> <8286e4ee1003031409q2a097931nbcb6096caa7671e6@mail.gmail.com> <8286e4ee1003032052y50b4f5c6y292d796e0e31e670@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org To: Khaled Ibrahim Return-path: Received: from mail-qy0-f172.google.com ([209.85.221.172]:48425 "EHLO mail-qy0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757078Ab0CDUxo convert rfc822-to-8bit (ORCPT ); Thu, 4 Mar 2010 15:53:44 -0500 Received: by qyk2 with SMTP id 2so277403qyk.1 for ; Thu, 04 Mar 2010 12:53:43 -0800 (PST) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Mar 4, 2010 at 1:12 PM, Khaled Ibrahim wrot= e: > >> >> As a test, I removed anywhere my patch stored the size of the shared >> memory region and hard coded the size of 512 MB into qemu_ram_alloc >> and pci_register_bar, so that my patch never writes the size of the >> memory region anywhere. And I discovered that the value of 512MB >> still shows up at the offset you mention, so it seems something else >> is storing that value in the wrong location and corrupting memory. >> >> Can you try using the version from the git repo and see if the error= recurs? > > Thank you Cam. I tried to build using git repo, but the build crashes= while booting on my machine without the shared memory patch. I used gi= t://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git. Which git repo are yo= u using? Can you send me a ivshmem patched qemu-kvm, or tell me which s= table qemu-kvm repo should I use? That's the correct repo. Your VM crashes using the latest git repo? That is unusual. I'll send you a tar ball off-list of a patched version of KVM. > > Thanks, > -Khaled > > _________________________________________________________________ > Hotmail: Trusted email with Microsoft=92s powerful SPAM protection. > http://clk.atdmt.com/GBL/go/201469226/direct/01/ > >