Ticket #15 (assigned defect)

Opened 3 years ago

Last modified 2 years ago

Q refuses to terminate if guest has crashed

Reported by: andreas.faerber@… Owned by: mike
Priority: normal Milestone: Q₂-0.9.1aX
Component: Q Control Version: Q-0.9.0a89
Severity: normal Keywords:
Cc:

Description

When a guest has crashed Q does not recognize this and refuses to quit, saying a guest were still running.

As a workaround Q needs to be killed.

Change History

Changed 3 years ago by mike

  • status changed from new to assigned

Changed 2 years ago by cordney

  • owner changed from mike to cordney
  • status changed from assigned to new

Changed 2 years ago by mike

  • owner changed from cordney to mike
  • status changed from new to assigned

We will alter the current stop-(micro)Icon to kill a guest instantly (force-quit). The User will be warned before this happens.

Changed 2 years ago by mike

  • milestone set to Q-0.9.0aX

Changed 2 years ago by andreasf

Are you sure this fixes the issue of a segmentation fault in QEMU? I rather thought some sort of liveness check might need to be added...

  • either checking/polling from Q Control that the softmmu is still running,
  • or, slightly better, by notifying Q Control from the softmmu that it is in fact still running.

I got the impression that currently the softmmu notifies Q Control of its shutdown only if it shuts down cleanly?

An easier interim solution would be to change the close behavior of Q [Control] to allow to shutdown Q and all running guests.

The problem is, someone may try to close the Q Control window with no intent of force-quitting guests so it should not be too easy to accidentally do this and loose data.

Changed 2 years ago by mike

I'll do it like that: - I check if the task is still running, this should catch segfaults - I check if the guest is accessible via the distributed Object

if these checks fail, I prompt the user for action. (Guest does not respond, force-shutdown?).

This is handled by guest. I think a global shutdown is not needed.

Changed 2 years ago by mike

  • milestone changed from Q-0.9.0aX to Q₂-0.9.1aX
Note: See TracTickets for help on using tickets.