Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 160464 Details for
Bug 250420
[RHEL5.1]: Off-line (non-live) migrate of a RHEL5.1 PV guest panics the guest
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch that fixes the crash for me
save-restore.patch (text/plain), 2.37 KB, created by
Chris Lalancette
on 2007-08-01 20:58:32 UTC
(
hide
)
Description:
Patch that fixes the crash for me
Filename:
MIME Type:
Creator:
Chris Lalancette
Created:
2007-08-01 20:58:32 UTC
Size:
2.37 KB
patch
obsolete
>diff -urp /home/boston/clalance/cvs/redhat/kernel/RHEL-5/kernel-2.6.18/linux-2.6.18.noarch/drivers/xen/core/reboot.c linux-2.6.18.noarch/drivers/xen/core/reboot.c >--- /home/boston/clalance/cvs/redhat/kernel/RHEL-5/kernel-2.6.18/linux-2.6.18.noarch/drivers/xen/core/reboot.c 2007-08-01 12:00:27.000000000 -0400 >+++ linux-2.6.18.noarch/drivers/xen/core/reboot.c 2007-08-01 11:43:26.000000000 -0400 >@@ -117,6 +117,10 @@ static void post_suspend(void) > extern unsigned long *pfn_to_mfn_frame_list_list; > extern unsigned long *pfn_to_mfn_frame_list[]; > >+#ifdef CONFIG_SMP >+ cpu_initialized_map = cpu_online_map; >+#endif >+ > set_fixmap(FIX_SHARED_INFO, xen_start_info->shared_info); > > HYPERVISOR_shared_info = (shared_info_t *)fix_to_virt(FIX_SHARED_INFO); >diff -urp /home/boston/clalance/cvs/redhat/kernel/RHEL-5/kernel-2.6.18/linux-2.6.18.noarch/drivers/xen/core/smpboot.c linux-2.6.18.noarch/drivers/xen/core/smpboot.c >--- /home/boston/clalance/cvs/redhat/kernel/RHEL-5/kernel-2.6.18/linux-2.6.18.noarch/drivers/xen/core/smpboot.c 2007-08-01 12:00:57.000000000 -0400 >+++ linux-2.6.18.noarch/drivers/xen/core/smpboot.c 2007-08-01 11:37:23.000000000 -0400 >@@ -252,6 +252,8 @@ void __init smp_prepare_cpus(unsigned in > > xen_smp_intr_init(0); > >+ cpu_initialized_map = cpumask_of_cpu(0); >+ > /* Restrict the possible_map according to max_cpus. */ > while ((num_possible_cpus() > 1) && (num_possible_cpus() > max_cpus)) { > for (cpu = NR_CPUS-1; !cpu_isset(cpu, cpu_possible_map); cpu--) >@@ -304,8 +306,6 @@ void __init smp_prepare_cpus(unsigned in > #else > cpu_set(cpu, cpu_present_map); > #endif >- >- cpu_initialize_context(cpu); > } > > init_xenbus_allowed_cpumask(); >diff -urp /home/boston/clalance/cvs/redhat/kernel/RHEL-5/kernel-2.6.18/linux-2.6.18.noarch/include/xen/cpu_hotplug.h linux-2.6.18.noarch/include/xen/cpu_hotplug.h >--- /home/boston/clalance/cvs/redhat/kernel/RHEL-5/kernel-2.6.18/linux-2.6.18.noarch/include/xen/cpu_hotplug.h 2007-08-01 12:00:57.000000000 -0400 >+++ linux-2.6.18.noarch/include/xen/cpu_hotplug.h 2007-08-01 11:39:25.000000000 -0400 >@@ -4,6 +4,13 @@ > #include <linux/kernel.h> > #include <linux/cpumask.h> > >+#if defined(CONFIG_X86) && defined(CONFIG_SMP) >+extern cpumask_t cpu_initialized_map; >+#define cpu_set_initialized(cpu) cpu_set(cpu, cpu_initialized_map) >+#else >+#define cpu_set_initialized(cpu) ((void)0) >+#endif >+ > #if defined(CONFIG_HOTPLUG_CPU) > > int cpu_up_check(unsigned int cpu);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 250420
:
160417
| 160464