[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [PATCH] virtio-serial: PCI device for simple host <
From: |
Richard W.M. Jones |
Subject: |
Re: [Qemu-devel] Re: [PATCH] virtio-serial: PCI device for simple host <-> guest communication |
Date: |
Tue, 9 Jun 2009 19:15:22 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Tue, Jun 09, 2009 at 07:15:25PM +0200, Jan Kiszka wrote:
> Amit Shah wrote:
> > This interface presents a char device from which bits can be
> > sent and read.
> >
> > Sample uses for such a device can be obtaining info from the
> > guest like the file systems used, apps installed, etc. for
> > offline usage and logged-in users, clipboard copy-paste, etc.
> > for online usage.
>
> Out of curiosity: What is the advantage over instantiating a multiport
> 16550A PCI card? Will those channels be so performance critical?
16550A has a couple of problems: The fixed sized FIFO (16 bytes) can
cause problems if you send data too quickly. (I've seen this problem
when sending too much data from host to the guest, but I can't find
the bug report right now ...). Secondly UARTs are complicated to
emulate compared to a clean virtio device. Would we be happy with the
address space taken up and amount of emulation going on once we had,
say, 16 emulated ports?
On the other hand, multiport cards don't require special drivers in
the guest ...
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 75 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
- [Qemu-devel] [RFC] virtio-serial device, Amit Shah, 2009/06/09
- [Qemu-devel] [PATCH] pci: add define for communication class devices, Amit Shah, 2009/06/09
- Re: [Qemu-devel] [PATCH] virtio-serial: PCI device for simple host <-> guest communication, Richard W.M. Jones, 2009/06/09
- Re: [Qemu-devel] [PATCH] virtio-serial: PCI device for simple host <-> guest communication, Stuart Brady, 2009/06/09
- Re: [Qemu-devel] [PATCH] virtio-serial: PCI device for simple host <-> guest communication, Anthony Liguori, 2009/06/09
- Re: [Qemu-devel] [PATCH] virtio-serial: PCI device for simple host <-> guest communication, Paul Brook, 2009/06/09
- Re: [Qemu-devel] [PATCH] virtio-serial: PCI device for simple host <-> guest communication, Amit Shah, 2009/06/10
- Re: [Qemu-devel] [PATCH] virtio-serial: PCI device for simple host <-> guest communication, Jamie Lokier, 2009/06/10
- Re: [Qemu-devel] [PATCH] virtio-serial: PCI device for simple host <-> guest communication, Amit Shah, 2009/06/11
- Re: [Qemu-devel] [PATCH] virtio-serial: PCI device for simple host <-> guest communication, Jamie Lokier, 2009/06/11
- Re: [Qemu-devel] [PATCH] virtio-serial: PCI device for simple host <-> guest communication, Amit Shah, 2009/06/11