search for: shutdown_requested

Displaying 5 results from an estimated 5 matches for "shutdown_requested".

2008 Jan 18
0
[PATCH] nicely terminate the device model script
...timer(rt_clock, handle_buffered_io, cpu_single_env); @@ -647,9 +648,14 @@ int main_loop(void) xenstore_record_dm_state("running"); while (1) { - while (!(vm_running && suspend_requested)) + while (!((vm_running && suspend_requested) || shutdown_requested)) /* Wait up to 10 msec. */ main_loop_wait(10); + + if (shutdown_requested) { + ret = EXCP_INTERRUPT; + break; + } fprintf(logfile, "device model saving state\n"); @@ -676,7 +682,7 @@ int main_loop(void) x...
2009 Mar 02
0
ioemu: make various functions in i386-dm/helper2.c static
...tic void handle_buffered_io(void *opaque) { CPUState *env = opaque; @@ -502,7 +503,7 @@ void handle_buffered_io(void *opaque) qemu_get_clock(rt_clock)); } -void cpu_handle_ioreq(void *opaque) +static void cpu_handle_ioreq(void *opaque) { extern int vm_running; extern int shutdown_requested; _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2012 Feb 08
28
[PATCH v3 0/6] initial suspend support
This patch series makes suspend support in qemu alot more useful. Right now the guest can put itself into s3, but qemu will wakeup the guest instantly. With this patch series applied the guest will stay suspended instead and there are a few events which can kick the guest out of suspend state: A monitor command, ps/2 input, serial input, rtc. Not much yet, but it''s a start with the
2010 Aug 12
59
[PATCH 00/15] RFC xen device model support
...ce the Xen mapcache piix3: introduce register_set_irq and register_map_irq piix_pci: introduce a write_config notifier vl.c: Introduce getter for shutdown_requested and reset_requested. xen: destroy the VM when shutdown is requested Makefile.target | 31 ++ arch_init.c | 2 + arch_init.h | 1 + configure...
2007 Oct 24
16
PATCH 0/10: Merge PV framebuffer & console into QEMU
The following series of 10 patches is a merge of the xenfb and xenconsoled functionality into the qemu-dm code. The general approach taken is to have qemu-dm provide two machine types - one for xen paravirt, the other for fullyvirt. For compatability the later is the default. The goals overall are to kill LibVNCServer, remove alot of code duplication and/or parallel impls of the same concepts, and