From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from compass.polito.it (compass.polito.it [130.192.55.110]) by dpdk.org (Postfix) with ESMTP id 24FE8C5C4 for ; Sat, 20 Feb 2016 12:12:59 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by compass.polito.it (Postfix) with ESMTP id D47121000D0; Sat, 20 Feb 2016 12:12:58 +0100 (CET) Authentication-Results: compass.polito.it (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=studenti.polito.it DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= studenti.polito.it; h=x-mailer:message-id:date:date:subject :subject:cc:to:from:from:received:received; s=y2k10; t= 1455966777; bh=44VMogVVMarrU85hzXLs2VswGfDRYh15C3PEGq43MXs=; b=F 8O09wVR3/S02+T4flORGdrEBsec1OVrWtfaBsaa7cFvsGIaiqkxVXGnHL7PQp8m8 SF2QaOJVzZaV6EHAmWTG49xTJoFU6ZekPj0R2kxri5qizPBD6nGxQOEG2kf5ShYL uLvX7qdGu3kQJzSf8gT1oH+rCkAtX/T3frjBi9Npj0= X-Virus-Scanned: amavisd-new at studenti.polito.it X-Spam-Flag: NO X-Spam-Score: -5.224 X-Spam-Level: X-Spam-Status: No, score=-5.224 tagged_above=-100 required=3.5 tests=[ALL_TRUSTED=-5, AWL=1.276, BAYES_00=-1.5] autolearn=ham Received: from compass.polito.it ([127.0.0.1]) by localhost (compass.polito.it [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id kTkRQV0fFuMa; Sat, 20 Feb 2016 12:12:57 +0100 (CET) Received: from mvb-X455LJ.Home (unknown [151.33.86.137]) (using TLSv1.2 with cipher AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: s203403@studenti.polito.it) by compass.polito.it (Postfix) with ESMTPSA id C20DF1000CC; Sat, 20 Feb 2016 12:12:57 +0100 (CET) From: Mauricio Vasquez B To: huawei.xie@intel.com, yuanhan.liu@linux.intel.com Date: Sat, 20 Feb 2016 12:12:50 +0100 Message-Id: <1455966770-6206-1-git-send-email-mauricio.vasquezbernal@studenti.polito.it> X-Mailer: git-send-email 1.9.1 Cc: dev@dpdk.org Subject: [dpdk-dev] [PATCH] doc: fix vhost bad section number references X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2016 11:12:59 -0000 Section numbers were "hard-coded". This patch adds them as hyperlinks. Signed-off-by: Mauricio Vasquez B --- doc/guides/sample_app_ug/vhost.rst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/guides/sample_app_ug/vhost.rst b/doc/guides/sample_app_ug/vhost.rst index e5d1326..2ad2243 100644 --- a/doc/guides/sample_app_ug/vhost.rst +++ b/doc/guides/sample_app_ug/vhost.rst @@ -260,7 +260,7 @@ Setting up the Guest Execution Environment ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ It is recommended for testing purposes that the DPDK testpmd sample application is used in the guest to forward packets, -the reasons for this are discussed in Section 22.7, "Running the Virtual Machine (QEMU)". +the reasons for this are discussed in :ref:`running_the_vm`. The testpmd application forwards packets between pairs of Ethernet devices, it requires an even number of Ethernet devices (virtio or otherwise) to execute. @@ -530,6 +530,8 @@ It is enabled by default. ./vhost-switch -c f -n 4 --socket-mem 1024 --huge-dir /mnt/huge \ -- --vlan-strip [0, 1] +.. _running_the_vm: + Running the Virtual Machine (QEMU) ---------------------------------- @@ -583,7 +585,7 @@ an open file descriptor must be passed to QEMU running as a child process. .. note:: - This process is automated in the QEMU wrapper script discussed in Section 24.7.3. + This process is automated in the :ref:`qemu_wrapper`. Mapping the Virtual Machine's Memory ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -600,10 +602,12 @@ In this case, the path passed to the guest should be that of the 1 GB page huget .. note:: - This process is automated in the QEMU wrapper script discussed in Section 24.7.3. + This process is automated in the :ref:`qemu_wrapper`. The following two sections only applies to vhost cuse. For vhost-user, please make corresponding changes to qemu-wrapper script and guest XML file. +.. _qemu_wrapper: + QEMU Wrapper Script ~~~~~~~~~~~~~~~~~~~ -- 1.9.1