Displaying 1 result from an estimated 1 matches for "vcpu_hotplug_handler_t".
2005 Jun 07
8
[PATCH] add dom0 vcpu hotplug control
...11-xen-sparse/arch/xen/i386/kernel/smpboot.c 2005-06-06 22:05:33.000000000 -0500
+++ b/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/smpboot.c 2005-06-07 16:53:49.362987126 -0500
@@ -85,6 +85,13 @@
/* Set when the idlers are all forked */
int smp_threads_ready;
+#ifdef CONFIG_HOTPLUG_CPU
+struct vcpu_hotplug_handler_t {
+ void (*fn)();
+ u32 vcpu;
+};
+#endif
+
#if 0
/*
* Trampoline 80x86 program as an array.
@@ -1297,6 +1304,9 @@
}
#ifdef CONFIG_HOTPLUG_CPU
+#include <asm-xen/ctrl_if.h>
+/* hotplug down/up funtion pointer and target vcpu */
+struct vcpu_hotplug_handler_t vcpu_hotplug_handler...