def METHOD_NAME(self, node_index=0):
    self.check_numa_nodes_availability()
    vmxml = vm_xml.VMXML.new_from_inactive_dumpxml(self.vm.name)
    self.params['backup_vmxml'] = vmxml.copy()
    kernel_hp_file = self.params.get('kernel_hp_file')
    if kernel_hp_file and kernel_hp_file.count('/sys/devices/system/node/'):
        self.params['kernel_hp_file'] = kernel_hp_file % self.online_nodes_withmem[node_index]