|Subject:||Re: [Qemu-devel] Re: virtio-serial: An interface for host-guest communication|
|Date:||Mon, 10 Aug 2009 12:27:03 -0500|
|User-agent:||Thunderbird 22.214.171.124 (X11/20090320)|
Anthony Liguori wrote:
There is nothing sane about vmchannel. It's just an attempt to bypass QEMU which is going to introduce all sorts of complexities wrt migration, guest compatibility, etc.However, as I've mentioned repeatedly, the reason I won't merge virtio-serial is that it duplicates functionality with virtio-console. If the two are converged, I'm happy to merge it. I'm not opposed to having more functionality.
NB: the userspace interface for these devices should be a tty, not a new character device.
If you want to add a new bustype for these devices, and then have an entry in sysfs that had some sort of identification string, that's perfectly acceptable.
Also note though that this is exactly what usb-serial is today. /sys/bus/usbserial contains all the usb serial devices and you can get a vendor id/device id to uniquely identify the device type.
Using virtio vs. usb has it's advantage but the userspace interface model should be roughly equivalent.
Regards, Anthony Liguori
|[Prev in Thread]||Current Thread||[Next in Thread]|