From: Ian Campbell Subject: Re: Re: HVM hypercalls Date: Mon, 23 May 2011 09:22:03 +0100 Message-ID: <1306138923.20576.20.camel@zakaz.uk.xensource.com> References: <706335.39543.qm@web113616.mail.gq1.yahoo.com> <4C512E15.60909@ts.fujitsu.com> <1306136918478-4418332.post@n5.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1306136918478-4418332.post@n5.nabble.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: veeruyours Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Mon, 2011-05-23 at 08:48 +0100, veeruyours wrote: > Hi, > > I recently started working on XEN, and I am looking for ways to invoke > hypercalls from HVM. > I followed your instructions and succeeded in reading MSR register. > But when i attempt to write the physical address of a 4K page from my HVM > guest (2.6.30 kernel), i observed the XEN hypervisor reporting it as bad > GMFN as follows. > > [root@f13 ~]# xm dmesg -c > (XEN) traps.c:664:d17 Bad GMFN ffff88001e925 (MFN ffffffffffffffff) to MSR > 40000000 That supposed GMFN (fff88001e925) looks an awful lot like a virtual address and not a physical one to me, unless your guest really has >4TB of RAM assigned... > > Could you please help me in understanding what went wrong in my > implementation. > > I am running XEN 4.0.1 on AMD 64bit machine with svm support and the dom0 > kernel running 2.6.32.39. > > The > Thanks & Regards, > VSR. > > > -- > View this message in context: http://xen.1045712.n5.nabble.com/HVM-hypercalls-tp2541346p4418332.html > Sent from the Xen - Dev mailing list archive at Nabble.com. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel