Re: virtio-serial: A guest - host interface for simple communication

2009-06-25 Thread Rusty Russell
On Wed, 24 Jun 2009 10:09:37 pm Amit Shah wrote: On (Wed) Jun 24 2009 [13:45:01], Rusty Russell wrote: On Tue, 23 Jun 2009 10:12:31 pm Amit Shah wrote: Hello, Here are two patches. One implements a virtio-serial device in qemu and the other is the driver for a guest kernel.

Re: virtio-serial: A guest - host interface for simple communication

2009-06-24 Thread Amit Shah
On (Wed) Jun 24 2009 [13:45:01], Rusty Russell wrote: On Tue, 23 Jun 2009 10:12:31 pm Amit Shah wrote: Hello, Here are two patches. One implements a virtio-serial device in qemu and the other is the driver for a guest kernel. While working on a vmchannel interface that is needed for

Re: [Qemu-devel] virtio-serial: A guest - host interface for simple communication

2009-06-24 Thread Amit Shah
On (Wed) Jun 24 2009 [17:40:49], Jamie Lokier wrote: Amit Shah wrote: A few sample uses for a vmchannel are to share the host and guest clipboards (to allow copy/paste between a host and a guest), to lock the screen of the guest session when the vnc viewer is closed, to find out which

Re: [Qemu-devel] virtio-serial: A guest - host interface for simple communication

2009-06-24 Thread Jamie Lokier
Amit Shah wrote: On (Wed) Jun 24 2009 [17:40:49], Jamie Lokier wrote: Amit Shah wrote: A few sample uses for a vmchannel are to share the host and guest clipboards (to allow copy/paste between a host and a guest), to lock the screen of the guest session when the vnc viewer is closed,

Re: [Qemu-devel] virtio-serial: A guest - host interface for simple communication

2009-06-24 Thread Amit Shah
On (Wed) Jun 24 2009 [18:50:02], Jamie Lokier wrote: Amit Shah wrote: On (Wed) Jun 24 2009 [17:40:49], Jamie Lokier wrote: Amit Shah wrote: A few sample uses for a vmchannel are to share the host and guest clipboards (to allow copy/paste between a host and a guest), to lock the

Re: [Qemu-devel] virtio-serial: A guest - host interface for simple communication

2009-06-24 Thread Amit Shah
On (Wed) Jun 24 2009 [20:20:27], Jamie Lokier wrote: Amit Shah wrote: I think the interface from the guest POV stays the same: reads / writes to char devices. With virtio-serial, though, we can add a few other interesting things like names to ports, ability to hot-add ports on demand,

virtio-serial: A guest - host interface for simple communication

2009-06-23 Thread Amit Shah
Hello, Here are two patches. One implements a virtio-serial device in qemu and the other is the driver for a guest kernel. While working on a vmchannel interface that is needed for communication between guest userspace and host userspace, I saw that most of the interface can be abstracted out

Re: [Qemu-devel] virtio-serial: A guest - host interface for simple communication

2009-06-23 Thread Paul Brook
Here are two patches. One implements a virtio-serial device in qemu and the other is the driver for a guest kernel. So I'll ask again. Why is this separate from virtio-console? Paul -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to

Re: [Qemu-devel] virtio-serial: A guest - host interface for simple communication

2009-06-23 Thread Amit Shah
On (Tue) Jun 23 2009 [13:55:52], Paul Brook wrote: Here are two patches. One implements a virtio-serial device in qemu and the other is the driver for a guest kernel. So I'll ask again. Why is this separate from virtio-console? I'm basically writing a vmchannel and found out that a lot can

Re: [Qemu-devel] virtio-serial: A guest - host interface for simple communication

2009-06-23 Thread Paul Brook
On Tuesday 23 June 2009, Amit Shah wrote: On (Tue) Jun 23 2009 [13:55:52], Paul Brook wrote: Here are two patches. One implements a virtio-serial device in qemu and the other is the driver for a guest kernel. So I'll ask again. Why is this separate from virtio-console? I'm basically

Re: [Qemu-devel] virtio-serial: A guest - host interface for simple communication

2009-06-23 Thread Christian Bornträger
Am Dienstag 23 Juni 2009 14:55:52 schrieb Paul Brook: Here are two patches. One implements a virtio-serial device in qemu and the other is the driver for a guest kernel. So I'll ask again. Why is this separate from virtio-console? I did some work on virtio-console, since kvm on s390 does

Re: [Qemu-devel] virtio-serial: A guest - host interface for simple communication

2009-06-23 Thread Paul Brook
On Tuesday 23 June 2009, Christian Bornträger wrote: Am Dienstag 23 Juni 2009 14:55:52 schrieb Paul Brook: Here are two patches. One implements a virtio-serial device in qemu and the other is the driver for a guest kernel. So I'll ask again. Why is this separate from virtio-console? I

Re: [Qemu-devel] virtio-serial: A guest - host interface for simple communication

2009-06-23 Thread Christian Bornträger
Am Dienstag 23 Juni 2009 16:16:13 schrieb Paul Brook: I did some work on virtio-console, since kvm on s390 does not provide any other. I dont think we should mix two different types of devices into one driver. The only thing that these drivers have in common, is the fact that there are two

Re: [Qemu-devel] virtio-serial: A guest - host interface for simple communication

2009-06-23 Thread Daniel P. Berrange
On Tue, Jun 23, 2009 at 01:55:52PM +0100, Paul Brook wrote: Here are two patches. One implements a virtio-serial device in qemu and the other is the driver for a guest kernel. So I'll ask again. Why is this separate from virtio-console? In the guest I wouldn't want virtio-serial devices to

Re: virtio-serial: A guest - host interface for simple communication

2009-06-23 Thread Rusty Russell
On Tue, 23 Jun 2009 10:12:31 pm Amit Shah wrote: Hello, Here are two patches. One implements a virtio-serial device in qemu and the other is the driver for a guest kernel. While working on a vmchannel interface that is needed for communication between guest userspace and host userspace, I