| Message ID | 1375313326-14966-1-git-send-email-afaerber@suse.de |
|---|---|
| State | New |
| Headers | show |
On (Thu) 01 Aug 2013 [01:28:46], Andreas Färber wrote: > 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> Reviewed-by: Amit Shah <amit.shah@redhat.com> Please pick for 1.6 and 1.5. Thanks, Amit
Applied. Thanks. Regards, Anthony Liguori
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 *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;
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> --- Cherry-picked and tested via device_del. hw/char/virtio-console.c | 1 + 1 file changed, 1 insertion(+)