forked from Minki/linux
27291e2165
This patch adds support to debug the guest using the PER facility on s390. Single-stepping, hardware breakpoints and hardware watchpoints are supported. In order to use the PER facility of the guest without it noticing it, the control registers of the guest have to be patched and access to them has to be intercepted(stctl, stctg, lctl, lctlg). All PER program interrupts have to be intercepted and only the relevant PER interrupts for the guest have to be given back. Special care has to be taken about repeated exits on the same hardware breakpoint. The intervention of the host in the guests PER configuration is not fully transparent. PER instruction nullification can not be used by the guest and too many storage alteration events may be reported to the guest (if it is activated for special address ranges only) when the host concurrently debugging it. Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
18 lines
566 B
Makefile
18 lines
566 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.
|
|
|
|
KVM := ../../../virt/kvm
|
|
common-objs = $(KVM)/kvm_main.o $(KVM)/eventfd.o $(KVM)/async_pf.o $(KVM)/irqchip.o
|
|
|
|
ccflags-y := -Ivirt/kvm -Iarch/s390/kvm
|
|
|
|
kvm-objs := $(common-objs) kvm-s390.o intercept.o interrupt.o priv.o sigp.o
|
|
kvm-objs += diag.o gaccess.o guestdbg.o
|
|
|
|
obj-$(CONFIG_KVM) += kvm.o
|