qemu src has in ./linux-headers/linux/kvm.h
#include <linux/types.h>
#include <linux/ioctl.h>
#include <asm/kvm.h>
So does /usr/include/linux/kvm.h on Focal BTW.
There are two ways to resolve this:
- via system includes by /usr/include/x86_64-linux-gnu/asm/kvm.h
- via internal includes in qemu by ./linux-headers/asm-s390/kvm.h
The latter does not exist for riscv and also it is a "<>" include so it should use the systems headers anyway right?
This is blocked on getting a kernels riscv kvm.h into place.
I'll ask wgrant if that is known/in-progress (or also quite likely if I'm just riscv-confused)
qemu src has in ./linux- headers/ linux/kvm. h
#include <linux/types.h>
#include <linux/ioctl.h>
#include <asm/kvm.h>
So does /usr/include/ linux/kvm. h on Focal BTW.
There are two ways to resolve this: x86_64- linux-gnu/ asm/kvm. h headers/ asm-s390/ kvm.h
- via system includes by /usr/include/
- via internal includes in qemu by ./linux-
The latter does not exist for riscv and also it is a "<>" include so it should use the systems headers anyway right?
$ dpkg -S /usr/include/ x86_64- linux-gnu/ asm/kvm. h dev:amd64: /usr/include/ x86_64- linux-gnu/ asm/kvm. h
linux-libc-
In the build log I see ftpmaster. internal/ ubuntu focal-proposed/main riscv64 linux-libc-dev riscv64 5.4.0-24.28 [1037 kB]
Get:8 http://
That is from https:/ /launchpad. net/ubuntu/ focal/riscv64/ linux-libc- dev/5.4. 0-24.28 launchpadlibrar ian.net/ 474114728/ linux-libc- dev_5.4. 0-24.28_ riscv64. deb dev_5.4. 0-24.28_ riscv64. deb linux-libc- dev-riscv dev-riscv
But that seems to not contain the kvm.h header:
wget http://
dpkg -x linux-libc-
cd linux-libc-
find . -name 'kvm.h'
... not existing in there ...
This is blocked on getting a kernels riscv kvm.h into place.
I'll ask wgrant if that is known/in-progress (or also quite likely if I'm just riscv-confused)