1. 21 5月, 2019 1 次提交
  2. 12 10月, 2018 1 次提交
    • T
      s390x/cpumodel: Set up CPU model for AP device support · c5cd17af
      Tony Krowiak 提交于
      A new CPU model feature and two new CPU model facilities are
      introduced to support AP devices for a KVM guest.
      
      CPU model features:
      
      1. The S390_FEAT_AP CPU model feature indicates whether AP
         instructions are available to the guest. This feature will
         be enabled only if the AP instructions are available on the
         linux host as determined by the availability of the
         KVM_S390_VM_CRYPTO_ENABLE_APIE VM attribute which is exposed
         by KVM only if the AP instructions are available on the
         host.
      
         This feature must be turned on from userspace to execute AP
         instructions on the KVM guest. The QEMU command line to turn
         this feature on looks something like this:
      
      	qemu-system-s390x ... -cpu xxx,ap=on ...
      
         This feature will be supported for zEC12 and newer CPU models.
         The feature will not be supported for older models because
         there are few older systems on which to test and the older
         crypto cards will be going out of service in the relatively
         near future.
      
      CPU model facilities:
      
      1. The S390_FEAT_AP_QUERY_CONFIG_INFO feature indicates whether the
         AP Query Configuration Information (QCI) facility is available
         to the guest as determined by whether the facility is available
         on the host. This feature will be exposed by KVM only if the
         QCI facility is installed on the host.
      
      2. The S390_FEAT_AP_FACILITY_TEST feature indicates whether the AP
         Facility Test (APFT) facility is available to the guest as
         determined by whether the facility is available on the host.
         This feature will be exposed by KVM only if APFT is installed
         on the host.
      Signed-off-by: NTony Krowiak <akrowiak@linux.ibm.com>
      Tested-by: NPierre Morel <pmorel@linux.ibm.com>
      Reviewed-by: NDavid Hildenbrand <david@redhat.com>
      Reviewed-by: NHalil Pasic <pasic@linux.ibm.com>
      Reviewed-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Tested-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Message-Id: <20181010170309.12045-3-akrowiak@linux.ibm.com>
      Signed-off-by: NCornelia Huck <cohuck@redhat.com>
      c5cd17af
  3. 20 8月, 2018 1 次提交
  4. 09 2月, 2018 1 次提交
  5. 22 1月, 2018 2 次提交
  6. 14 7月, 2017 3 次提交
  7. 21 12月, 2016 1 次提交
    • T
      Move target-* CPU file into a target/ folder · fcf5ef2a
      Thomas Huth 提交于
      We've currently got 18 architectures in QEMU, and thus 18 target-xxx
      folders in the root folder of the QEMU source tree. More architectures
      (e.g. RISC-V, AVR) are likely to be included soon, too, so the main
      folder of the QEMU sources slowly gets quite overcrowded with the
      target-xxx folders.
      To disburden the main folder a little bit, let's move the target-xxx
      folders into a dedicated target/ folder, so that target-xxx/ simply
      becomes target/xxx/ instead.
      
      Acked-by: Laurent Vivier <laurent@vivier.eu> [m68k part]
      Acked-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> [tricore part]
      Acked-by: Michael Walle <michael@walle.cc> [lm32 part]
      Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> [s390x part]
      Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> [s390x part]
      Acked-by: Eduardo Habkost <ehabkost@redhat.com> [i386 part]
      Acked-by: Artyom Tarasenko <atar4qemu@gmail.com> [sparc part]
      Acked-by: Richard Henderson <rth@twiddle.net> [alpha part]
      Acked-by: Max Filippov <jcmvbkbc@gmail.com> [xtensa part]
      Reviewed-by: David Gibson <david@gibson.dropbear.id.au> [ppc part]
      Acked-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> [cris&microblaze part]
      Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn> [unicore32 part]
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      fcf5ef2a
  8. 06 9月, 2016 1 次提交