WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] VM-Tool: C-based Xen management tools

To: Mark Williamson <Mark.Williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] VM-Tool: C-based Xen management tools
From: Anthony Liguori <anthony@xxxxxxxxxxxxx>
Date: Mon, 14 Feb 2005 11:15:22 -0600
Cc: Anthony Liguori <aliguori@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx, Nivedita Singhvi <niv@xxxxxxxxxx>
Delivery-date: Mon, 14 Feb 2005 17:16:24 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <200502141635.48773.maw48@xxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <420D296B.7000106@xxxxxxxxxx> <200502112238.39080.maw48@xxxxxxxxxxxx> <4210CD5E.7030207@xxxxxxxxxx> <200502141635.48773.maw48@xxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)
Mark Williamson wrote:

The current implementation sidesteps all these by specifying port IDs. e.g. port 1 on my root hub always belongs to VM1 (when running), port 2 on hub 3 always belongs to VM2 (when running), etc.
Yeah, I think we'll always have to support this as a fallback option.

Not sure the best solution here.  One of the reasons I've held off on USB.

For comparison, do you know what abstraction other systems do? Do they assign ports or associate devices with VMs?
Not sure. The only thing I know that does USB virtualization is VMware and I've not played with that feature (I think it's a relatively new feature).

udev/namedev have to deal with this to ensure that devices have a unique (and consistent) /dev entry. It currently uses a tiered approach to determine exactly what the device is. It's not perfect but it works reasonably well. The best link I could find explaining it with a quick google is:

http://www.gentoo.org/doc/en/udev-guide.xml

A GUI would be really handy for PCI/USB because it would provide an easy way to pick devices by name (instead of specifying an series of identifiers/bus/etc in the config).

The latter is definitely an attractive option... If we added support for both ways of doing things, paranoid people (or people with weird devices!) could use the port specifiers, whilst others used device IDs.
I agree completely. I'm currently adding proper documentation to vm-tools but after that's done I'll add USB virtualization and try to implement a mechanism to select by device ID and push out another version to the list.

Regards,

--
Anthony Liguori
anthony@xxxxxxxxxxxxx



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel