From sacadmin Wed Aug  5 16:26:11 2009
Received: from tethys.sfbay.sun.com (tethys.SFBay.Sun.COM [129.146.226.92])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n75NQAfA020550;
	Wed, 5 Aug 2009 16:26:10 -0700 (PDT)
Received: from tethys.sfbay.sun.com (localhost [127.0.0.1])
	by tethys.sfbay.sun.com (8.14.3+Sun/8.14.3) with ESMTP id n75NN6xO024412;
	Wed, 5 Aug 2009 16:23:06 -0700 (PDT)
Received: (from jg@localhost)
	by tethys.sfbay.sun.com (8.14.3+Sun/8.14.3/Submit) id n75NN6Di024409;
	Wed, 5 Aug 2009 16:23:06 -0700 (PDT)
Date: Wed, 5 Aug 2009 16:23:06 -0700 (PDT)
From: Jerry Gilliam <jg@tethys.sfbay.sun.com>
Message-Id: <200908052323.n75NN6Di024409@tethys.sfbay.sun.com>
To: PSARC-record@sac.sfbay.sun.com
Cc: Strony.Zhang@Sun.Com
Subject: VirtualBox USB Device Capture [PSARC/2009/422 FastTrack timeout 08/12/2009]
Status: RO
Content-Length: 564


Template Version: @(#)sac_nextcase 1.68 02/23/09 SMI
This information is Copyright 2009 Sun Microsystems
1. Introduction
    1.1. Project/Component Working Name:
	 VirtualBox USB Device Capture
    1.2. Name of Document Author/Supplier:
	 Author:  Strony Zhang
    1.3  Date of This Document:
	05 August, 2009
4. Technical Description
    See the case directory for more detail

6. Resources and Schedule
    6.4. Steering Committee requested information
   	6.4.1. Consolidation C-team Name:
		ON
    6.5. ARC review type: FastTrack
    6.6. ARC Exposure: open


From jerry.gilliam@sun.com Wed Aug  5 17:11:42 2009
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n760BfLr021591
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 5 Aug 2009 17:11:41 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n760BXcN027190;
	Thu, 6 Aug 2009 01:11:36 +0100 (BST)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KNX00H07HVARI00@nwk-avmta-1.sfbay.Sun.COM>; Wed,
 05 Aug 2009 17:11:34 -0700 (PDT)
Received: from jurassic-x4600.sfbay.sun.com ([129.146.17.63])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KNX001F0HV9TU60@nwk-avmta-1.sfbay.Sun.COM>; Wed,
 05 Aug 2009 17:11:34 -0700 (PDT)
Received: from [129.146.226.92] (tethys.SFBay.Sun.COM [129.146.226.92])
	by jurassic-x4600.sfbay.sun.com (8.14.3+Sun/8.14.3)
 with ESMTP id n760BX3N574274; Wed, 05 Aug 2009 17:11:33 -0700 (PDT)
Date: Wed, 05 Aug 2009 17:08:29 -0700
From: Jerry Gilliam <jerry.gilliam@sun.com>
Subject: VirtualBox USB Device Capture [PSARC/2009/422 08/12/2009]
To: PSARC-ext@sun.com
Cc: Strony Zhang <Strony.Zhang@sun.com>, ramshankar@sun.com, usb-tech@sun.com
Message-id: <4A7A1EFD.5070404@sun.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
User-Agent: Thunderbird 2.0.0.21 (X11/20090323)
Status: RO
Content-Length: 4506


I am sponsoring this fast-track on behalf of Strony Zhang,
with a timeout set to 08/12/2009.  The project desires
minor release binding.


-jg


----------------------------------

Template Version: @(#)sac_nextcase 1.68 02/23/09 SMI
This information is Copyright 2009 Sun Microsystems
1. Introduction
   1.1. Project/Component Working Name:
      VirtualBox USB Device Capture
   1.2. Name of Document Author/Supplier:
      Author:  Strony.Zhang
   1.3  Date of This Document:
       04 Aug, 2009

4. Technical Description

Background:
The VirtualBox is a virtualization software product. When VirtualBox
runs on Solaris host OS), it should be able to proxy the USB devices
plugged in the host OS to the guest OS depending on user's
configuration. To achieve this, the VirtualBox needs to control the 
entire USB device completely and ensure the USB device in the pristine
state for guest OS. No driver in host OS should be attached to the
device. Therefore, the VirtualBox team developed a Monitor driver for
capturing devices using the callback and a VirtualBox-specific USB
client driver for transferring data between guest OS and device.

Problem:
When the USB device is plugged in the Solaris system, usba (7D) will
create the compatible names and then attach the corresponding USB client
driver to it by default. During the process, the VirtualBox doesn't have 
a chance to request to attach its own driver to the USB device in which
it is interested.

Solution:
The usba(7D) provides the registration entry to VirtualBox for the
callback and makes the Virtual-specific USB client driver higher
priority than the default USB client driver.  When a USB device is
plugged in the system, the usba(7D) will first call the registered
callback function to query if VirtualBox wants to capture the device.
If yes, the VirtualBox-specific USB client driver will be attached to
the device. Once the VirtualBox exits or user doesn't want to access the 
USB device on guest OS, the VirtualBox will unregister the callback and
then Solaris will take over the USB device taken by VirtualBox.

Interfaces:
The interfaces are Contracted Project Private since they are intended to 
be only used by the VirtualBox.

The following new Interfaces provided by this project:

|-----------------------------------------------------------------------
| Interfaces                    |  Class.   |   Comments               |
|-----------------------------------------------------------------------
| struct usb_dev_str(9s)        |   C.P.P.  |  usb capture device info |
| usb_register_dev_driver(9f)   |   C.P.P   |  usb capture register    |
| usb_unregister_dev_driver(9f) |   C.P.P   |  usb capture unregister  |
| usb_dev_driver_callback()     |   C.P.P   |  usb capture callback    |
|-----------------------------------------------------------------------

They will be available in the <sys/usb/usbai.h>.

/*
* getting the device strings of manufacturer, product and serial number
*/
typedef struct usb_dev_str {
	char        *usb_mfg;         /* manufacturer string */
	char        *usb_product;     /* product string */
	char        *usb_serialno;    /* serial number string */
} usb_dev_str_t;

The callback interface is:

/*
* Return Values:
*      USB_SUCCESS     - VirtualBox will capture the device
*      USB_FAILURE     - VirtualBox will not capture the device
*/
typedef int (*usb_dev_driver_callback)(
	usb_dev_descr_t	*dev_descr,	/* ptr to device descriptor */
	usb_dev_str_t	*dev_str,	/* ptr to device strings */
	char		*path,		/* ptr to physical path */
	int    		bus,		/* USB bus address */
	int    		port,		/* USB port number */
	char		**drv,		/* capture driver name */
	void		*reserved)
	    usb_dev_driver_t;

If VirtualBox wants to capture the device, the client driver name
to be attached to the device will be returned by the parameter
(char **drv).

The callback registration and unregistration interfaces are:

int usb_register_dev_driver(dev_info_t *dip, usb_dev_driver_t cb);
void usb_unregister_dev_driver(dev_info_t *dip);

The return value of usb_register_dev_driver() will be USB_SUCCESS
or USB_FAILURE which indicates that the callback registration was
successful or failed.

5. Reference Documents:
PSARC/2000/542 USB Architecture Update project
PSARC/2003/207 USBA2.0: adding USBA interfaces to the DDI

6. Resources and Schedule
6.4. Steering Committee requested information
   6.4.1. Consolidation C-team Name:
       ON
6.5. ARC review type: FastTrack
6.6. ARC Exposure: open



From Richard.Matthews@Sun.COM Wed Aug 12 07:44:58 2009
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7CEivXZ001043
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 12 Aug 2009 07:44:57 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail3mpk.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n7CEiujF005056;
	Wed, 12 Aug 2009 07:44:57 -0700 (PDT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KO900L29QAXYT00@nwk-avmta-2.sfbay.sun.com>; Wed,
 12 Aug 2009 07:44:57 -0700 (PDT)
Received: from brmea-mail-1.sun.com ([192.18.98.31])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KO900LG0QA1NW30@nwk-avmta-2.sfbay.sun.com>; Wed,
 12 Aug 2009 07:44:25 -0700 (PDT)
Received: from fe-amer-09.sun.com ([192.18.109.79])
	by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n7CEiPdM011835; Wed,
 12 Aug 2009 14:44:25 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KO900200P9USL00@mail-amer.sun.com>; Wed, 12 Aug 2009 08:44:25 -0600 (MDT)
Received: from Rick-Matthews-MacBook-Pro-15.local ([unknown] [129.150.32.235])
 by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KO900FE0QA0DI00@mail-amer.sun.com>; Wed,
 12 Aug 2009 08:44:25 -0600 (MDT)
Date: Wed, 12 Aug 2009 09:45:05 -0500
From: Rick Matthews <Richard.Matthews@Sun.COM>
Subject: Re: VirtualBox USB Device Capture [PSARC/2009/422 08/12/2009]
In-reply-to: <4A7A1EFD.5070404@sun.com>
Sender: Richard.Matthews@Sun.COM
To: Jerry Gilliam <Jerry.Gilliam@Sun.COM>
Cc: PSARC-ext@Sun.COM, Strony Zhang <Strony.Zhang@Sun.COM>, ramshankar@Sun.COM,
        usb-tech@Sun.COM
Message-id: <4A82D571.7090206@Sun.COM>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <4A7A1EFD.5070404@sun.com>
User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605)
Status: RO
Content-Length: 5313

+1

Jerry Gilliam wrote:
>
> I am sponsoring this fast-track on behalf of Strony Zhang,
> with a timeout set to 08/12/2009.  The project desires
> minor release binding.
>
>
> -jg
>
>
> ----------------------------------
>
> Template Version: @(#)sac_nextcase 1.68 02/23/09 SMI
> This information is Copyright 2009 Sun Microsystems
> 1. Introduction
>   1.1. Project/Component Working Name:
>      VirtualBox USB Device Capture
>   1.2. Name of Document Author/Supplier:
>      Author:  Strony.Zhang
>   1.3  Date of This Document:
>       04 Aug, 2009
>
> 4. Technical Description
>
> Background:
> The VirtualBox is a virtualization software product. When VirtualBox
> runs on Solaris host OS), it should be able to proxy the USB devices
> plugged in the host OS to the guest OS depending on user's
> configuration. To achieve this, the VirtualBox needs to control the 
> entire USB device completely and ensure the USB device in the pristine
> state for guest OS. No driver in host OS should be attached to the
> device. Therefore, the VirtualBox team developed a Monitor driver for
> capturing devices using the callback and a VirtualBox-specific USB
> client driver for transferring data between guest OS and device.
>
> Problem:
> When the USB device is plugged in the Solaris system, usba (7D) will
> create the compatible names and then attach the corresponding USB client
> driver to it by default. During the process, the VirtualBox doesn't 
> have a chance to request to attach its own driver to the USB device in 
> which
> it is interested.
>
> Solution:
> The usba(7D) provides the registration entry to VirtualBox for the
> callback and makes the Virtual-specific USB client driver higher
> priority than the default USB client driver.  When a USB device is
> plugged in the system, the usba(7D) will first call the registered
> callback function to query if VirtualBox wants to capture the device.
> If yes, the VirtualBox-specific USB client driver will be attached to
> the device. Once the VirtualBox exits or user doesn't want to access 
> the USB device on guest OS, the VirtualBox will unregister the 
> callback and
> then Solaris will take over the USB device taken by VirtualBox.
>
> Interfaces:
> The interfaces are Contracted Project Private since they are intended 
> to be only used by the VirtualBox.
>
> The following new Interfaces provided by this project:
>
> |-----------------------------------------------------------------------
> | Interfaces                    |  Class.   |   Comments               |
> |-----------------------------------------------------------------------
> | struct usb_dev_str(9s)        |   C.P.P.  |  usb capture device info |
> | usb_register_dev_driver(9f)   |   C.P.P   |  usb capture register    |
> | usb_unregister_dev_driver(9f) |   C.P.P   |  usb capture unregister  |
> | usb_dev_driver_callback()     |   C.P.P   |  usb capture callback    |
> |-----------------------------------------------------------------------
>
> They will be available in the <sys/usb/usbai.h>.
>
> /*
> * getting the device strings of manufacturer, product and serial number
> */
> typedef struct usb_dev_str {
>     char        *usb_mfg;         /* manufacturer string */
>     char        *usb_product;     /* product string */
>     char        *usb_serialno;    /* serial number string */
> } usb_dev_str_t;
>
> The callback interface is:
>
> /*
> * Return Values:
> *      USB_SUCCESS     - VirtualBox will capture the device
> *      USB_FAILURE     - VirtualBox will not capture the device
> */
> typedef int (*usb_dev_driver_callback)(
>     usb_dev_descr_t    *dev_descr,    /* ptr to device descriptor */
>     usb_dev_str_t    *dev_str,    /* ptr to device strings */
>     char        *path,        /* ptr to physical path */
>     int            bus,        /* USB bus address */
>     int            port,        /* USB port number */
>     char        **drv,        /* capture driver name */
>     void        *reserved)
>         usb_dev_driver_t;
>
> If VirtualBox wants to capture the device, the client driver name
> to be attached to the device will be returned by the parameter
> (char **drv).
>
> The callback registration and unregistration interfaces are:
>
> int usb_register_dev_driver(dev_info_t *dip, usb_dev_driver_t cb);
> void usb_unregister_dev_driver(dev_info_t *dip);
>
> The return value of usb_register_dev_driver() will be USB_SUCCESS
> or USB_FAILURE which indicates that the callback registration was
> successful or failed.
>
> 5. Reference Documents:
> PSARC/2000/542 USB Architecture Update project
> PSARC/2003/207 USBA2.0: adding USBA interfaces to the DDI
>
> 6. Resources and Schedule
> 6.4. Steering Committee requested information
>   6.4.1. Consolidation C-team Name:
>       ON
> 6.5. ARC review type: FastTrack
> 6.6. ARC Exposure: open
>
>


-- 
---------------------------------------------------------------------
Rick Matthews                           email: Rick.Matthews@sun.com
Sun Microsystems, Inc.                  phone:+1(651) 554-1518
1270 Eagan Industrial Road              phone(internal): 54418
Suite 160                               fax:  +1(651) 554-1540
Eagan, MN 55121-1231 USA                main: +1(651) 554-1500		
---------------------------------------------------------------------


From Andrew.Gabriel@Sun.COM Wed Aug 12 08:25:28 2009
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7CFPRlq006153
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 12 Aug 2009 08:25:28 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id n7CFPPLc016393;
	Wed, 12 Aug 2009 23:25:26 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KO900105S6A9R00@nwk-avmta-2.sfbay.sun.com>; Wed,
 12 Aug 2009 08:25:22 -0700 (PDT)
Received: from gmp-eb-inf-2.sun.com ([192.18.6.24])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KO9000J3S691220@nwk-avmta-2.sfbay.sun.com>; Wed,
 12 Aug 2009 08:25:22 -0700 (PDT)
Received: from fe-emea-09.sun.com
 (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged))
	by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7CFPLU5005920; Wed,
 12 Aug 2009 15:25:21 +0000 (GMT)
Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KO900G00S2P1R00@fe-emea-09.sun.com>; Wed, 12 Aug 2009 16:25:10 +0100 (BST)
Received: from [81.187.162.109] ([unknown] [81.187.162.109])
 by fe-emea-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KO9007VMS5W1WA0@fe-emea-09.sun.com>; Wed,
 12 Aug 2009 16:25:08 +0100 (BST)
Date: Wed, 12 Aug 2009 16:26:13 +0100
From: Andrew Gabriel <Andrew.Gabriel@Sun.COM>
Subject: Re: VirtualBox USB Device Capture [PSARC/2009/422 08/12/2009]
In-reply-to: <4A7A1EFD.5070404@sun.com>
Sender: Andrew.Gabriel@Sun.COM
To: Jerry Gilliam <Jerry.Gilliam@Sun.COM>
Cc: PSARC-ext@Sun.COM, Strony Zhang <Strony.Zhang@Sun.COM>, ramshankar@Sun.COM,
        usb-tech@Sun.COM
Message-id: <4A82DF15.80304@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <4A7A1EFD.5070404@sun.com>
User-Agent: Thunderbird 2.0.0.21 (X11/20090323)
Status: RO
Content-Length: 1892

Jerry Gilliam wrote:
> 
> I am sponsoring this fast-track on behalf of Strony Zhang,
> with a timeout set to 08/12/2009.  The project desires
> minor release binding.

That means no S10 version, so I guess virtualbox will be designed to 
work on systems both with and without this new interface?

> -jg
> 
> 
> ----------------------------------
> 
> Template Version: @(#)sac_nextcase 1.68 02/23/09 SMI
> This information is Copyright 2009 Sun Microsystems
> 1. Introduction
>   1.1. Project/Component Working Name:
>      VirtualBox USB Device Capture
>   1.2. Name of Document Author/Supplier:
>      Author:  Strony.Zhang
>   1.3  Date of This Document:
>       04 Aug, 2009
> 
> 4. Technical Description

[...]

> Solution:
> The usba(7D) provides the registration entry to VirtualBox for the
> callback and makes the Virtual-specific USB client driver higher
> priority than the default USB client driver.  When a USB device is
> plugged in the system, the usba(7D) will first call the registered
> callback function to query if VirtualBox wants to capture the device.
> If yes, the VirtualBox-specific USB client driver will be attached to
> the device. Once the VirtualBox exits or user doesn't want to access the 
> USB device on guest OS, the VirtualBox will unregister the callback and
> then Solaris will take over the USB device taken by VirtualBox.

This seems to me to be lacking some necessary configuration.
For example, if systems are configured with "exclude: scsa2usb" as a 
matter of site security, it would seem that I could bypass this by using 
virtualbox? Is it sensible to allow virtualbox to take over all USB 
devices without any configurability?

If I plug in a USB device, let's say a memory stick, how does the system 
decide if native Solaris wants to use it, or an OS instance in 
Virtualbox, or which one across potentially several virtualboxes?

-- 
Andrew

From ramshankar@sun.com Wed Aug 12 08:36:49 2009
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7CFanB8006969
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 12 Aug 2009 08:36:49 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail3mpk.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n7CFalDd003673;
	Wed, 12 Aug 2009 08:36:49 -0700 (PDT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KO900H0FSPD3500@nwk-avmta-1.sfbay.Sun.COM>; Wed,
 12 Aug 2009 08:36:49 -0700 (PDT)
Received: from gmp-eb-inf-1.sun.com ([192.18.6.21])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KO900EDKSPBDPF0@nwk-avmta-1.sfbay.Sun.COM>; Wed,
 12 Aug 2009 08:36:48 -0700 (PDT)
Received: from fe-emea-10.sun.com
 (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged))
	by gmp-eb-inf-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7CFalhf006920; Wed,
 12 Aug 2009 15:36:47 +0000 (GMT)
Received: from conversion-daemon.fe-emea-10.sun.com by fe-emea-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009))
 id <0KO900K00SACEO00@fe-emea-10.sun.com>; Wed, 12 Aug 2009 16:36:38 +0100 (BST)
Received: from [10.16.204.30] ([unknown] [10.16.204.30])
 by fe-emea-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.02 64bit
 (built Apr 16 2009)) with ESMTPSA id <0KO90098ZSP1BWF0@fe-emea-10.sun.com>;
 Wed, 12 Aug 2009 16:36:37 +0100 (BST)
Date: Wed, 12 Aug 2009 17:36:37 +0200
From: Ramshankar <ramshankar@sun.com>
Subject: Re: VirtualBox USB Device Capture [PSARC/2009/422 08/12/2009]
In-reply-to: <4A82DF15.80304@sun.com>
Sender: Ramshankar.Venkataraman@sun.com
To: Andrew Gabriel <Andrew.Gabriel@sun.com>
Cc: Jerry Gilliam <Jerry.Gilliam@sun.com>, PSARC-ext@sun.com,
        Strony Zhang <Strony.Zhang@sun.com>, usb-tech@sun.com
Message-id: <4A82E185.4080903@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <4A7A1EFD.5070404@sun.com> <4A82DF15.80304@sun.com>
User-Agent: Thunderbird 2.0.0.21 (X11/20090505)
Status: RO
Content-Length: 2320

No, VirtualBox will not support USB on S10 hosts then. It would be great 
if this and another fix (regarding usb_reset_device) went into S10. But 
we at least require this in Nevada as soon as possible.

If we get the things in S10 we need we'd be more than happy to provide 
support for S10 as well but right now we don't have them.

Regards,
Ram.

Andrew Gabriel wrote:
> Jerry Gilliam wrote:
>>
>> I am sponsoring this fast-track on behalf of Strony Zhang,
>> with a timeout set to 08/12/2009.  The project desires
>> minor release binding.
> 
> That means no S10 version, so I guess virtualbox will be designed to 
> work on systems both with and without this new interface?
> 
>> -jg
>>
>>
>> ----------------------------------
>>
>> Template Version: @(#)sac_nextcase 1.68 02/23/09 SMI
>> This information is Copyright 2009 Sun Microsystems
>> 1. Introduction
>>   1.1. Project/Component Working Name:
>>      VirtualBox USB Device Capture
>>   1.2. Name of Document Author/Supplier:
>>      Author:  Strony.Zhang
>>   1.3  Date of This Document:
>>       04 Aug, 2009
>>
>> 4. Technical Description
> 
> [...]
> 
>> Solution:
>> The usba(7D) provides the registration entry to VirtualBox for the
>> callback and makes the Virtual-specific USB client driver higher
>> priority than the default USB client driver.  When a USB device is
>> plugged in the system, the usba(7D) will first call the registered
>> callback function to query if VirtualBox wants to capture the device.
>> If yes, the VirtualBox-specific USB client driver will be attached to
>> the device. Once the VirtualBox exits or user doesn't want to access 
>> the USB device on guest OS, the VirtualBox will unregister the 
>> callback and
>> then Solaris will take over the USB device taken by VirtualBox.
> 
> This seems to me to be lacking some necessary configuration.
> For example, if systems are configured with "exclude: scsa2usb" as a 
> matter of site security, it would seem that I could bypass this by using 
> virtualbox? Is it sensible to allow virtualbox to take over all USB 
> devices without any configurability?
> 
> If I plug in a USB device, let's say a memory stick, how does the system 
> decide if native Solaris wants to use it, or an OS instance in 
> Virtualbox, or which one across potentially several virtualboxes?
> 

From Andrew.Gabriel@Sun.COM Wed Aug 12 08:43:37 2009
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7CFhbFw007189
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 12 Aug 2009 08:43:37 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail3mpk.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n7CFhbRb007337;
	Wed, 12 Aug 2009 08:43:37 -0700 (PDT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KO900J03T0NQG00@brm-avmta-1.central.sun.com>; Wed,
 12 Aug 2009 09:43:35 -0600 (MDT)
Received: from gmp-eb-inf-2.sun.com ([192.18.6.24])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KO900661T0LQFB0@brm-avmta-1.central.sun.com>; Wed,
 12 Aug 2009 09:43:34 -0600 (MDT)
Received: from fe-emea-10.sun.com
 (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged))
	by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7CFhX1g007998; Wed,
 12 Aug 2009 15:43:33 +0000 (GMT)
Received: from conversion-daemon.fe-emea-10.sun.com by fe-emea-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009))
 id <0KO900B00SQ8JO00@fe-emea-10.sun.com>; Wed, 12 Aug 2009 16:43:10 +0100 (BST)
Received: from [81.187.162.109] ([unknown] [81.187.162.109])
 by fe-emea-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009))
 with ESMTPSA id <0KO900JGOSZXYC00@fe-emea-10.sun.com>; Wed,
 12 Aug 2009 16:43:09 +0100 (BST)
Date: Wed, 12 Aug 2009 16:44:14 +0100
From: Andrew Gabriel <Andrew.Gabriel@Sun.COM>
Subject: Re: VirtualBox USB Device Capture [PSARC/2009/422 08/12/2009]
In-reply-to: <4A82E185.4080903@sun.com>
Sender: Andrew.Gabriel@Sun.COM
To: Ramshankar <ramshankar@Sun.COM>
Cc: Jerry Gilliam <Jerry.Gilliam@Sun.COM>, PSARC-ext@Sun.COM,
        Strony Zhang <Strony.Zhang@Sun.COM>, usb-tech@Sun.COM
Message-id: <4A82E34E.4050704@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <4A7A1EFD.5070404@sun.com> <4A82DF15.80304@sun.com>
 <4A82E185.4080903@sun.com>
User-Agent: Thunderbird 2.0.0.21 (X11/20090323)
Status: RO
Content-Length: 695

Ramshankar wrote:
> No, VirtualBox will not support USB on S10 hosts then. It would be great 
> if this and another fix (regarding usb_reset_device) went into S10. But 
> we at least require this in Nevada as soon as possible.

My question was rather more will these new versions of virtualbox still 
work with S10 (i.e. will it be implemented so as to not fall over with 
usb_register_dev_driver(9f) not found on S10)?

> If we get the things in S10 we need we'd be more than happy to provide 
> support for S10 as well but right now we don't have them.

If you think there's any chance you might, then you should be looking 
for a patch/micro binding, but that wasn't my question.

-- 
Andrew

From ramshankar@sun.com Wed Aug 12 08:53:34 2009
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7CFrYxX007241
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 12 Aug 2009 08:53:34 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail3mpk.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n7CFqjxl012385;
	Wed, 12 Aug 2009 08:53:34 -0700 (PDT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KO900K0XTH4NF00@brm-avmta-1.central.sun.com>; Wed,
 12 Aug 2009 09:53:28 -0600 (MDT)
Received: from gmp-eb-inf-1.sun.com ([192.18.6.21])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KO9006RBTH1Q2A0@brm-avmta-1.central.sun.com>; Wed,
 12 Aug 2009 09:53:26 -0600 (MDT)
Received: from fe-emea-09.sun.com
 (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged))
	by gmp-eb-inf-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7CFrPgL008842; Wed,
 12 Aug 2009 15:53:25 +0000 (GMT)
Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KO900900TBXBQ00@fe-emea-09.sun.com>; Wed, 12 Aug 2009 16:53:17 +0100 (BST)
Received: from [10.16.204.30] ([unknown] [10.16.204.30])
 by fe-emea-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit
 (built Jul  2 2009)) with ESMTPSA id <0KO900J68TGT5K60@fe-emea-09.sun.com>;
 Wed, 12 Aug 2009 16:53:17 +0100 (BST)
Date: Wed, 12 Aug 2009 17:53:17 +0200
From: Ramshankar <ramshankar@sun.com>
Subject: Re: VirtualBox USB Device Capture [PSARC/2009/422 08/12/2009]
In-reply-to: <4A82E34E.4050704@sun.com>
Sender: Ramshankar.Venkataraman@sun.com
To: Andrew Gabriel <Andrew.Gabriel@sun.com>
Cc: Jerry Gilliam <Jerry.Gilliam@sun.com>, PSARC-ext@sun.com,
        Strony Zhang <Strony.Zhang@sun.com>, usb-tech@sun.com
Message-id: <4A82E56D.5010708@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <4A7A1EFD.5070404@sun.com> <4A82DF15.80304@sun.com>
 <4A82E185.4080903@sun.com> <4A82E34E.4050704@sun.com>
User-Agent: Thunderbird 2.0.0.21 (X11/20090505)
Status: RO
Content-Length: 885

On Solaris 10 our installer makes sure we don't try and load the USB 
drivers.

VirtualBox will not continue to work on S10 without this functionality.


Andrew Gabriel wrote:
> Ramshankar wrote:
>> No, VirtualBox will not support USB on S10 hosts then. It would be 
>> great if this and another fix (regarding usb_reset_device) went into 
>> S10. But we at least require this in Nevada as soon as possible.
> 
> My question was rather more will these new versions of virtualbox still 
> work with S10 (i.e. will it be implemented so as to not fall over with 
> usb_register_dev_driver(9f) not found on S10)?
> 
>> If we get the things in S10 we need we'd be more than happy to provide 
>> support for S10 as well but right now we don't have them.
> 
> If you think there's any chance you might, then you should be looking 
> for a patch/micro binding, but that wasn't my question.
> 

From Joerg.Schilling9ab33xy531fokus.fraunhofer.de@bounce.antispameurope.com Wed Aug 12 08:55:51 2009
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7CFtpWL007528
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 12 Aug 2009 08:55:51 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n7CFskuu045149
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Wed, 12 Aug 2009 09:55:50 -0600 (MDT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KO900K27TKWWS00@brm-avmta-1.central.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@Sun.COM); Wed, 12 Aug 2009 09:55:44 -0600 (MDT)
Received: from sca-ea-mail-3.sun.com ([192.18.43.21])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KO900689TKVQ4D0@brm-avmta-1.central.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@Sun.COM); Wed,
 12 Aug 2009 09:55:43 -0600 (MDT)
Received: from relay41i.sun.com ([192.5.209.70])
	by sca-ea-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n7CFZF7u002919	for
 <PSARC-ext@Sun.COM>; Wed, 12 Aug 2009 15:55:42 +0000 (GMT)
Received: from mms48es.mms.us.syntegra.com ([160.41.221.230] [160.41.221.230])
 by relay41i.sun.com with ESMTP id BT-MMP-2427886 for PSARC-ext@Sun.COM; Wed,
 12 Aug 2009 15:55:42 +0000 (Z)
Received: from relay43i.sun.com (relay43i.sun.com [192.5.209.74])
 by mms48es.mms.us.syntegra.com with ESMTP id BT-MMP-51902868 for
 PSARC-ext@Sun.COM; Wed, 12 Aug 2009 15:55:38 +0000 (Z)
Received: from relay04-haj2.antispameurope.com ([83.246.65.54] [83.246.65.54])
 by relay4i.sun.com with ESMTP id BT-MMP-3428783 for PSARC-ext@Sun.COM; Wed,
 12 Aug 2009 15:55:38 +0000 (Z)
Received: by relay04-haj2.antispameurope.com (ASE-Secure-MTA, from userid 1000)
	id D45E75EC197; Wed, 12 Aug 2009 17:55:36 +0200 (CEST)
Received: from pluto.fokus.fraunhofer.de
 (pluto.fokus.fraunhofer.de [195.37.77.164])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)	by relay04-haj2.antispameurope.com
 (ASE-Secure-MTA) with ESMTP id 57E335EC159; Wed,
 12 Aug 2009 17:55:35 +0200 (CEST)
Received: from EXCHSRV.fokus.fraunhofer.de
 (bohr.fokus.fraunhofer.de [10.147.9.231])	by pluto.fokus.fraunhofer.de
 (8.14.2/8.14.2) with SMTP id n7CFtZ8i010819; Wed,
 12 Aug 2009 17:55:35 +0200 (MEST)
Received: from rigel ([10.147.65.195]) by EXCHSRV.fokus.fraunhofer.de with
 Microsoft SMTPSVC(6.0.3790.3959); Wed, 12 Aug 2009 17:55:35 +0200
Date: Wed, 12 Aug 2009 17:55:03 +0200
From: Joerg.Schilling@fokus.fraunhofer.de (Joerg Schilling)
Subject: Re: VirtualBox USB Device Capture [PSARC/2009/422 08/12/2009]
In-reply-to: <4A82DF15.80304@sun.com>
Sender: Joerg.Schilling9ab33xy531fokus.fraunhofer.de@bounce.antispameurope.com
To: jerry.gilliam@sun.com, Andrew.Gabriel@sun.com
Cc: usb-tech@sun.com, ramshankar@sun.com, PSARC-ext@sun.com
Message-id: <4a82e5d7.HLxKeLrpriUe+eqv%Joerg.Schilling@fokus.fraunhofer.de>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 8BIT
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=0.0/5.0, scanned in 3.231sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <4A7A1EFD.5070404@sun.com> <4A82DF15.80304@sun.com>
User-Agent: nail 11.22 3/20/05
X-OriginalArrivalTime: 12 Aug 2009 15:55:35.0546 (UTC)
 FILETIME=[546B85A0:01CA1B65]
Status: RO
Content-Length: 667

Andrew Gabriel <Andrew.Gabriel@Sun.COM> wrote:

> If I plug in a USB device, let's say a memory stick, how does the system 
> decide if native Solaris wants to use it, or an OS instance in 
> Virtualbox, or which one across potentially several virtualboxes?

If you do this with VMware, you first tell vmware to capture e.g. the next USB
memory stick and to forward it.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily

From ramshankar@sun.com Wed Aug 12 09:03:09 2009
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7CG38YB007778
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 12 Aug 2009 09:03:09 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n7CG33V4051205;
	Wed, 12 Aug 2009 10:03:08 -0600 (MDT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KO900331TX7DS00@nwk-avmta-2.sfbay.sun.com>; Wed,
 12 Aug 2009 09:03:07 -0700 (PDT)
Received: from gmp-eb-inf-1.sun.com ([192.18.6.21])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KO9000PVTX41550@nwk-avmta-2.sfbay.sun.com>; Wed,
 12 Aug 2009 09:03:05 -0700 (PDT)
Received: from fe-emea-09.sun.com
 (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged))
	by gmp-eb-inf-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7CG34xJ009915; Wed,
 12 Aug 2009 16:03:04 +0000 (GMT)
Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KO900M00TR0US00@fe-emea-09.sun.com>; Wed, 12 Aug 2009 17:02:44 +0100 (BST)
Received: from [10.16.204.30] ([unknown] [10.16.204.30])
 by fe-emea-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit
 (built Jul  2 2009)) with ESMTPSA id <0KO900J1YTWJ5KB0@fe-emea-09.sun.com>;
 Wed, 12 Aug 2009 17:02:44 +0100 (BST)
Date: Wed, 12 Aug 2009 18:02:43 +0200
From: Ramshankar <ramshankar@sun.com>
Subject: Re: VirtualBox USB Device Capture [PSARC/2009/422 08/12/2009]
In-reply-to: <4A82E56D.5010708@sun.com>
Sender: Ramshankar.Venkataraman@sun.com
To: Andrew Gabriel <Andrew.Gabriel@sun.com>
Cc: Jerry Gilliam <Jerry.Gilliam@sun.com>, PSARC-ext@sun.com,
        Strony Zhang <Strony.Zhang@sun.com>, usb-tech@sun.com
Message-id: <4A82E7A3.3010900@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <4A7A1EFD.5070404@sun.com> <4A82DF15.80304@sun.com>
 <4A82E185.4080903@sun.com> <4A82E34E.4050704@sun.com>
 <4A82E56D.5010708@sun.com>
User-Agent: Thunderbird 2.0.0.21 (X11/20090505)
Status: RO
Content-Length: 1030

VirtualBox *will* continue to work on S10 without this functionality. 
Sorry for that awful typo.

Ramshankar wrote:
> On Solaris 10 our installer makes sure we don't try and load the USB 
> drivers.
> 
> VirtualBox will not continue to work on S10 without this functionality.
> 
> 
> Andrew Gabriel wrote:
>> Ramshankar wrote:
>>> No, VirtualBox will not support USB on S10 hosts then. It would be 
>>> great if this and another fix (regarding usb_reset_device) went into 
>>> S10. But we at least require this in Nevada as soon as possible.
>>
>> My question was rather more will these new versions of virtualbox 
>> still work with S10 (i.e. will it be implemented so as to not fall 
>> over with usb_register_dev_driver(9f) not found on S10)?
>>
>>> If we get the things in S10 we need we'd be more than happy to 
>>> provide support for S10 as well but right now we don't have them.
>>
>> If you think there's any chance you might, then you should be looking 
>> for a patch/micro binding, but that wasn't my question.
>>
> 

From Andrew.Gabriel@sun.com Wed Aug 12 09:21:03 2009
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7CGL2TF007984
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 12 Aug 2009 09:21:02 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id n7CGKimB013140;
	Thu, 13 Aug 2009 00:21:01 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KO900M0DUQZYF00@nwk-avmta-1.sfbay.Sun.COM>; Wed,
 12 Aug 2009 09:20:59 -0700 (PDT)
Received: from gmp-eb-inf-2.sun.com ([192.18.6.24])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KO900H7WUQY3K30@nwk-avmta-1.sfbay.Sun.COM>; Wed,
 12 Aug 2009 09:20:59 -0700 (PDT)
Received: from fe-emea-09.sun.com
 (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged))
	by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7CGKwfE011895; Wed,
 12 Aug 2009 16:20:58 +0000 (GMT)
Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KO900G00UBRE400@fe-emea-09.sun.com>; Wed, 12 Aug 2009 17:20:47 +0100 (BST)
Received: from [81.187.162.109] ([unknown] [81.187.162.109])
 by fe-emea-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KO900MV5UQMI510@fe-emea-09.sun.com>; Wed,
 12 Aug 2009 17:20:47 +0100 (BST)
Date: Wed, 12 Aug 2009 17:21:51 +0100
From: Andrew Gabriel <Andrew.Gabriel@sun.com>
Subject: Re: VirtualBox USB Device Capture [PSARC/2009/422 08/12/2009]
In-reply-to: <4a82e5d7.HLxKeLrpriUe+eqv%Joerg.Schilling@fokus.fraunhofer.de>
Sender: Andrew.Gabriel@sun.com
To: Joerg Schilling <Joerg.Schilling@fokus.fraunhofer.de>
Cc: Jerry.Gilliam@sun.com, usb-tech@sun.com, ramshankar@sun.com,
        PSARC-ext@sun.com
Message-id: <4A82EC1F.2050801@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <4A7A1EFD.5070404@sun.com> <4A82DF15.80304@sun.com>
 <4a82e5d7.HLxKeLrpriUe+eqv%Joerg.Schilling@fokus.fraunhofer.de>
User-Agent: Thunderbird 2.0.0.21 (X11/20090323)
Status: RO
Content-Length: 667

Joerg Schilling wrote:
> Andrew Gabriel <Andrew.Gabriel@Sun.COM> wrote:
> 
>> If I plug in a USB device, let's say a memory stick, how does the system 
>> decide if native Solaris wants to use it, or an OS instance in 
>> Virtualbox, or which one across potentially several virtualboxes?
> 
> If you do this with VMware, you first tell vmware to capture e.g. the next USB
> memory stick and to forward it.

That sounds reasonable on a single user system, or a system managed by a 
single manager at a time.

A thought that went through my mind would be to configure specific USB 
ports to belong to specific virtualbox images using cfgadm(1M) or similar.

-- 
Andrew

From jerry.gilliam@sun.com Wed Aug 12 10:58:27 2009
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7CHwR6G013212
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 12 Aug 2009 10:58:27 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n7CHwNP6049746;
	Wed, 12 Aug 2009 11:58:23 -0600 (MDT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KO900A09Z9B7Y00@brm-avmta-1.central.sun.com>; Wed,
 12 Aug 2009 11:58:23 -0600 (MDT)
Received: from jurassic-x4600.sfbay.sun.com ([129.146.17.59])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KO90023MZ9AF470@brm-avmta-1.central.sun.com>; Wed,
 12 Aug 2009 11:58:23 -0600 (MDT)
Received: from [129.146.226.92] (tethys.SFBay.Sun.COM [129.146.226.92])
	by jurassic-x4600.sfbay.sun.com (8.14.3+Sun/8.14.3)
 with ESMTP id n7CHwMfe460083; Wed, 12 Aug 2009 10:58:22 -0700 (PDT)
Date: Wed, 12 Aug 2009 10:55:02 -0700
From: Jerry Gilliam <jerry.gilliam@sun.com>
Subject: Re: VirtualBox USB Device Capture [PSARC/2009/422 08/12/2009]
In-reply-to: <4A82EC1F.2050801@sun.com>
To: PSARC-ext@sun.com
Cc: ramshankar@sun.com, usb-tech@sun.com, Strony Zhang <Strony.Zhang@sun.com>
Message-id: <4A8301F6.3000404@sun.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <4A7A1EFD.5070404@sun.com> <4A82DF15.80304@sun.com>
 <4a82e5d7.HLxKeLrpriUe+eqv%Joerg.Schilling@fokus.fraunhofer.de>
 <4A82EC1F.2050801@sun.com>
User-Agent: Thunderbird 2.0.0.21 (X11/20090323)
Status: RO
Content-Length: 70


This case was approved today during the weekly PSARC meeting.



-jg

