1. 16 10月, 2017 1 次提交
  2. 26 7月, 2017 1 次提交
  3. 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
  4. 18 4月, 2017 1 次提交
  5. 11 4月, 2017 1 次提交
  6. 04 4月, 2017 1 次提交
  7. 26 3月, 2017 1 次提交
    • R
      domaincapstest: add bhyve caps test · 74cfb5bb
      Roman Bogorodskiy 提交于
       * Extract filling bhyve capabilities from virBhyveDomainCapsBuild()
         into a new function virBhyveDomainCapsFill() to make testing
         easier by not having to mock firmware directory listing and
         hypervisor capabilities probing
       * Also, just presence of the firmware files is not sufficient
         to enable os.loader.supported, hypervisor should support UEFI
         boot too
       * Add tests to domaincapstest for the main caps possible flows:
          - when UEFI bootrom is supported
          - when video (fbus) is supported
          - neither of above is supported
      74cfb5bb
  8. 17 3月, 2017 1 次提交
  9. 14 3月, 2017 1 次提交
    • J
      qemu: Report better host-model CPUs in domain caps · e958fb5b
      Jiri Denemark 提交于
      One of the main reasons for introducing host-model CPU definition in a
      domain capabilities XML was the inability to express disabled features
      in a host capabilities XML. That is, when a host CPU is, e.g., Haswell
      without x2apic support, host capabilities XML will have to report it as
      Westmere + a bunch of additional features., but we really want to use
      Haswell - x2apic when creating a host-model CPU.
      
      Unfortunately, I somehow forgot to do the last step and the code would
      just copy the CPU definition found in the host capabilities XML. This
      changed recently for new QEMU versions which allow us to query host CPU,
      but any slightly older QEMU will not benefit from any change I did. This
      patch makes sure the right CPU model is filled in the domain
      capabilities even with old QEMU.
      
      The issue was reported in
      https://bugzilla.redhat.com/show_bug.cgi?id=1426456Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      e958fb5b
  10. 04 3月, 2017 1 次提交
  11. 06 1月, 2017 1 次提交
  12. 28 11月, 2016 1 次提交
  13. 26 11月, 2016 6 次提交
  14. 22 9月, 2016 5 次提交
    • 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
      qemu: Store host-model CPU in qemu capabilities · 68c70118
      Jiri Denemark 提交于
      Host capabilities provide libvirt's view of the host CPU, but for a
      useful support for host-model CPUs we really need a hypervisor's view of
      the CPU. And since the view can be differ with emulator, qemu
      capabilities is the best place to store the host CPU model.
      
      This patch just copies the CPU model from host capabilities, but this
      will change in the future.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      68c70118
    • 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
  15. 01 7月, 2016 2 次提交
  16. 25 6月, 2016 1 次提交
  17. 18 6月, 2016 1 次提交
  18. 14 6月, 2016 2 次提交
  19. 08 6月, 2016 2 次提交
  20. 25 5月, 2016 1 次提交
  21. 16 5月, 2016 3 次提交
  22. 10 5月, 2016 2 次提交
  23. 06 5月, 2016 3 次提交