1. 03 12月, 2018 19 次提交
  2. 29 11月, 2018 5 次提交
    • A
      tests: Sync qemucaps2xml with qemucapabilities · 022c4b7a
      Andrea Bolognani 提交于
      Commits d7434ae8 and 9c4afbda added replies files for
      QEMU 3.0.0 on s390x and QEMU 3.1.0 on x86_64 respectively, but
      only enabled the corresponding test in qemucapabilities and not
      in qemucaps2xml.
      Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      022c4b7a
    • J
      virsh: Strip XML declaration when extracting CPU XMLs · fcd1c865
      Jiri Denemark 提交于
      Since commit v4.3.0-336-gc84726fb all
      {hypervisor-,}cpu-{baseline,compare} commands use a generic
      vshExtractCPUDefXMLs helper for extracting individual CPU definitions
      from the provided input file. The helper wraps the input file in a
      <container> element so that several independent elements can be easily
      parsed from the file. This works fine except when the file starts with
      XML declaration (<?xml version="1.0" ... ?>) because the XML declaration
      cannot be put inside any element. In fact it has to be at the very
      beginning of the XML document without any preceding white space
      characters. We can just simply skip the XML declaration.
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1592737Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      fcd1c865
    • J
      qemu: Fix post-copy migration on the source · eca9d21e
      Jiri Denemark 提交于
      Post-copy migration has been broken on the source since commit
      v3.8.0-245-g32c29f10 which implemented support for
      pause-before-switchover QEMU migration capability.
      
      Even though the migration itself went well, the source did not really
      know when it switched to the post-copy mode despite the messages logged
      by MIGRATION event handler. As a result of this, the events emitted by
      source libvirtd were not accurate and statistics of the completed
      migration would cover only the pre-copy part of migration. Moreover, if
      migration failed during the post-copy phase for some reason, the source
      libvirtd would just happily resume the domain, which could lead to disk
      corruption.
      
      With the pause-before-switchover capability enabled, the order of events
      emitted by QEMU changed:
      
                          pause-before-switchover
                 disabled                        enabled
          MIGRATION, postcopy-active      STOP
          STOP                            MIGRATION, pre-switchover
                                          MIGRATION, postcopy-active
      
      The STOP even handler checks the migration status (postcopy-active) and
      sets the domain state accordingly. Which is sufficient when
      pause-before-switchover is disabled, but once we enable it, the
      migration status is still active when we get STOP from QEMU. Thus the
      domain state set in the STOP handler has to be corrected once we are
      notified that migration changed to postcopy-active.
      
      This results in two SUSPENDED events to be emitted by the source
      libvirtd during post-copy migration. The first one with
      VIR_DOMAIN_EVENT_SUSPENDED_MIGRATED detail, while the second one reports
      the corrected VIR_DOMAIN_EVENT_SUSPENDED_POSTCOPY detail. This is
      inevitable because we don't know whether migration will eventually
      switch to post-copy at the time we emit the first event.
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1647365Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      eca9d21e
    • E
      test: caps: Add capabilities for QEMU 3.1.0 · 9c4afbda
      Erik Skultety 提交于
      These are based on QEMU v3.1.0-rc2-41-g4822f1ee9e.
      Acked-by: NPeter Krempa <pkrempa@redhat.com>
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      9c4afbda
    • D
      Refresh translations from zanata · 72d48f18
      Daniel P. Berrangé 提交于
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      72d48f18
  3. 28 11月, 2018 7 次提交
  4. 27 11月, 2018 9 次提交