• Y
    s390x/cpumodel: add zpci, aen and ais facilities · 3b00f702
    Yi Min Zhao 提交于
    zPCI instructions and facilities are available since IBM zEnterprise
    EC12. To support z/PCI in QEMU we enable zpci, aen and ais facilities
    starting with zEC12 GA1. And we always set zpci and aen bits in max cpu
    model. Later they might be switched off due to applied real cpu model.
    For ais bit, we only provide it in the full cpu model beginning with
    zEC12 and defer its enablement in the default cpu model to a later point
    in time. At the same time, disable them for 2.9 and older machines.
    
    Because of introducing AIS facility, we could check if it's enabled to
    initialize flic->ais_supported with the real value.
    Signed-off-by: NYi Min Zhao <zyimin@linux.vnet.ibm.com>
    Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
    Reviewed-by: NCornelia Huck <cohuck@redhat.com>
    3b00f702
gen-features.c 17.3 KB