Le 18 nov. 09 à 21:30, Brandon Hume a écrit :

On Wed, 2009-11-18 at 11:05 +0100, Gaëtan Lehmann wrote:
Is it possible to freeze a zone and unfreeze it a few seconds later?

No; a zone isn't a virtual machine in the way you seem to be thinking.
There's only one kernel running. You can kill -STOP the processes (some
will ignore it) but you can't stop the kernel short of hanging the
entire machine.

If this is x86, I'd investigate using a heavier-weight VM method, such
as VirtualBox.  Some SPARC machines have LDOMs as a possibility.


I don't want to stop the whole VM including the kernel - stopping all the processes would be fine.
A simple set of commands like

  zoneadm -z myzone freeze
  zoneadm -z myzone unfreeze

which ensure that all the processes in the zone are actually stopped (unlike the kill command I'm using now) would be great :-)

Gaëtan

--
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr  http://www.itk.org
http://www.mandriva.org  http://www.bepo.fr

Attachment: PGP.sig
Description: Ceci est une signature électronique PGP

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to