On 6/23/09, Amit Shah <amit.shah@xxxxxxxxxx> wrote: > This interface presents a char device from which bits can be > sent and read. > +struct virtio_serial_config > +{ > + uint32_t nr_ports; > + uint16_t status; > +} __attribute__((packed)); Obviously this has to match the kernel structure if you go for 16 bit nr_ports. _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/virtualization