1. 26 9月, 2016 1 次提交
  2. 21 9月, 2016 1 次提交
    • J
      qemu: Ignore graphics cookie if port == 0 · 2e164b45
      Jiri Denemark 提交于
      Old libvirt represents
      
          <graphics type='spice'>
            <listen type='none'/>
          </graphics>
      
      as
      
          <graphics type='spice' autoport='no'/>
      
      In this mode, QEMU doesn't listen for SPICE connection anywhere and
      clients have to use virDomainOpenGraphics* APIs to attach to the domain.
      That is, the client has to run on the same host where the domains runs
      and it's impossible to tell the client to reconnect to the destination
      QEMU during migration (unless there is some kind of proxy on the host).
      
      While current libvirt correctly ignores such graphics devices when
      creating graphics migration cookie, old libvirt just sends
      
          <graphics type='spice' port='0' listen='0.0.0.0' tlsPort='-1'/>
      
      in the cookie. After seeing this cookie, we happily would call
      client_migrate_info QMP command and wait for SPICE_MIGRATE_COMPLETED
      event, which is quite pointless since the doesn't know where to connecti
      anyway. We should just ignore such cookies.
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1376083Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      2e164b45
  3. 12 9月, 2016 1 次提交
    • J
      qemu: Don't use query-migrate on destination · 56258a38
      Jiri Denemark 提交于
      When migration fails, we need to poke QEMU monitor to check for a reason
      of the failure. We did this using query-migrate QMP command, which is
      not supposed to return any meaningful result on the destination side.
      Thus if the monitor was still functional when we detected the migration
      failure, parsing the answer from query-migrate always failed with the
      following error message:
      
          "info migration reply was missing return status"
      
      This irrelevant message was then used as the reason for the migration
      failure replacing any message we might have had.
      
      Let's use harmless query-status for poking the monitor to make sure we
      only get an error if the monitor connection is broken.
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1374613Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      56258a38
  4. 09 9月, 2016 1 次提交
  5. 25 8月, 2016 1 次提交
    • P
      qemu: migration: Prepare for non-contiguous vcpu configurations · 48e3d428
      Peter Krempa 提交于
      Introduce a new migration cookie flag that will be used for any
      configurations that are not compatible with libvirt that would not
      support the specific vcpu hotplug approach. This will make sure that old
      libvirt does not fail to reproduce the configuration correctly.
      48e3d428
  6. 22 8月, 2016 1 次提交
  7. 02 8月, 2016 2 次提交
  8. 18 7月, 2016 1 次提交
  9. 08 7月, 2016 1 次提交
  10. 30 6月, 2016 1 次提交
  11. 22 6月, 2016 6 次提交
  12. 16 6月, 2016 1 次提交
    • C
      qemu: migration: use consistent error message · e6001cc5
      Cole Robinson 提交于
      The other two DomainHasBlockJob usage error messages don't contain
      'an', so unify things to save translators some effort. Dropping
      the 'an' is closer to the sentence structure in the errors from
      qemuDomainDiskBlockJobIsActive as well
      e6001cc5
  13. 09 6月, 2016 1 次提交
  14. 08 6月, 2016 1 次提交
  15. 07 6月, 2016 3 次提交
  16. 25 5月, 2016 1 次提交
  17. 20 5月, 2016 1 次提交
  18. 18 4月, 2016 2 次提交
  19. 15 4月, 2016 1 次提交
    • C
      qemu: migration: Drop dead VNC cookie handling · dae0e227
      Cole Robinson 提交于
      The only caller of this code is:
      
          for (i = 0; i < dom->def->ngraphics; i++) {
             if (dom->def->graphics[i]->type == VIR_DOMAIN_GRAPHICS_TYPE_SPICE) {
                 if (!(mig->graphics =
                       qemuMigrationCookieGraphicsAlloc(driver, dom->def->graphics[i])))
                     return -1;
                 mig->flags |= QEMU_MIGRATION_COOKIE_GRAPHICS;
                 break;
             }
          }
      
      So this is never triggered for VNC, and in fact VNC has no support for
      seamless migration anyways so that seems correct. Drop the dead VNC
      handling.
      dae0e227
  20. 14 4月, 2016 3 次提交
  21. 13 4月, 2016 2 次提交
  22. 01 4月, 2016 1 次提交
  23. 22 3月, 2016 3 次提交
  24. 21 3月, 2016 3 次提交