[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] what is needed to shutdown a guest (including Qemu proc
From: |
Tomasz Chmielewski |
Subject: |
Re: [Qemu-devel] what is needed to shutdown a guest (including Qemu process)? |
Date: |
Tue, 10 Jun 2008 15:38:59 +0200 |
User-agent: |
Thunderbird 2.0.0.12 (X11/20080305) |
Jamie Lokier schrieb:
(...)
When I want to halt the guest system, it shutdowns just fine up to:
Will now halt.
Synchronizing SCSI cache for disk sda:
System halted.
But the qemu-system-arm process continues to run.
Is there a workaround to that? I would expect qemu process to exit as well.
Try poweroff instead of halt.
No, it doesn't make a difference.
Note that it shutdowns fine (including qemu process) when the guest is x86.
With an ARM guest, qemu keeps running. Perhaps the guest needs something
in the kernel? I added APM, but it didn't make a difference.
When the guest is halted, this is what I get when I strace the
qemu-system-arm process (endlessly in a loop):
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn() = ? (mask now [])
clock_gettime(CLOCK_MONOTONIC, {7954727, 280679359}) = 0
clock_gettime(CLOCK_MONOTONIC, {7954727, 280821359}) = 0
clock_gettime(CLOCK_MONOTONIC, {7954727, 280954359}) = 0
clock_gettime(CLOCK_MONOTONIC, {7954727, 281085359}) = 0
clock_gettime(CLOCK_MONOTONIC, {7954727, 281215359}) = 0
timer_gettime(0, {it_interval={0, 0}, it_value={0, 0}}) = 0
timer_settime(0, 0, {it_interval={0, 0}, it_value={0, 2381000}}, NULL) = 0
select(8, [5 7], [], [], {0, 0}) = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {7954727, 281824359}) = 0
clock_gettime(CLOCK_MONOTONIC, {7954727, 281955359}) = 0
select(8, [5 7], [], [], {0, 10000}) = ? ERESTARTNOHAND (To be restarted)
--
Tomasz Chmielewski
http://wpkg.org