mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 02:54:58 -06:00
Switch build system to accompanied kernel headers
This helps reducing our build-time checks for feature support in the available Linux kernel headers. And it helps users that do not have sufficiently recent headers installed on their build machine. Consequently, the patch removes and build-time checks for kvm and vhost in configure, the --kerneldir switch, and KVM_CFLAGS. Kernel headers are supposed to be provided by QEMU only. s390 needs some extra love as it carries redefinitions from kernel headers. CC: Alexander Graf <agraf@suse.de> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
This commit is contained in:
parent
51b24e34d4
commit
e205c7902f
4 changed files with 21 additions and 145 deletions
|
@ -313,16 +313,6 @@ CPUState *s390_cpu_addr2state(uint16_t cpu_addr);
|
|||
/* from s390-virtio-bus */
|
||||
extern const target_phys_addr_t virtio_size;
|
||||
|
||||
#ifndef KVM_S390_SIGP_STOP
|
||||
#define KVM_S390_SIGP_STOP 0
|
||||
#define KVM_S390_PROGRAM_INT 0
|
||||
#define KVM_S390_SIGP_SET_PREFIX 0
|
||||
#define KVM_S390_RESTART 0
|
||||
#define KVM_S390_INT_VIRTIO 0
|
||||
#define KVM_S390_INT_SERVICE 0
|
||||
#define KVM_S390_INT_EMERGENCY 0
|
||||
#endif
|
||||
|
||||
#endif
|
||||
void cpu_lock(void);
|
||||
void cpu_unlock(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue