Re: [Qemu-devel] qemu_power_down_request handling

2012-04-16 Thread Alexander Graf
On 16.04.2012, at 11:11, Bhushan Bharat-R65777 wrote: > > >> -Original Message- >> From: Alexander Graf [mailto:ag...@suse.de] >> Sent: Monday, April 16, 2012 1:47 PM >> To: Bhushan Bharat-R65777 >> Cc: qemu-devel@nongnu.org; Wood Scott-B07421 >> Subject: Re: qemu_power_down_request han

Re: [Qemu-devel] qemu_power_down_request handling

2012-04-16 Thread Bhushan Bharat-R65777
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Monday, April 16, 2012 1:47 PM > To: Bhushan Bharat-R65777 > Cc: qemu-devel@nongnu.org; Wood Scott-B07421 > Subject: Re: qemu_power_down_request handling > > > On 16.04.2012, at 10:07, Bhushan Bharat-R65777 wrote

[Qemu-devel] qemu_power_down_request handling

2012-04-16 Thread Bhushan Bharat-R65777
Hi All, The "-watchdog-action shutdown" uses the monitor system_shutdown mechanism but this does not actually powerdown the system. In code, If there is pending powerdown_request (qemu_system_powerdown_request() called) then it try to raise an irq. What is that irq supposed to do. Currently i

Re: [Qemu-devel] qemu_power_down_request handling

2012-04-16 Thread Alexander Graf
On 16.04.2012, at 10:07, Bhushan Bharat-R65777 wrote: > Hi All, > > The "-watchdog-action shutdown" uses the monitor system_shutdown mechanism > but this does not actually powerdown the system. > > In code, If there is pending powerdown_request > (qemu_system_powerdown_request() called) then

Re: [Qemu-devel] qemu_power_down_request handling

2012-04-16 Thread Bhushan Bharat-R65777
Also why not use qemu_system_shutdown_request() rather than qemu_system_powerdown_request() for "-watchdog-action shutdown" ? Thanks -Bharat > -Original Message- > From: Bhushan Bharat-R65777 > Sent: Monday, April 16, 2012 1:37 PM > To: 'qemu-devel@nongnu.org' > Cc: 'Alexander Graf'; Wo