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-users

Re: [Xen-users] How do you give USB to a Windows domU?

To: James Pifer <jep@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] How do you give USB to a Windows domU?
From: "Mr. Teo En Ming (Zhang Enming)" <space.time.universe@xxxxxxxxx>
Date: Wed, 4 Nov 2009 01:14:17 +0800
Cc: space.time.universe@xxxxxxxxx, Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>, Nick Couchman <Nick.Couchman@xxxxxxxxx>
Delivery-date: Tue, 03 Nov 2009 09:15:12 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=ZukwiW6HvjMNQw2GPVRnu7DXa5rHFO73BSYKZF0JXTM=; b=E7ZEcYAW6u36z3by+Bw+gN9Np9UBCwhARVtwW76PfFPSS30L3iR6Kt53JiWbfjwmSg SV7IZAkVCXMCxq25qXJC3G0D6YPZRHQZXUI5V2GsPgItfuTXSTUyhyYIfg5S97snbjM7 JR/JLM3ZM/wJMTV/oqamHdFQZHwfgGPReYwpQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=uU3ypUahQuWfff9oMB0gKQtpR0BI218iUGrScp6lQ3Ay6fhD9FX+o9FCEAqdWwNGcj 2hMF+tM3R0KFyhiiRfiGRP9DvrqgTCMG1/m/MabjijqRkhIMjWFvj7RossnVmu5Ub3ti 1iniCRqw+WfSSO7J0WAeVHfV0EAfpZpCrmFYU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1257266953.2711.67.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4AEAEAC9020000990007323F@xxxxxxxxxxxxxxxxxxxxx> <f712b9cf0911030656v6aa44e58m59bb5bd93f951640@xxxxxxxxxxxxxx> <4AEFE2B802000099000294FF@xxxxxxxxxxxxxxxxxxxxx> <1257261447.2711.53.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <4AEFE9740200009900029596@xxxxxxxxxxxxxxxxxxxxx> <1257263029.2711.57.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <4AEFEE0102000099000295DB@xxxxxxxxxxxxxxxxxxxxx> <1257263845.2711.61.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <4AEFF10202000099000295F4@xxxxxxxxxxxxxxxxxxxxx> <1257266953.2711.67.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
According to brctl show, your ethernet bride is eth4 and not peth4.

Try this:

vif=[ 'mac=00:16:3e:1a:45:41,bridge=eth4' ]

--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)
Alma Maters:
(1) Singapore Polytechnic
(2) National University of Singapore
My Primary Blog: http://teo-en-ming-aka-zhang-enming.blogspot.com
My Secondary Blog: http://enmingteo.wordpress.com
My Youtube videos: http://www.youtube.com/user/enmingteo
Email: space.time.universe@xxxxxxxxx
Mobile Phone (Starhub Prepaid): +65-8369-2618
Street: Bedok Reservoir Road
Country: Singapore

On Wed, Nov 4, 2009 at 12:49 AM, James Pifer <jep@xxxxxxxxxxxxxxxx> wrote:
On Tue, 2009-11-03 at 08:59 -0700, Nick Couchman wrote:
> You might need to specify "bridge=<bridgename>" on the "vif=" line in your config file and point it at a specific bridge.
>
> -Nick

How can I tell what the bridge is called? Is it eth4 or peth4?

brctl show gives me:
bridge name     bridge id               STP enabled     interfaces
eth4            8000.002655827dd4       no              peth4


# ifconfig
eth4      Link encap:Ethernet  HWaddr 00:26:55:82:7D:D4
         inet addr:172.16.4.153  Bcast:10.96.5.255  Mask:255.255.254.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:147511 errors:0 dropped:0 overruns:0 frame:0
         TX packets:121841 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:30694748 (29.2 Mb)  TX bytes:36280012 (34.5 Mb)

lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:114 errors:0 dropped:0 overruns:0 frame:0
         TX packets:114 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:6850 (6.6 Kb)  TX bytes:6850 (6.6 Kb)

peth4     Link encap:Ethernet  HWaddr 00:26:55:82:7D:D4
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:147623 errors:0 dropped:0 overruns:0 frame:0
         TX packets:124186 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:33415763 (31.8 Mb)  TX bytes:36952614 (35.2 Mb)
         Interrupt:20 Memory:f8000000-f8012100


I tied this these didn't work:
vif=[ 'bridge=peth4,mac=00:16:3e:1a:45:41,model=rtl8139,type=ioemu', ]
vif=[ 'bridge=eth4,mac=00:16:3e:1a:45:41,model=rtl8139,type=ioemu', ]

I'd still like to get virt-manager working too, but not sure to go about
that.

Thanks,
James


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>