Lines Matching full:vcpu
2 * vcpu.h
4 * VCPU initialisation, query, and hotplug.
35 * @cmd == VCPUOP_??? (VCPU operation).
36 * @vcpuid == VCPU to operate on.
41 * Initialise a VCPU. Each VCPU can be initialised only once. A
42 * newly-initialised VCPU will not run until it is brought up by VCPUOP_up.
45 * structure containing the initial state for the VCPU. For x86
52 * Bring up a VCPU. This makes the VCPU runnable. This operation will fail
53 * if the VCPU has not been initialised (VCPUOP_initialise).
58 * Bring down a VCPU (i.e., make it non-runnable).
61 * VCPU stops running (i.e., the command is asynchronous). It is a good
62 * idea to ensure that the VCPU has entered a non-critical loop before
64 * synchronous if invoked by the VCPU itself.
65 * 2. After a VCPU is initialised, there is currently no way to drop all its
66 * references to domain memory. Even a VCPU that is down still holds
68 * practise to move a VCPU onto an 'idle' or default page table, LDT and
73 /* Returns 1 if the given VCPU is up. */
77 * Return information about the state and running time of a VCPU.
82 /* VCPU's current state (RUNSTATE_*). */
101 /* VCPU is currently running on a physical CPU. */
104 /* VCPU is runnable, but not currently scheduled on any physical CPU. */
107 /* VCPU is blocked (a.k.a. idle). It is therefore not runnable. */
111 * VCPU is not runnable, but it is not blocked.
125 * 2. Only one shared area may be registered per VCPU. The shared area is
126 * updated by the hypervisor each time the VCPU is scheduled. Thus
129 * VCPU was last scheduled to run.
144 * Set or stop a VCPU's periodic timer. Every VCPU has one periodic timer
157 * Set or stop a VCPU's single-shot timer. Every VCPU has one single-shot
181 * This may be called only once per vcpu.
192 /* Send an NMI to the specified VCPU. @extra_arg == NULL. */
196 * Get the physical ID information for a pinned vcpu's underlying physical
199 * This command returns -EINVAL if it is not a valid operation for this VCPU.
211 * Register a memory location to get a secondary copy of the vcpu time
212 * parameters. The master copy still exists as part of the vcpu shared
219 * for each vcpu, and choose the right one by an existing mechanism
220 * which allows it to get the current vcpu number (such as via a