1. 04 4月, 2017 9 次提交
  2. 03 4月, 2017 7 次提交
    • A
      tests: Test ACPI, UEFI requirements · deb38c45
      Andrea Bolognani 提交于
      Make sure every combination of ACPI and UEFI works, or fails to
      work, as expected.
      deb38c45
    • A
      qemu: Enforce ACPI, UEFI requirements · 396ca36c
      Andrea Bolognani 提交于
      Depending on the architecture, requirements for ACPI and UEFI can
      be different; more specifically, while on x86 UEFI requires ACPI,
      on aarch64 it's the other way around.
      
      Enforce these requirements when validating the domain, and make
      the error message more accurate by mentioning that they're not
      necessarily applicable to all architectures.
      
      Several aarch64 test cases had to be tweaked because they would
      have failed the validation step otherwise.
      396ca36c
    • A
      qemu: Advertise ACPI support for aarch64 guests · 560335c3
      Andrea Bolognani 提交于
      So far, libvirt has assumed that only x86 supports ACPI,
      but that's inaccurate since aarch64 supports it too.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1429509
      560335c3
    • A
      qemu: Remove redundant capabilities · 5fbb16ba
      Andrea Bolognani 提交于
      Now that the NO_ACPI and NO_HPET capabilities are set
      automatically by virQEMUCapsInitQMPBasicArch() if
      appropriate for the architecture, they shouldn't be
      used manually to avoid masking bugs.
      5fbb16ba
    • A
      tests: Initialize basic capabilities properly · 1cf3e52a
      Andrea Bolognani 提交于
      The capabilities used in test cases should match those used
      during normal operation for the tests to make any sense.
      
      This results in the generated command line for a few test
      cases (most notably non-x86 test cases that were wrongly
      assuming they could use -no-acpi) changing.
      1cf3e52a
    • A
      qemu: Split virQEMUCapsInitArchQMPBasic() · a8fc7ef8
      Andrea Bolognani 提交于
      Instead of having a single function that probes the
      architecture from the monitor and then sets a bunch of
      basic capabilities based on it, have a separate function
      for each part: virQEMUCapsInitQMPArch() only sets the
      architecture, and virQEMUCapsInitQMPBasicArch() only sets
      the capabilities.
      
      This split will be useful later on, when we will want to
      set basic capabilities from the test suite without having
      to go through the pain of mocking the monitor.
      a8fc7ef8
    • A
      news: Allow empty <section> elements · a26603f6
      Andrea Bolognani 提交于
      Creating dummy <change> elements was a workaround for the
      HTML DTD not allowing empty <ul> elements, but we can do
      better by tweaking the the XSLT stylesheet.
      a26603f6
  3. 01 4月, 2017 1 次提交
  4. 03 4月, 2017 11 次提交
  5. 02 4月, 2017 1 次提交
  6. 01 4月, 2017 3 次提交
  7. 31 3月, 2017 2 次提交
  8. 30 3月, 2017 5 次提交
    • M
      qemuDomainSnapshotPrepare: Don't always assume vm->def->os.loader · fa3b5107
      Michal Privoznik 提交于
      In 9e246583 a check that denies internal snapshots when pflash
      based loader is configured for the domain. However, if there's
      none and an user tries to do an internal snapshot they will
      witness daemon crash as in that case vm->def->os.loader is NULL
      and we dereference it unconditionally.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      fa3b5107
    • J
      qemu: Check non-migratable host CPU features · 385c1cc9
      Jiri Denemark 提交于
      CPU features which change their value from disabled to enabled between
      two calls to query-cpu-model-expansion (the first with no extra
      properties set and the second with 'migratable' property set to false)
      can be marked as enabled and non-migratable in qemuMonitorCPUModelInfo.
      
      Since the code consuming qemuMonitorCPUModelInfo currently ignores the
      migratable flag, this change is effectively changing the CPU model
      advertised in domain capabilities to contain all features (even those
      which block migration). And this matches what we do for QEMU older than
      2.9.0, when we detect all CPUID bits ourselves without asking QEMU.
      
      As a result of this change
      
          <cpu mode='host-model'>
            <feature name='invtsc' policy='require'/>
          </cpu>
      
      will work with all QEMU versions. Such CPU definition would be forbidden
      with QEMU >= 2.9.0 without this patch.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      385c1cc9
    • J
      qemu: Check migratable host CPU features · 91927c62
      Jiri Denemark 提交于
      If calling query-cpu-model-expansion on the 'host'/'max' CPU model with
      'migratable' property set to false succeeds, we know QEMU is able to
      tell us which features would disable migration. Thus we can mark all
      enabled features as migratable.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      91927c62
    • J
      qemuMonitorCPUModelInfo: Add support for non-migratable features · 03a6a0db
      Jiri Denemark 提交于
      QEMU is able to tell us whether a CPU feature would block migration or
      not. This patch adds support for storing such features in
      qemuMonitorCPUModelInfo.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      03a6a0db
    • R
      docs: document bhyve UEFI support · 8a91e853
      Roman Bogorodskiy 提交于
       - Add a news entry
       - Update the driver page with documentation of the new options
         and some examples
      8a91e853
  9. 29 3月, 2017 1 次提交