Re: [Qemu-devel] [PATCH] virtio-serial: virtio device for simple host <-> guest communication

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

[PATCH] virtio-serial: virtio device for simple host <-> guest communication

2009-06-23 Thread Amit Shah
This interface presents a char device from which bits can be sent and read. Sample uses for such a device can be obtaining info from the guest like the file systems used, apps installed, etc. for offline usage and logged-in users, clipboard copy-paste, etc. for online usage. Signed-off-by: Amit S