[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH RFT 4/5] virtio-console: Use exitfn for virtserialpo
From: |
Andreas Färber |
Subject: |
[Qemu-devel] [PATCH RFT 4/5] virtio-console: Use exitfn for virtserialport, too |
Date: |
Fri, 7 Jun 2013 20:18:59 +0200 |
virtconsole and virtserialport are identical in every other aspect
except for the distinguishing VirtIOSerialPortClass::is_console field.
Cc: address@hidden
Signed-off-by: Andreas Färber <address@hidden>
---
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 7b1a382..73e18f2 100644
--- a/hw/char/virtio-console.c
+++ b/hw/char/virtio-console.c
@@ -192,6 +192,7 @@ static void virtserialport_class_init(ObjectClass *klass,
void *data)
VirtIOSerialPortClass *k = VIRTIO_SERIAL_PORT_CLASS(klass);
k->init = virtconsole_initfn;
+ k->exit = virtconsole_exitfn;
k->have_data = flush_buf;
k->set_guest_connected = set_guest_connected;
dc->props = virtserialport_properties;
--
1.8.1.4
- [Qemu-devel] [PATCH RFT 0/5] QOM realize for virtio, Andreas Färber, 2013/06/07
- [Qemu-devel] [PATCH RFT 4/5] virtio-console: Use exitfn for virtserialport, too,
Andreas Färber <=
- [Qemu-devel] [PATCH RFT 3/5] virtio-console: QOM'ify VirtConsole, Andreas Färber, 2013/06/07
- [Qemu-devel] [PATCH RFT 1/5] virtio-blk-dataplane: Improve error reporting, Andreas Färber, 2013/06/07
- [Qemu-devel] [PATCH RFT 5/5] virtio-serial-port: Convert to QOM realize/unrealize, Andreas Färber, 2013/06/07
- [Qemu-devel] [PATCH RFT 2/5] virtio: Convert VirtioDevice to QOM realize/unrealize, Andreas Färber, 2013/06/07