|
| From: | Blue Swirl |
| Subject: | Re: [Qemu-devel] [PATCH] virtio_serial: A char device for simple guest <-> host communication |
| Date: | Tue, 23 Jun 2009 18:15:18 +0300 |
On 6/23/09, Amit Shah <address@hidden> wrote:
> We expose multiple char devices ("ports") for simple communication
> between the host userspace and guest.
> +struct virtio_serial_config {
> + __u32 nr_ports;
> + __u16 status;
> +} __attribute__((packed));
There is still structure packing. I'd use __u16 for both fields, do
you really need 4 gigs of ports?.
| [Prev in Thread] | Current Thread | [Next in Thread] |