Revision 78411c60 lib/constants.py

b/lib/constants.py
390 390
HV_USB_MOUSE = "usb_mouse"
391 391
HV_DEVICE_MODEL = "device_model"
392 392
HV_INIT_SCRIPT = "init_script"
393
HV_MIGRATION_PORT = "migration_port"
393 394

  
394 395
HVS_PARAMETER_TYPES = {
395 396
  HV_BOOT_ORDER: VTYPE_STRING,
......
414 415
  HV_USB_MOUSE: VTYPE_STRING,
415 416
  HV_DEVICE_MODEL: VTYPE_STRING,
416 417
  HV_INIT_SCRIPT: VTYPE_STRING,
418
  HV_MIGRATION_PORT: VTYPE_INT,
417 419
  }
418 420

  
419 421
HVS_PARAMETERS = frozenset(HVS_PARAMETER_TYPES.keys())
......
607 609
    HV_INITRD_PATH: '',
608 610
    HV_ROOT_PATH: '/dev/sda1',
609 611
    HV_KERNEL_ARGS: 'ro',
612
    HV_MIGRATION_PORT: 8002,
610 613
    },
611 614
  HT_XEN_HVM: {
612 615
    HV_BOOT_ORDER: "cd",
......
619 622
    HV_PAE: True,
620 623
    HV_KERNEL_PATH: "/usr/lib/xen/boot/hvmloader",
621 624
    HV_DEVICE_MODEL: "/usr/lib/xen/bin/qemu-dm",
625
    HV_MIGRATION_PORT: 8002,
622 626
    },
623 627
  HT_KVM: {
624 628
    HV_KERNEL_PATH: "/boot/vmlinuz-2.6-kvmU",
......
637 641
    HV_NIC_TYPE: HT_NIC_PARAVIRTUAL,
638 642
    HV_DISK_TYPE: HT_DISK_PARAVIRTUAL,
639 643
    HV_USB_MOUSE: '',
644
    HV_MIGRATION_PORT: _autoconf.KVM_MIGRATION_PORT,
640 645
    },
641 646
  HT_FAKE: {
642 647
    },

Also available in: Unified diff