From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=50565 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNq4j-0006nF-Bj for qemu-devel@nongnu.org; Wed, 01 Dec 2010 12:02:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PNq4h-00064D-7W for qemu-devel@nongnu.org; Wed, 01 Dec 2010 12:02:37 -0500 Received: from mail-pz0-f45.google.com ([209.85.210.45]:41272) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PNq4h-00063t-1I for qemu-devel@nongnu.org; Wed, 01 Dec 2010 12:02:35 -0500 Received: by pzk2 with SMTP id 2so1341572pzk.4 for ; Wed, 01 Dec 2010 09:02:33 -0800 (PST) Message-ID: <4CF67FA4.9050705@codemonkey.ws> Date: Wed, 01 Dec 2010 11:02:28 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH v2 0/3] vnc/spice: add monitor commands to change+expire passwords. References: <1291123379-3101-1-git-send-email-kraxel@redhat.com> <4CF65769.2080807@codemonkey.ws> <4CF672C8.8050500@redhat.com> In-Reply-To: <4CF672C8.8050500@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org On 12/01/2010 10:07 AM, Gerd Hoffmann wrote: > On 12/01/10 15:10, Anthony Liguori wrote: >> On 11/30/2010 07:22 AM, Gerd Hoffmann wrote: >>> Hi, >>> >>> This patch series adds new monitor commands to set and expire >>> the password: >>> >>> set-password $protocol $secret >>> expire-password $protocol [ now | never | +secs | secs ] >>> >>> The time when the password expires can be specified either relative >>> (+60 == password expires in 60 seconds from now) or absolute in seconds >>> since 1970 aka unix-epoch. >> >> In the server TZ? > > No, GMT, i.e. what time(2) gives you. You're right, I confused myself. Regards, Anthony Liguori > >> Unless you have a strong desire to keep it, I would just drop the >> absolute bit. > > Internally it uses absolute times, so I though it may provide that > interface too as it is almost no extra effort and someone might find > it useful ... > > cheers, > Gerd