From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47210) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4iSm-0003Pu-Rd for qemu-devel@nongnu.org; Wed, 31 Jul 2013 22:18:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V4iSd-0006GN-Ps for qemu-devel@nongnu.org; Wed, 31 Jul 2013 22:18:00 -0400 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Thu, 1 Aug 2013 04:17:23 +0200 Message-Id: <1375323463-32747-3-git-send-email-afaerber@suse.de> In-Reply-To: <1375323463-32747-1-git-send-email-afaerber@suse.de> References: <1375323463-32747-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH for-next v2 02/22] virtio-console: Use exitfn for virtserialport, too List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Amit Shah , Anthony Liguori , =?UTF-8?q?Andreas=20F=C3=A4rber?= , qemu-stable@nongnu.org virtconsole and virtserialport are identical in every other aspect except for the distinguishing VirtIOSerialPortClass::is_console field. Cc: qemu-stable@nongnu.org Signed-off-by: Andreas F=C3=A4rber --- hw/char/virtio-console.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/char/virtio-console.c b/hw/char/virtio-console.c index 6759e51..2e00ad2 100644 --- a/hw/char/virtio-console.c +++ b/hw/char/virtio-console.c @@ -185,6 +185,7 @@ static void virtserialport_class_init(ObjectClass *kl= ass, void *data) VirtIOSerialPortClass *k =3D VIRTIO_SERIAL_PORT_CLASS(klass); =20 k->init =3D virtconsole_initfn; + k->exit =3D virtconsole_exitfn; k->have_data =3D flush_buf; k->set_guest_connected =3D set_guest_connected; dc->props =3D virtserialport_properties; --=20 1.8.1.4