[PATCH] virtio_serial: A char device for simple guest <-> host communication

2009-06-23 Thread Amit Shah
We expose multiple char devices ("ports") for simple communication between the host userspace and guest. This is mainly intended for obtaining information from the guest. Sample offline usages can be: poking around in a guest to find out the file systems used, applications installed, etc. Online u

Re: [Qemu-devel] [PATCH] virtio_serial: A char device for simple guest <-> host communication

2009-06-23 Thread Blue Swirl
On 6/23/09, Amit Shah 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