From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joanna Rutkowska Subject: Re: S3 sleep in dom0 breaks dom0<->domU wallclock synchronization Date: Thu, 08 Jul 2010 16:06:57 +0200 Message-ID: <4C35DB81.40309@invisiblethingslab.com> References: <4C3338FD.90201@invisiblethingslab.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0593090505==" Return-path: In-Reply-To: <4C3338FD.90201@invisiblethingslab.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Jeremy Fitzhardinge , "xen-devel@lists.xensource.com" , Konrad Rzeszutek Wilk , Jan Beulich , Jeremy Fitzhardinge , Rafal Wojtczuk List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0593090505== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig9CE883511F1710E27B086D3C" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9CE883511F1710E27B086D3C Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 07/06/10 16:09, Joanna Rutkowska wrote: > On 07/06/10 14:50, Keir Fraser wrote: >> On 06/07/2010 11:27, "Joanna Rutkowska" >> wrote: >> >>>> Wouldn't it be much simpler to not introduce any new logic at all an= d >>>> just let Dom0 tools/scripts take care of properly suspending >>>> (checkpointing) all (minimally all pv, but I would really think trea= ting >>>> different kinds of guests differently here is unnecessary) guests >>>> before doing a host suspend, as Jeremy had suggested in an earlier >>>> reply? >>>> >>> >>> But wouldn't this require dumping all the VMs memory do disk? Can we = use >>> xm pause instead, i.e. will it notify VMs properly? >> >> It just requires the guests to be put through a guest-side suspend/res= ume >> cycle. The usual tools-side work of saving to disk etc could be elided= =2E Yes, >> it probably makes sense to extend that existing mechanism to include S= 3 as >> well. Just needs someone to do the work. :-) >> >=20 > Perhaps it will also solve the resume problem on Core i5/HT systems... >=20 For now, I have added another pm-utils hook that does something like this on every system resume: DATE=3D$(date) qvm-run --all -u root "date -s \"$DATE\"" The qvm-run command is Qubes-specific, but I can imagine one could add a similar functionality to xm. I've been using this for a few days now, and it seems to work very well. joanna. --------------enig9CE883511F1710E27B086D3C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkw124EACgkQORdkotfEW86JPwCfZALwdj0P5fcwAnHLYOWGh3B8 H40AoPKXiPEJMD9U+s8laYNLX8y4k0xH =3NmF -----END PGP SIGNATURE----- --------------enig9CE883511F1710E27B086D3C-- --===============0593090505== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0593090505==--