[PATCH 07/10] virtio: console: Use a control message to add ports

2010-04-05 Thread Amit Shah
Instead of the host and guest independently enumerating ports, switch to a control message to add ports where the host supplies the port number so there's no ambiguity or a possibility of a race between the host and the guest port numbers. We now no longer need the 'nr_ports' config value. Since

Re: [PATCH 07/10] virtio: console: Use a control message to add ports

2010-04-05 Thread Rusty Russell
On Mon, 5 Apr 2010 11:24:11 pm Amit Shah wrote: @@ -1431,13 +1414,20 @@ static int __devinit virtcons_probe(struct virtio_device *vdev) err = -ENOMEM; goto free_vqs; } + } Minor nit: gratuitous whitespace addition. Cheers,