• Christian Borntraeger's avatar
    KVM: s390: Add debug logging to basic cpu model interface · a8c39dd7
    Christian Borntraeger authored
    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: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
    a8c39dd7
kvm-s390.c 87.6 KB