aa274c33c3
Right now QEMU is importing arch/x86/include/uapi/asm/kvm_para.h because it includes definitions for kvmclock and for KVM CPUID bits. However, other definitions for KVM hypercall values and return codes are included in include/uapi/linux/kvm_para.h and they will be used by SEV-SNP. To ensure that it is possible to include both <linux/kvm_para.h> and "standard-headers/asm-x86/kvm_para.h" without conflicts, provide linux/kvm_para.h as a portable header too, and forward linux-headers/ files to those in include/standard-headers. Note that <linux/kvm_para.h> will include architecture-specific definitions as well, but "standard-headers/linux/kvm_para.h" will not because it can be used in architecture-independent files. This could easily be extended to other architectures, but right now they do not need any symbol in their specific kvm_para.h files. Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> |
||
---|---|---|
.. | ||
const.h | ||
ethtool.h | ||
fuse.h | ||
if_ether.h | ||
input-event-codes.h | ||
input.h | ||
kernel.h | ||
kvm_para.h | ||
pci_regs.h | ||
qemu_fw_cfg.h | ||
sysinfo.h | ||
types.h | ||
udmabuf.h | ||
vhost_types.h | ||
virtio_9p.h | ||
virtio_balloon.h | ||
virtio_blk.h | ||
virtio_bt.h | ||
virtio_config.h | ||
virtio_console.h | ||
virtio_crypto.h | ||
virtio_fs.h | ||
virtio_gpio.h | ||
virtio_gpu.h | ||
virtio_i2c.h | ||
virtio_ids.h | ||
virtio_input.h | ||
virtio_iommu.h | ||
virtio_mem.h | ||
virtio_mmio.h | ||
virtio_net.h | ||
virtio_pci.h | ||
virtio_pcidev.h | ||
virtio_pmem.h | ||
virtio_ring.h | ||
virtio_rng.h | ||
virtio_scmi.h | ||
virtio_scsi.h | ||
virtio_snd.h | ||
virtio_types.h | ||
virtio_vsock.h |