the right thing or return error if detected. A NULL cmdline, for example,
would currently generate a segfault.
Signed-off-by: Ben Thomas <bjthomas3@gmail.com>
suspend, and push the printf("suspend") out of xc_linux_save and into xc_save.
This means that xc_linux_save can be used without the xc_save wrapper if
desired.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
x86/32 map_domain_page() mapcache now being per-domain
rather than global.
Other cleanups include removal of static definition of
CPU0's idle domain. Instead a single, multi-cpu, idle domain
is dynamically created early during bootstrap.
Signed-off-by: Keir Fraser <keir@xensource.com>
then check curr_vcpu all with interrupts disabled. This in
turn requires us to hoist the heck of next's vcpu_dirty_cpumask
as sending the flush IPI needs us to have interrupts enabled to
avoid deadlock.
Signed-off-by: Keir Fraser <keir@xensource.com>
to be missed in some environments. This patch adds a sleep (with the same
amount of time of the one after xm block-detach) between attach and
detach operations, giving attach enough time to complete, making test 06
suceed.
Signed-off-by: Glauber de Oliveira Costa <glommer@br.ibm.com>
used in assembly files. Check that the public and private
definitions of these constants match up at run time.
Signed-off-by: Keir Fraser <keir@xensource.com>
adds the bitmap_scnprintf functions and scnprintf itself.
Add dirty cpu and cpu affinity info to 'q'-key debug output.
Signed-off-by: Keir Fraser <keir@xensource.com>
changing the context switch interface yet again.
domain_runnable() renamed to vcpu_runnable().
Fix stupid bug resulting in bogus value for
vcpu_dirty_cpumask, which caused vcpu_sync_execstate() to
fail sometimes.
Signed-off-by: Keir Fraser <keir@xensource.com>
context_switch_finalise(). Instead provide a back-call
context_switch_done() for situations where arch-specific
context_switch() function does not return to the caller,
or needs to do some parts of state restoration with
interrupts enabled.
Get rid of ugly hack in arch/ia64.
Signed-off-by: Keir Fraser <keir@xensource.com>
Add a new per-vcpu dirty cpumask (vcpu_dirty_cpumask), useful for
state flushing and selective tlb flushing.
Signed-off-by: Keir Fraser <keir@xensource.com>
leading to ill messages when X starts up (and potentially to other
problems). The attached patch fixes that. However, it also points out
that there is a potential disagreement between the dom0_ops interface
and the internal MTRR interface - the former expects an unsigned
register number from the domain, the latter wants a signed one and does
a lookup when it's negative. I would think that the lookup code should
just be ripped out of xen/arch/x86/mtrr/main.c.
Signed-off-by: Jan Beulich <JBeulich@novell.com>
But log's error message differs from other 3 command's error messages,
when parameter is given.
# xm log 1
Error: 'xm log' requires 0 argument.
log Print the xend log
Other 3 commands ignore parameter.
I think it might be better symmetricalize.
Signed-off-by: Yoshinori Katase <y_katase@soft.fujitsu.com>