1. 04 6月, 2020 1 次提交
  2. 26 5月, 2020 2 次提交
  3. 06 5月, 2020 1 次提交
  4. 26 3月, 2020 1 次提交
  5. 27 1月, 2020 1 次提交
  6. 10 12月, 2019 1 次提交
  7. 22 11月, 2019 1 次提交
  8. 15 11月, 2019 2 次提交
  9. 24 10月, 2019 2 次提交
  10. 23 8月, 2019 1 次提交
  11. 07 8月, 2019 1 次提交
  12. 10 4月, 2019 1 次提交
    • M
      domain capabilities: Expose firmware auto selection feature · 5b9819ee
      Michal Privoznik 提交于
      If a management application wants to use firmware auto selection
      feature it can't currently know if the libvirtd it's talking to
      support is or not. Moreover, it doesn't know which values that
      are accepted for the @firmware attribute of <os/> when parsing
      will allow successful start of the domain later, i.e. if the mgmt
      application wants to use 'bios' whether there exists a FW
      descriptor in the system that describes bios.
      
      This commit then adds 'firmware' enum to <os/> element in
      <domainCapabilities/> XML like this:
      
        <enum name='firmware'>
          <value>bios</value>
          <value>efi</value>
        </enum>
      
      We can see both 'bios' and 'efi' listed which means that there
      are descriptors for both found in the system (matched with the
      machine type and architecture reported in the domain capabilities
      earlier and not shown here).
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Acked-by: NLaszlo Ersek <lersek@redhat.com>
      5b9819ee
  13. 05 3月, 2019 1 次提交
  14. 15 6月, 2018 1 次提交
    • E
      conf: Fix formatting of <sev> element in domain capabilities XML · 6688393c
      Erik Skultety 提交于
      We only formatted the <sev> element when QEMU supported the feature when
      in fact we should always format the element to make clear that libvirt
      knows about the feature and the fact whether it is or isn't supported
      depends on QEMU version, in other words if QEMU doesn't support the
      feature we're going to format the following into the domain capabilities
      XML:
      
      <sev supported='no'/>
      
      This patch also adjusts the RNG schema accordingly in order to reflect
      the proposed change.
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      6688393c
  15. 25 5月, 2018 1 次提交
  16. 04 5月, 2018 2 次提交
  17. 25 1月, 2018 1 次提交
    • S
      cpu: Add support for al57 Intel features · e7cb9c4e
      Shaohe Feng 提交于
      We can start qemu with a "cpu,+la57" to set 57-bit vitrual address
      space. So VM can be aware that it need to enable 5-level paging.
      
      Corresponding QEMU commits:
              al57 6c7c3c21f95dd9af8a0691c0dd29b07247984122
      e7cb9c4e
  18. 18 9月, 2017 1 次提交
  19. 22 7月, 2017 1 次提交
    • D
      qemu: Add AAVMF32 to the list of known UEFIs · 123880d3
      dann frazier 提交于
      Add a path for UEFI VMs for AArch32 VMs, based on the path Debian is using.
      libvirt is the de facto canonical location for defining where distros
      should place these firmware images, so let's define this path here to try
      and minimize distro fragmentation.
      123880d3
  20. 07 3月, 2017 1 次提交
  21. 04 3月, 2017 3 次提交
  22. 28 11月, 2016 2 次提交
    • J
      qemu: Add support for unavailable-features · a1adfb0f
      Jiri Denemark 提交于
      QEMU 2.8.0 adds support for unavailable-features in
      query-cpu-definitions reply. The unavailable-features array lists CPU
      features which prevent a corresponding CPU model from being usable on
      current host. It can only be used when all the unavailable features are
      disabled. Empty array means the CPU model can be used without
      modifications.
      
      We can use unavailable-features for providing CPU model usability info
      in domain capabilities XML:
      
          <domainCapabilities>
            ...
            <cpu>
              <mode name='host-passthrough' supported='yes'/>
              <mode name='host-model' supported='yes'>
                <model fallback='allow'>Skylake-Client</model>
                ...
              </mode>
              <mode name='custom' supported='yes'>
                <model usable='yes'>qemu64</model>
                <model usable='yes'>qemu32</model>
                <model usable='no'>phenom</model>
                <model usable='yes'>pentium3</model>
                <model usable='yes'>pentium2</model>
                <model usable='yes'>pentium</model>
                <model usable='yes'>n270</model>
                <model usable='yes'>kvm64</model>
                <model usable='yes'>kvm32</model>
                <model usable='yes'>coreduo</model>
                <model usable='yes'>core2duo</model>
                <model usable='no'>athlon</model>
                <model usable='yes'>Westmere</model>
                <model usable='yes'>Skylake-Client</model>
                ...
              </mode>
            </cpu>
            ...
          </domainCapabilities>
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      a1adfb0f
    • J
      tests: Add QEMU 2.8.0 domain capabilities tests · fe66e2ff
      Jiri Denemark 提交于
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      fe66e2ff
  23. 26 11月, 2016 2 次提交
  24. 22 9月, 2016 4 次提交
    • J
      Show host model in domain capabilities · 14319c81
      Jiri Denemark 提交于
      The domain capabilities XML is capable of showing whether each guest CPU
      mode is supported or not with a possibility to provide additional
      details. This patch enhances host-model capability to advertise the
      exact CPU model which will be used as a host-model:
      
          <cpu>
              ...
              <mode name='host-model' supported='yes'>
                  <model fallback='allow'>Broadwell</model>
                  <vendor>Intel</vendor>
                  <feature policy='disable' name='aes'/>
                  <feature policy='require' name='vmx'/>
              </mode>
              ...
          </cpu>
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      14319c81
    • J
      domcaps: Add CPU usable flag · d4c007e6
      Jiri Denemark 提交于
      In case a hypervisor is able to tell us a list of supported CPU models
      and whether each CPU models can be used on the current host, we can
      propagate this to domain capabilities. This is a better alternative
      to calling virConnectCompareCPU for each supported CPU model.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      d4c007e6
    • J
      qemu: Fill in CPU domain capabilities · 84d38307
      Jiri Denemark 提交于
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      84d38307
    • J
      domcaps: Add support for listing supported CPU models · 167280e7
      Jiri Denemark 提交于
      The patch adds <cpu> element to domain capabilities XML:
      
          <cpu>
              <mode name='host-passthrough' supported='yes'/>
              <mode name='host-model' supported='yes'/>
              <mode name='custom' supported='yes'>
                  <model>Broadwell</model>
                  <model>Broadwell-noTSX</model>
                  ...
              </mode>
          </cpu>
      
      Applications can use it to inspect what CPU configuration modes are
      supported for a specific combination of domain type, emulator binary,
      guest architecture and machine type.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      167280e7
  25. 24 5月, 2016 1 次提交
  26. 16 5月, 2016 1 次提交
  27. 10 5月, 2016 2 次提交
  28. 06 5月, 2016 1 次提交