[dpdk-dev] [PATCH 3/5] xen: add phys-addr command line argument

Stephen Hemminger stephen at networkplumber.org
Thu Feb 26 17:09:14 CET 2015


On Thu, 26 Feb 2015 07:55:13 +0000
"Liu, Jijiang" <jijiang.liu at intel.com> 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


More information about the dev mailing list