qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] qemu_power_down_request handling


From: Bhushan Bharat-R65777
Subject: [Qemu-devel] qemu_power_down_request handling
Date: Mon, 16 Apr 2012 08:07:01 +0000

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 
it in NULL pointer so does not do anything.

Code snapshot -- vl.c : main_loop_should_exit()

....
    if (qemu_powerdown_requested()) {
        monitor_protocol_event(QEVENT_POWERDOWN, NULL);
        qemu_irq_raise(qemu_system_powerdown);
    }
. . . .

Is the powerdown_request handling not complete?

Thanks
-Bharat 
        




reply via email to

[Prev in Thread] Current Thread [Next in Thread]