Skip to content

Commit 4ac22d5

Browse files
committed
Documentation: fix qemu build instructions
The current instructions fail during the qemu configure step, since meson is not able to find IGVM. This is because meson searches for IGVM via pkgconfig, so supply the location of the IGVM installation via `PKGCONFIG_PATH`. Signed-off-by: Carlos López <clopez@suse.de>
1 parent f7aec93 commit 4ac22d5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Documentation/docs/installation/INSTALL.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,10 @@ Now the right branch is checked out and you can continue with the build.
113113
Feel free to adapt the installation directory to your needs:
114114

115115
```
116-
$ CONFIG_IGVM=$HOME/igvminst ./configure --prefix=$HOME/bin/qemu-svsm/ --target-list=x86_64-softmmu --enable-igvm
116+
$ PKGCONFIG_PATH="${PKGCONFIG_PATH}:$HOME/igvminst/usr/lib/x86_64-linux-gnu/pkgconfig/" ./configure \
117+
--prefix=$HOME/bin/qemu-svsm/ \
118+
--target-list=x86_64-softmmu \
119+
--enable-igvm
117120
$ C_INCLUDE_PATH=$HOME/igvminst/usr/include/ LIBRARY_PATH=$HOME/igvminst/usr/lib/x86_64-linux-gnu/ ninja -C build/
118121
$ make install
119122
```

0 commit comments

Comments
 (0)