
# HG changeset patch # User Deepti B. Kalakeri <deeptik@linux.vnet.ibm.com> # Date 1237384697 25200 # Node ID 7e5d84e400ea3e90ea93c7cec02d94558b41c343 # Parent b8c1d36035b8077c3b2242fc8f76b8faf6d0d0b6 [TEST] Adding the Emulator field to VSSD for successful remote migration. To test these change we need the "Add Emulator attribute so users can specify an emulator for the guest" Libvirt-CIM provider patch. Signed-off-by: Deepti B. Kalakeri <deeptik@linux.vnet.ibm.com> diff -r b8c1d36035b8 -r 7e5d84e400ea suites/libvirt-cim/lib/XenKvmLib/vsms.py --- a/suites/libvirt-cim/lib/XenKvmLib/vsms.py Wed Mar 18 06:52:11 2009 -0700 +++ b/suites/libvirt-cim/lib/XenKvmLib/vsms.py Wed Mar 18 06:58:17 2009 -0700 @@ -98,6 +98,10 @@ self.CreationClassName = self.__class__.__name__ self.AutomaticShutdownAction = VSSD_RECOVERY_NONE self.AutomaticRecoveryAction = VSSD_RECOVERY_NONE + if virt == 'KVM' : + self.Emulator = const.KVM_default_emulator + elif virt == 'XenFV' : + self.Emulator = const.XenFV_default_emulator self.isFullVirt = (type == 'KVM' or virt == 'XenFV') if self.isFullVirt: