Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LreNe-0001XR-Qy for qemu-devel@nongnu.org; Wed, 08 Apr 2009 16:28:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LreNZ-0001XE-D1 for qemu-devel@nongnu.org; Wed, 08 Apr 2009 16:28:17 -0400 Received: from [199.232.76.173] (port=35606 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LreNZ-0001XB-7Z for qemu-devel@nongnu.org; Wed, 08 Apr 2009 16:28:13 -0400 Received: from e32.co.us.ibm.com ([32.97.110.150]:58455) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LreNY-0003Ni-TO for qemu-devel@nongnu.org; Wed, 08 Apr 2009 16:28:13 -0400 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e32.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id n38KPE8E009038 for ; Wed, 8 Apr 2009 14:25:14 -0600 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n38KS9nX199830 for ; Wed, 8 Apr 2009 14:28:09 -0600 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n38KS9T3017526 for ; Wed, 8 Apr 2009 14:28:09 -0600 Subject: Re: [Qemu-devel] Re: [libvirt] Re: [PATCH 2/3] Introduce monitor 'wait' command From: Hollis Blanchard In-Reply-To: <49DCFC90.8070805@codemonkey.ws> References: <1239200204-4934-1-git-send-email-aliguori@us.ibm.com> <1239200204-4934-2-git-send-email-aliguori@us.ibm.com> <20090408143335.GS18076@redhat.com> <49DCBCBE.6010102@redhat.com> <49DCE266.9080809@us.ibm.com> <20090408190611.GC10947@shareable.org> <49DCFC90.8070805@codemonkey.ws> Content-Type: text/plain Date: Wed, 08 Apr 2009 15:28:08 -0500 Message-Id: <1239222488.21926.39.camel@slate.austin.ibm.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: libvir-list@redhat.com, Jan Kiszka , qemu-devel@nongnu.org, Gerd Hoffmann On Wed, 2009-04-08 at 14:35 -0500, Anthony Liguori wrote: > You're basically saying that if something isn't connected, drop them. > If it is connected, do a monitor_printf() such that you're never queuing > events. Entirely reasonable and I've considered it. > > However, I do like the idea though of QEMU queuing events for a certain > period of time. Not everyone always has something connected to a > monitor. I may notice that my NFS server (which runs in a VM) is not > responding, VNC to the system, switch to the monitor, and take a look at > the event log. If I can get the past 10 minutes of events, I may see > something useful like a host IO failure. "10 minutes" is the red flag for me. Why not 5 minutes? 60 minutes? 24 hours? The fact that it's so arbitrary suggests it doesn't really belong. If you care, you can attach a logging daemon that keeps the last 10 minutes worth of data... -- Hollis Blanchard IBM Linux Technology Center