KVM-88 installs its bios files in /usr/share/kvm. However, the kvm executable is still hardcoded to look for these files in /usr/share/qemu. This leads to issues with e.g. extboot.bin not being found and may also explain other performance issues int the graphics area other users have reported. Reproducible: Always Steps to Reproduce: 1. Start kvm with boot=on set on one of the disk files: usr/bin/kvm [...] -boot c -drive file=/var/lib/libvirt/images/kvm.img,if=ide,index=0,boot=on [...] Actual Results: kvm refuses to start and complains about missing extboot.bin Expected Results: kvm starts normally As a workaround one can copy or link the files from /usr/share/kvm to /usr/share/qemu. The following patch should be added to the qemu patchset: diff --git a/vl.c b/vl.c index 5949acb..cacd3ed 100644 --- a/vl.c +++ b/vl.c @@ -4740,9 +4740,9 @@ static char *find_datadir(const char *argv0) #else /* !_WIN32 */ /* Find a likely location for support files using the location of the binary. - For installed binaries this will be "$bindir/../share/qemu". When + For installed binaries this will be "$bindir/../share/kvm". When running from the build tree this will be "$bindir/../pc-bios". */ -#define SHARE_SUFFIX "/share/qemu" +#define SHARE_SUFFIX "/share/kvm" #define BUILD_SUFFIX "/pc-bios" static char *find_datadir(const char *argv0) {
Created attachment 199081 [details, diff] change SHARE_SUFFIX to /share/kvm
Christmas in July.