virtio-console: Use exitfn for virtserialport, too
authorAndreas Färber <afaerber@suse.de>
Wed, 31 Jul 2013 23:28:46 +0000 (01:28 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 1 Aug 2013 16:18:32 +0000 (11:18 -0500)
commit203439ce0a832e36b276f10892846bd91ee836eb
tree6c5ada0135cf0f00a2728a68116a6218edb906ab
parent27915efb974999dd256a6c432a17432d9d84e606
virtio-console: Use exitfn for virtserialport, too

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ärber <afaerber@suse.de>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Message-id: 1375313326-14966-1-git-send-email-afaerber@suse.de
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/char/virtio-console.c