1. 17 4月, 2019 1 次提交
  2. 16 4月, 2019 5 次提交
  3. 15 4月, 2019 1 次提交
    • J
      qemu: Don't cache microcode version · 673c62a3
      Jiri Denemark 提交于
      My earlier commit be46f613 was incomplete. It removed caching of
      microcode version in the CPU driver, which means the capabilities XML
      will see the correct microcode version. But it is also cached in the
      QEMU capabilities cache where it is used to detect whether we need to
      reprobe QEMU. By missing the second place, the original commit
      be46f613 made the situation even worse since libvirt would report
      correct microcode version while still using the old host CPU model
      (visible in domain capabilities XML).
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      673c62a3
  4. 13 4月, 2019 12 次提交
  5. 12 4月, 2019 7 次提交
  6. 11 4月, 2019 11 次提交
  7. 10 4月, 2019 3 次提交
    • A
      tests: Fix MinGW build for domaincapstest · 947ea866
      Andrea Bolognani 提交于
      Commit 5b9819ee started using the virFileWrapper APIs in
      the test program, and correctly called them only in the section
      of code guarded by WITH_QEMU; however, a single call to the
      virFileWrapperClearPrefixes() function ended up in the
      hypervisor-agnostic section, causing a build failure on MinGW.
      
      Move the call to the QEMU-only section; while at it, also drop
      the virFileWrapperRemovePrefix() calls, which are entirely
      redundant since we'd drop all prefixes immediately afterwards
      anyway.
      Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      Acked-by: NMichal Privoznik <mprivozn@redhat.com>
      947ea866
    • 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
    • M
      qemu_firmware: Introduce qemuFirmwareGetSupported · 9c0d73bf
      Michal Privoznik 提交于
      The point of this API is to fetch all FW descriptors, parse them
      and return list of supported interfaces and SMM feature for given
      combination of machine type and guest architecture.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Acked-by: NLaszlo Ersek <lersek@redhat.com>
      9c0d73bf