From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH 3/5] xen: add phys-addr command line argument Date: Thu, 26 Feb 2015 08:09:14 -0800 Message-ID: <20150226080914.7a3ff49b@urahara> References: <1424013889-2226-1-git-send-email-shemming@brocade.com> <1424013889-2226-3-git-send-email-shemming@brocade.com> <1ED644BD7E0A5F4091CF203DAFB8E4CC01DDF09A@SHSMSX101.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "dev-VfR2kkLFssw@public.gmane.org" , Stephen Hemminger To: "Liu, Jijiang" Return-path: In-Reply-To: <1ED644BD7E0A5F4091CF203DAFB8E4CC01DDF09A-0J0gbvR4kThpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On Thu, 26 Feb 2015 07:55:13 +0000 "Liu, Jijiang" wrote: > If the application is built with DOM0 support , the application will run in non Dom0 environment when using the new argument, correct? Yes. Our startup script has if [ -d /proc/xen ] ; then log_progress_msg "xen_uio" modprobe xen_uio if [ "$(cat /proc/xen/domain)" == "pv" ]; then log_progress_msg "rte_dom0_mm" modprobe rte_dom0_mm xen_phys_addr=y set_domU_memsize XEN_ARGS="--xen-dom0 --xen-phys-addr" fi fi