* Multiple port support for virtio-console
@ 2009-09-03 12:53 Amit Shah
0 siblings, 0 replies; 6+ messages in thread
From: Amit Shah @ 2009-09-03 12:53 UTC (permalink / raw)
To: qemu-devel, virtualization, kvm
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*.
There are a few items on my todo list but this works well.
New since last send:
- live migration support**
- write path in the guest driver can now be called from irq context
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
** qemu now caches buffers till a char device is opened or till an
entire write request is not received in userspace. These buffers
aren't yet migrated.
Please review.
Amit
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Multiple Port Support for virtio-console
2009-09-09 8:11 Multiple Port Support " Amit Shah
@ 2009-09-10 11:57 ` Amit Shah
2009-09-10 11:57 ` Amit Shah
1 sibling, 0 replies; 6+ messages in thread
From: Amit Shah @ 2009-09-10 11:57 UTC (permalink / raw)
To: qemu-devel, kvm, virtualization
On (Wed) Sep 09 2009 [13:41:59], Amit Shah wrote:
>
> 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
I can't reproduce this badness anymore with the linux-next kernel in the
guest.
So I request the maintainers to please review this patchset for and
consider for inclusion.
Thanks,
Amit
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Multiple Port Support for virtio-console
2009-09-09 8:11 Multiple Port Support " Amit Shah
2009-09-10 11:57 ` Amit Shah
@ 2009-09-10 11:57 ` Amit Shah
1 sibling, 0 replies; 6+ messages in thread
From: Amit Shah @ 2009-09-10 11:57 UTC (permalink / raw)
To: qemu-devel, kvm, virtualization
On (Wed) Sep 09 2009 [13:41:59], Amit Shah wrote:
>
> 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
I can't reproduce this badness anymore with the linux-next kernel in the
guest.
So I request the maintainers to please review this patchset for and
consider for inclusion.
Thanks,
Amit
^ permalink raw reply [flat|nested] 6+ messages in thread
* Multiple Port Support for virtio-console
@ 2009-09-09 8:11 Amit Shah
2009-09-10 11:57 ` Amit Shah
2009-09-10 11:57 ` Amit Shah
0 siblings, 2 replies; 6+ 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] 6+ messages in thread
* Multiple Port Support for virtio-console
@ 2009-09-09 8:11 Amit Shah
0 siblings, 0 replies; 6+ 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] 6+ messages in thread
* Multiple port support for virtio-console
@ 2009-09-03 12:53 Amit Shah
0 siblings, 0 replies; 6+ messages in thread
From: Amit Shah @ 2009-09-03 12:53 UTC (permalink / raw)
To: qemu-devel, virtualization, kvm
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*.
There are a few items on my todo list but this works well.
New since last send:
- live migration support**
- write path in the guest driver can now be called from irq context
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
** qemu now caches buffers till a char device is opened or till an
entire write request is not received in userspace. These buffers
aren't yet migrated.
Please review.
Amit
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-09-10 11:57 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-03 12:53 Multiple port support for virtio-console Amit Shah
2009-09-03 12:53 Amit Shah
2009-09-09 8:11 Multiple Port Support " Amit Shah
2009-09-10 11:57 ` Amit Shah
2009-09-10 11:57 ` Amit Shah
2009-09-09 8:11 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.