From 29b2fa23107ed5e211299c6b1be305c505118923 Mon Sep 17 00:00:00 2001 From: Xiangyang Wu Date: Tue, 1 Mar 2022 13:45:41 +0800 Subject: [PATCH] doc: configure yajl lib for acrn driver in libvirt Acrn driver in libvirt needs to handle JSON command or JSON message to interact with command monitor in ACRN DM. In libvirt, JSON APIs implementation depends on yajl lib. So yajl should be configured for libvirt. v1-->v2: Remove description about checkout hypervisor tag since libvirt can work on the latest hypervisor. Libvirt doesn't depend on acrnd and acrnctl now, remove acrnd and acrnctl installation in this document. Tracked-On: #5921 Signed-off-by: Xiangyang Wu --- doc/tutorials/setup_openstack_libvirt.rst | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/doc/tutorials/setup_openstack_libvirt.rst b/doc/tutorials/setup_openstack_libvirt.rst index 5841d9c63..49e0508b6 100644 --- a/doc/tutorials/setup_openstack_libvirt.rst +++ b/doc/tutorials/setup_openstack_libvirt.rst @@ -164,14 +164,10 @@ Set Up ACRN Prerequisites Inside the Container $ cd ~ $ git clone https://github.com/projectacrn/acrn-hypervisor $ cd acrn-hypervisor - $ git checkout v2.4 $ make $ sudo make devicemodel-install - $ sudo cp build/misc/debug_tools/acrnd /usr/bin/ - $ sudo cp build/misc/debug_tools/acrnctl /usr/bin/ - Install only the user-space components: ``acrn-dm``, ``acrnctl``, and - ``acrnd`` as shown above. + Install only the user-space component: ``acrn-dm`` as shown above. .. note:: Use the tag that matches the version of the ACRN hypervisor (``acrn.bin``) that runs on your system. @@ -183,7 +179,7 @@ Set Up Libvirt $ sudo apt install libdevmapper-dev libnl-route-3-dev libnl-3-dev python \ automake autoconf autopoint libtool xsltproc libxml2-utils gettext \ - libxml2-dev libpciaccess-dev gnutls-dev python3-docutils + libxml2-dev libpciaccess-dev gnutls-dev python3-docutils libyajl-dev 2. Download libvirt/ACRN:: @@ -198,7 +194,7 @@ Set Up Libvirt $ cd build $ ../autogen.sh --prefix=/usr --disable-werror --with-test-suite=no \ --with-qemu=no --with-openvz=no --with-vmware=no --with-phyp=no \ - --with-vbox=no --with-lxc=no --with-uml=no --with-esx=no + --with-vbox=no --with-lxc=no --with-uml=no --with-esx=no --with-yajl $ make $ sudo make install