From: Ian Campbell Subject: Re: Very strange behavior between balloon driver and network driver (Arndale) Date: Wed, 29 May 2013 12:32:21 +0100 Message-ID: <1369827141.3469.162.camel@zakaz.uk.xensource.com> References: <24373880.290291369826555618.JavaMail.weblogic@epml02> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <24373880.290291369826555618.JavaMail.weblogic@epml02> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: jaeyong.yoo@samsung.com Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Wed, 2013-05-29 at 11:22 +0000, Jaeyong Yoo wrote: > > > > I expect that the ballooning up and down is counteracting the affect of > > the 1:1 workaround which is required on the Arndale due to lack of an > > IOMMU driver. > > > > As a workaround I would recommend using dom0_mem= and > > disabling autoballooning. > > After I applied the above two things, I still see the network error. > Autoballooning is still used in privcmd with ioctl > IOCTL_PRIVCMD_MMAPBATCH_V2 when mapping foreign range (in order to > deliver the domU kernel binary to domU memory). > > I applied as follows: > - put dom0_mem=256M in dom0 kernel booting arg. This needs to be a Xen argument, not a dom0 kernel argument. That said I thought that privcmd mmapbatch put back the original page, perhaps I am mistaken here though. > - create domU with config autoballoon="off" You put this in /etc/xen/xl.conf, not the guest config, correct? > > Of course if, as a Sumsung developer, you are able to gain access to the > > documentation necessary to write an IOMMU driver for the Arndale > > platform that would be great! > > AFAIK Arndale board has sysMMU but it is placed between CPU and GPU for > performance purpose. So, I think it is not be able to use it for > virtualization. Oh, that's interesting and unfortunate :-( Ian.