From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 1163C58CB for ; Thu, 17 Sep 2015 05:46:55 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP; 16 Sep 2015 20:46:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,543,1437462000"; d="scan'208,217";a="791375826" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by fmsmga001.fm.intel.com with ESMTP; 16 Sep 2015 20:46:50 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t8H3kmeP025011; Thu, 17 Sep 2015 11:46:48 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t8H3kkgl006310; Thu, 17 Sep 2015 11:46:48 +0800 Received: (from yliu84x@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t8H3kkGf006306; Thu, 17 Sep 2015 11:46:46 +0800 From: Yong Liu To: dts@dpdk.org Date: Thu, 17 Sep 2015 11:46:39 +0800 Message-Id: <1442461600-6262-2-git-send-email-yong.liu@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1442461600-6262-1-git-send-email-yong.liu@intel.com> References: <1442461600-6262-1-git-send-email-yong.liu@intel.com> Subject: [dts] [PATCH 2/3] Doc: flow chart of virtualization framework X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Sep 2015 03:47:03 -0000 From: Marvin Liu Add one picture shown that virtualization modules working flow. Signed-off-by: Marvin Liu diff --git a/doc/dts_gsg/image/virt_flow.svg b/doc/dts_gsg/image/virt_flow.svg new file mode 100644 index 0000000..0f60202 --- /dev/null +++ b/doc/dts_gsg/image/virt_flow.svg @@ -0,0 +1,717 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Page-1 + + + + + + + + + Object lifeline + scene:Virutal Scenario + + Sheet.2 + + + + Sheet.3 + + + + Sheet.4 + + + Sheet.5 + + + + + + + scene:Virutal Scenario + + + + + + + + Object lifeline.6 + resource:Virtual Resource + + Sheet.7 + + + + Sheet.8 + + + + Sheet.9 + + + Sheet.10 + + + + + + + resource:Virtual Resource + + + + + + + + Object lifeline.16 + kvm:Hypervisor + + Sheet.17 + + + + Sheet.18 + + + + Sheet.19 + + + Sheet.20 + + + + + + + kvm:Hypervisor + + + + + + + + Object lifeline.21 + vm_dut:Virutal DUT + + Sheet.22 + + + + Sheet.23 + + + + Sheet.24 + + + Sheet.25 + + + + + + + vm_dut:Virutal DUT + + + Activation + + + + + + + Message + + + + + + + + + + Return Message + + + + + + + + + + Activation.29 + + + + + + + Sheet.36 + allocate_cpu(number, socket) + + + + allocate_cpu(number, socket) + + Activation.40 + + + + + + + Self Message + + + + + + + + + + Sheet.42 + Load_config() + + + + Load_config() + + + + + + + Object lifeline.44 + host:DUT CRB + + Sheet.45 + Host: DUT CRB + + + + Host: DUT CRB + + Sheet.46 + + + + Sheet.47 + + + Sheet.48 + + + + + + + host:DUT CRB + + + Message.49 + + + + + + + + + + Activation.50 + + + + + + + Return Message.51 + + + + + + + + + + Sheet.52 + generate_sriov_vfs_by_port(port, vf_number, driver) + + + + generate_sriov_vfs_by_port(port, vf_number, driver) + + + + + + + Object lifeline.55 + Virtual Base + + Sheet.56 + + + + Sheet.57 + + + + Sheet.58 + + + Sheet.59 + + + + + + + Virtual Base + + + Activation.60 + + + + + + + Self Message.61 + + + + + + + + + + Sheet.62 + run_pre_cmds() + + + + run_pre_cmds() + + Activation.63 + + + + + + + Sheet.70 + cores + + + + cores + + Sheet.72 + VF ports + + + + VF ports + + Message.74 + + + + + + + + + + Activation.75 + + + + + + + + + + + + + + + + + + + + + + + + Inheritance + + + + + + Sheet.91 + vm.start(load_config=False, auto_portmap) + + + + vm.start(load_config=False, auto_portmap) + + Message.93 + + + + + + + + + + Activation.94 + + + + + + + Sheet.95 + instantiate_vm_dut(autoportmap) + + + + instantiate_vm_dut(autoportmap) + + Return Message.98 + + + + + + + + + + Sheet.99 + VM DUT object + + + + VM DUT object + + Self Message.100 + + + + + + + + + + Sheet.101 + Start Virtual machine + + + + Start Virtual machine + + Return Message.103 + + + + + + + + + + Sheet.104 + VM DUT object + + + + VM DUT object + + + + + + + Object lifeline.105 + case: Test Case + + Sheet.106 + + + + Sheet.107 + + + + Sheet.108 + + + Sheet.109 + + + + + + + case: Test Case + + + Activation.111 + + + + + + + Message.112 + + + + + + + + + + Activation.113 + + + + + + + Sheet.114 + Case(VM DUT, tester, target) + + + + Case(VM DUT, tester, target) + + Self Message.116 + + + + + + + + + + Sheet.117 + Run test case + + + + Run test case + + Activation.121 + + + + + + + Self Message.122 + + + + + + + + + + Sheet.123 + run_post_cmds() + + + + run_post_cmds() + + Activation.124 + + + + + + + Activation.125 + + + + + + + Message.126 + + + + + + + + + + Sheet.127 + vm.stop() + + + + vm.stop() + + Message.128 + + + + + + + + + + Activation.129 + + + + + + + Activation.130 + + + + + + + Message.131 + + + + + + + + + + Sheet.132 + release_cpu() + + + + release_cpu() + + Sheet.133 + Destory_vfs(pf_device) + + + + Destory_vfs(pf_device) + + Activation.135 + + + + + + + Message.136 + + + + + + + + + + Sheet.137 + Close session + + + + Close session + + -- 1.9.3