search for: newcpu

Displaying 2 results from an estimated 2 matches for "newcpu".

2013 Jan 23
1
[PATCH V2] libxc, libxenstore: make the headers C++-friendlier
...ue Jan 22 09:33:10 2013 +0100 +++ b/xen/include/public/arch-x86/hvm/save.h Wed Jan 23 11:18:49 2013 +0200 @@ -269,15 +269,15 @@ struct hvm_hw_cpu_compat { }; static inline int _hvm_hw_fix_cpu(void *h) { - struct hvm_hw_cpu *new=h; - struct hvm_hw_cpu_compat *old=h; + struct hvm_hw_cpu *newcpu = (struct hvm_hw_cpu *)h; + struct hvm_hw_cpu_compat *old = (struct hvm_hw_cpu_compat *)h; /* If we copy from the end backwards, we should * be able to do the modification in-place */ - new->error_code=old->error_code; - new->pending_event=old->pending_event; -...
2005 Jun 07
8
[PATCH] add dom0 vcpu hotplug control
This patch adds new control messages for vcpu hotplug events. Via the xm vcpu_hotplug sub-program, VCPUS in domains can be enabled/disabled when CONFIG_HOTPLUG_CPU is enabled in the target domain''s kernel. Currently there is nothing that tracks whether a VCPU is up or down. My previous [1]patch added a new per-VCPU flag (VCPUF_down) which could be used to keep track of which VCPUS are