]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: Add debug logging to basic cpu model interface
authorChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 18 Jan 2017 15:01:02 +0000 (16:01 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 30 Jan 2017 10:19:46 +0000 (11:19 +0100)
commit281086f8dbf9daa3647f2c72c6be0fa1af3d2288
tree69543e0fcd101139faeef7b6249a61b8bd382db1
parentb1066b9f57631df83566a2f2cd32a35f3a25e405
KVM: s390: Add debug logging to basic cpu model interface

Let's log something for changes in facilities, cpuid and ibc now that we
have a cpu model in QEMU. All of these calls are pretty seldom, so we
will not spill the log, the they will help to understand pontential
guest issues, for example if some instructions are fenced off.

As the s390 debug feature has a limited amount of parameters and
strings must not go away we limit the facility printing to 3 double
words, instead of building that list dynamically. This should be enough
for several years. If we ever exceed 3 double words then the logging
will be incomplete but no functional impact will happen.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/kvm-s390.c