Received: from eggs.gnu.org ([140.186.70.92]:54856) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTZiV-0002H5-2i for qemu-devel@nongnu.org; Mon, 06 Jun 2011 09:19:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTZiT-0005sz-P5 for qemu-devel@nongnu.org; Mon, 06 Jun 2011 09:19:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:65334) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTZiT-0005ss-9Z for qemu-devel@nongnu.org; Mon, 06 Jun 2011 09:19:37 -0400 From: Markus Armbruster References: <1307127842-12102-1-git-send-email-lcapitulino@redhat.com> <1307127842-12102-5-git-send-email-lcapitulino@redhat.com> Date: Mon, 06 Jun 2011 15:19:34 +0200 In-Reply-To: <1307127842-12102-5-git-send-email-lcapitulino@redhat.com> (Luiz Capitulino's message of "Fri, 3 Jun 2011 16:03:56 -0300") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [RFC 04/10] HMP: info block: Print the 'tray-open' key List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: kwolf@redhat.com, amit.shah@redhat.com, aliguori@us.ibm.com, qemu-devel@nongnu.org Luiz Capitulino writes: > It's printed before the "[not inserted]" or the "file" fields, like this: > > (qemu) info block > ide0-hd0: removable=0 file=disks/test.img ro=0 drv=qcow2 encrypted=0 > ide1-cd0: removable=1 locked=0 tray-open=0 file=/Fedora-14-x86_64-DVD.iso ro=1 drv=raw encrypted=0 > floppy0: removable=1 locked=0 tray-open=0 [not inserted] > sd0: removable=1 locked=0 tray-open=0 [not inserted] > (qemu) > > TODO: Confirm this won't break libvirt. As far as I can see, libvirt uses neither "info block" nor "query-block". I'd squash this into the previous commit.