Received: from eggs.gnu.org ([2001:4830:134:3::10]:47658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boUWS-000240-SZ for qemu-devel@nongnu.org; Mon, 26 Sep 2016 07:56:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1boUWN-0006k2-Vk for qemu-devel@nongnu.org; Mon, 26 Sep 2016 07:56:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51282) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boUWN-0006jo-Pc for qemu-devel@nongnu.org; Mon, 26 Sep 2016 07:56:31 -0400 Date: Mon, 26 Sep 2016 17:26:25 +0530 From: Amit Shah Message-ID: <20160926115625.GA1372@amit-lp.rh> References: <1474460268-26193-1-git-send-email-silbe@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1474460268-26193-1-git-send-email-silbe@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [PATCH] virtio-serial: virtio console emergency write support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sascha Silbe Cc: "Michael S. Tsirkin" , Paolo Bonzini , qemu-devel@nongnu.org, Cornelia Huck Hi, On (Wed) 21 Sep 2016 [14:17:48], Sascha Silbe wrote: > Add support for the virtio 1.0 "emergency write" > (VIRTIO_CONSOLE_F_EMERG_WRITE) feature. This is useful for early guest > debugging and might be used in cases where the guest crashes so badly > that it cannot use virtqueues. > > Disabled for compatibility machines to avoid exposing a new feature to > existing guests. > > Reviewed-by: Cornelia Huck > Signed-off-by: Sascha Silbe This looks fine, but can you split the patch - adding find_first_connected_console(), set_config, and then finally enabling the emergency_write feature? Thanks, Amit