qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCHv3 RFC] qemu-kvm: stop devices on vmstop


From: Gerd Hoffmann
Subject: [Qemu-devel] Re: [PATCHv3 RFC] qemu-kvm: stop devices on vmstop
Date: Mon, 22 Nov 2010 10:57:34 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100827 Red Hat/3.1.3-1.el6 Thunderbird/3.1.3

On 11/21/10 20:16, Michael S. Tsirkin wrote:
Stop running devices on vmstop, so that VM does not interact with
outside world at that time.

Whitelist system handlers which run even when VM is stopped.
These are specific handlers like monitor, gdbstub, migration.
I'm not really sure about ui: spice and vnc: do they need to run?

Yes, vnc and spice should run. They serve the clients. They also don't change device state.

cheers,
  Gerd

PS: Well, in the spice case this isn't 100% true, the handlers can change qxl device state in some cases. But spice has a start/stop handler which takes care to flush all outstanding work which could change device state on vmstop, so it is save to keep the handlers active when the vm is in stopped state.




reply via email to

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