All of lore.kernel.org
 help / color / mirror / Atom feed
* Multiple ports support for virtio_console; major number for dev
@ 2009-09-11 14:13 Amit Shah
  2009-09-11 14:13 ` [PATCH] virtio_console: Add support for multiple ports for generic guest and host communication Amit Shah
  2009-09-11 14:13 ` Amit Shah
  0 siblings, 2 replies; 113+ messages in thread
From: Amit Shah @ 2009-09-11 14:13 UTC (permalink / raw)
  To: rusty; +Cc: alan, virtualization, linux-kernel


Hello,

This is the patch that I have for adding support for multiple ports to
virtio_console. It's pretty stable in my testing so far and the memory
corruption that I had earlier has been resolved in linux-next so I'm
proposing this for inclusion.

This currently uses device major number 60 from the experimental range;
Alan could you please reserve a new major number for virtio_console?

Rusty, can you give this a review once more?

Thanks,
		Amit

^ permalink raw reply	[flat|nested] 113+ messages in thread
* Multiple Port Support for virtio-console
@ 2009-09-09  8:11 Amit Shah
  2009-09-09  8:12 ` [PATCH] virtio_console: Add support for multiple ports for generic guest and host communication Amit Shah
  2009-09-09  8:12 ` Amit Shah
  0 siblings, 2 replies; 113+ messages in thread
From: Amit Shah @ 2009-09-09  8:11 UTC (permalink / raw)
  To: qemu-devel, kvm, virtualization


Hello all,

Here is a new iteration of the patch series that implements a
transport for guest and host communications.

I've tested for compatibility (old qemu & new kernel, new qemu & old
kernel, new qemu & new kernel) and it all works fine*. Migration works
with the patch Juan just posted.

There are a few items on my todo list but this works well.

New since last send:
- migrate per-port buffers that are queued up
- in-qemu api for open/close/read/write of ports.
  - the read() is a callback that's invoked when complete data
    corresponding to one write() request on the guest is available.
- removed comments from virtio_console.c that are no longer relevant.
- address review comments by Juan

TODO:
- Convert all config writes to little endian in qemu / convert from
  little endian to host endian in guest
- Address a few FIXMEs spread in the code
- Introduce a watermark to stop a rogue host process flooding guest
  with data

Conditions:
* Heavy IO on an hvc port and a non-hvc port causes memory corruption
  each time, same place. It could be realted to locking but I doubt
  that. This still has to be sorted out

Please review.
	Amit

^ permalink raw reply	[flat|nested] 113+ messages in thread

end of thread, other threads:[~2009-10-06  6:57 UTC | newest]

Thread overview: 113+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-11 14:13 Multiple ports support for virtio_console; major number for dev Amit Shah
2009-09-11 14:13 ` [PATCH] virtio_console: Add support for multiple ports for generic guest and host communication Amit Shah
2009-09-11 14:13 ` Amit Shah
2009-09-11 16:00   ` Alan Cox
2009-09-11 16:00   ` Alan Cox
2009-09-11 16:38     ` Amit Shah
2009-09-11 17:26       ` Anthony Liguori
2009-09-11 17:33         ` Amit Shah
2009-09-11 17:33         ` Amit Shah
2009-09-11 17:35           ` Anthony Liguori
2009-09-16 10:23             ` Alan Cox
2009-09-16 22:20               ` Anthony Liguori
2009-09-17 13:06                 ` Markus Armbruster
2009-09-17 13:15                   ` Alan Cox
2009-09-17 13:41                     ` Amit Shah
2009-09-17 13:41                     ` Amit Shah
2009-09-17 15:57                       ` Alan Cox
2009-09-17 15:57                       ` Alan Cox
2009-09-17 16:46                         ` Amit Shah
2009-09-17 16:46                         ` Amit Shah
2009-09-17 13:15                   ` Alan Cox
2009-09-17 13:06                 ` Markus Armbruster
2009-09-18 16:00                 ` Alan Cox
2009-09-18 17:55                   ` Anthony Liguori
2009-09-18 17:55                   ` Anthony Liguori
2009-09-18 17:57                     ` H. Peter Anvin
2009-09-18 18:02                       ` Anthony Liguori
2009-09-18 18:02                       ` Anthony Liguori
2009-09-19  7:04                       ` Amit Shah
2009-09-19  7:04                       ` Amit Shah
2009-09-18 17:57                     ` H. Peter Anvin
2009-09-18 20:11                     ` Gerd Hoffmann
2009-09-18 20:11                     ` Gerd Hoffmann
2009-09-19  7:01                     ` Amit Shah
2009-09-19  7:01                     ` Amit Shah
2009-09-21 10:06                     ` Alan Cox
2009-09-21 10:06                     ` Alan Cox
2009-09-18 16:00                 ` Alan Cox
2009-09-16 22:20               ` Anthony Liguori
2009-09-16 10:23             ` Alan Cox
2009-09-11 17:35           ` Anthony Liguori
2009-09-11 17:26       ` Anthony Liguori
2009-09-11 16:38     ` Amit Shah
2009-09-15 12:37     ` Amit Shah
2009-09-15 12:37     ` Amit Shah
2009-09-15 12:57       ` Anthony Liguori
2009-09-15 12:57       ` Anthony Liguori
2009-09-15 13:03         ` Amit Shah
2009-09-15 13:03         ` Amit Shah
2009-09-15 13:37           ` Anthony Liguori
2009-09-15 13:37           ` Anthony Liguori
2009-09-15 14:08         ` Gerd Hoffmann
2009-09-15 14:08           ` Gerd Hoffmann
2009-09-15 14:09           ` Anthony Liguori
2009-09-15 14:09             ` Anthony Liguori
2009-09-22  2:44     ` Rusty Russell
2009-09-22  2:44     ` Rusty Russell
2009-09-22 15:45       ` Amit Shah
2009-09-22 15:45       ` Amit Shah
2009-09-29  9:24         ` Amit Shah
2009-09-29  9:24         ` Amit Shah
2009-09-29 10:09           ` Christian Borntraeger
2009-09-29 10:33             ` Amit Shah
2009-09-29 11:02               ` Christian Borntraeger
2009-09-29 11:40                 ` Christian Borntraeger
2009-09-29 11:40                 ` Christian Borntraeger
2009-09-29 11:02               ` Christian Borntraeger
2009-09-29 10:33             ` Amit Shah
2009-09-29 10:09           ` Christian Borntraeger
2009-09-29 12:03           ` Christian Borntraeger
2009-09-29 12:03           ` Christian Borntraeger
2009-09-29 12:20             ` Amit Shah
2009-09-29 12:20             ` Amit Shah
2009-09-29 12:56               ` Christian Borntraeger
2009-09-29 12:56               ` Christian Borntraeger
2009-09-29 13:09                 ` Amit Shah
2009-09-29 13:31                   ` Christian Borntraeger
2009-09-30 17:13                     ` Amit Shah
2009-09-30 17:13                     ` Amit Shah
2009-10-01  8:17                       ` Christian Borntraeger
2009-10-01  8:17                       ` Christian Borntraeger
2009-10-01  8:47                         ` Amit Shah
2009-10-01  8:47                         ` Amit Shah
2009-10-01  8:55                           ` Christian Borntraeger
2009-10-01  8:55                           ` Christian Borntraeger
2009-10-01  9:00                       ` Christian Borntraeger
2009-10-01 10:04                         ` Amit Shah
2009-10-01 10:04                         ` Amit Shah
2009-10-01  9:00                       ` Christian Borntraeger
2009-10-01 10:28                       ` Christian Borntraeger
2009-10-01 10:28                       ` Christian Borntraeger
2009-10-01 10:42                         ` Amit Shah
2009-10-01 10:42                         ` Amit Shah
2009-10-01 11:58                         ` Amit Shah
2009-10-01 11:58                         ` Amit Shah
2009-10-01 12:04                           ` Christian Borntraeger
2009-10-01 13:50                             ` Amit Shah
2009-10-01 13:50                             ` Amit Shah
2009-10-01 12:04                           ` Christian Borntraeger
2009-10-05 14:05                         ` Amit Shah
2009-10-05 14:05                           ` Amit Shah
2009-10-06  6:49                           ` Christian Borntraeger
2009-10-06  6:49                             ` Christian Borntraeger
2009-10-06  6:55                             ` Amit Shah
2009-10-06  6:55                               ` Amit Shah
2009-09-29 13:31                   ` Christian Borntraeger
2009-09-29 13:09                 ` Amit Shah
2009-09-29 13:11   ` Rusty Russell
2009-09-29 13:24     ` Amit Shah
2009-09-29 13:24     ` Amit Shah
2009-09-29 13:11   ` Rusty Russell
  -- strict thread matches above, loose matches on Subject: below --
2009-09-09  8:11 Multiple Port Support for virtio-console Amit Shah
2009-09-09  8:12 ` [PATCH] virtio_console: Add support for multiple ports for generic guest and host communication Amit Shah
2009-09-09  8:12 ` Amit Shah

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.