vhost-userã®ããŽã·ãšãŒã·ã§ã³
ã¯ããã« gokvmãvhost-userã«å¯Ÿå¿ãããã«ããããåæåéšåã«ã€ããŠèª¿æ»ããã®ã§ã¡ã¢ãšããŠæ®ããŠããã QEMUã®ããã¥ã¡ã³ãVhost-user Protocol 1 ã«è©³ãããŸãšãŸã£ãŠãããã å®éã«åãããŠã¿ãªãããšã«ã¯åãããªãéšåïŒäŸå€åŠçã ã£ããããªã¯ãšã¹ãã®é çªã ã£ããããã°ã®èœã¡æ¹ã ã£ããïŒ ããããšæãã®ã§åãããŠã¿ãã è²ã è©Šè¡é¯èª€ããŠã¿ããã®ã®ãçµå± QEMU ãš DPDK ã®2ã€ã ãã§æ軜ã«è©Šãããšãã§ããã ããã§ã¯ QEMU ããµãŒãã¢ãŒããDPDK ãã¯ã©ã€ã¢ã³ãã¢ãŒãã§åãããã ãµãŒãã¢ãŒãã vhost-user çšã® Unix Domain Socket ã®çæãã¯ã©ã€ã¢ã³ãããã® Socket ãžã®æ¥ç¶ãæ åœããã dpdk-skeleton ã®ãã«ã DPDK ã«ã¯ããã€ããµã³ãã«ããã°ã©ã ãçšæãããŠããããããã§ã¯ dpdk-skeleton ãå©çšããããšã«ããã ç§ã®äœ¿ã£ãŠãããã£ã¹ããªãã¥ãŒã·ã§ã³ã§ã¯ãã㯠DPDK ããã±ãŒãžã«å梱ãããŠããªãã£ãã®ã§ã以äžã§ãã«ãããã $ git clone git@github.com:DPDK/dpdk.git $ cd dpdk $ meson setup -Dexamples=skeleton build $ cd build $ ninja $ file ./examples/dpdk-skeleton ./examples/dpdk-skeleton: ELF 64-bit LSB shared object, x86-64, ... ä»®æ³ãã·ã³ã®èµ·å 軜éãªVMã€ã¡ãŒãžã§ããCirrosãQEMUããããŒããããã ããã§path=$HOME/vhost-net0 ãUnix Domain Socket ã«å¯Ÿå¿ããã logfile=$HOME/vhost-net0....