Revision 07b8a2b5 lib/hypervisor/hv_kvm.py

b/lib/hypervisor/hv_kvm.py
376 376
            vnc_arg = '%s:%d' % (vnc_bind_address, display)
377 377
        else:
378 378
          logging.error("Network port is not a valid VNC display (%d < %d)."
379
                        " Not starting VNC" %
380
                        (instance.network_port,
381
                         constants.VNC_BASE_PORT))
379
                        " Not starting VNC", instance.network_port,
380
                        constants.VNC_BASE_PORT)
382 381
          vnc_arg = 'none'
383 382

  
384 383
        # Only allow tls and other option when not binding to a file, for now.
......
686 685
          raise errors.HypervisorError("Migration %s at the kvm level" %
687 686
                                       status)
688 687
        else:
689
          logging.info("KVM: unknown migration status '%s'" % status)
688
          logging.info("KVM: unknown migration status '%s'", status)
690 689
          time.sleep(2)
691 690

  
692 691
    utils.KillProcess(pid)

Also available in: Unified diff