453423dce2
This patch introduces in-kernel handling of some intercepts for privileged instructions: handle_set_prefix() sets the prefix register of the local cpu handle_store_prefix() stores the content of the prefix register to memory handle_store_cpu_address() stores the cpu number of the current cpu to memory handle_skey() just decrements the instruction address and retries handle_stsch() delivers condition code 3 "operation not supported" handle_chsc() same here handle_stfl() stores the facility list which contains the capabilities of the cpu handle_stidp() stores cpu type/model/revision and such handle_stsi() stores information about the system topology Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Carsten Otte <cotte@de.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
14 lines
478 B
Makefile
14 lines
478 B
Makefile
# Makefile for kernel virtual machines on s390
|
|
#
|
|
# Copyright IBM Corp. 2008
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License (version 2 only)
|
|
# as published by the Free Software Foundation.
|
|
|
|
common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o)
|
|
|
|
EXTRA_CFLAGS += -Ivirt/kvm -Iarch/s390/kvm
|
|
|
|
kvm-objs := $(common-objs) kvm-s390.o sie64a.o intercept.o interrupt.o priv.o
|
|
obj-$(CONFIG_KVM) += kvm.o
|