[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



On Wed, 2009-11-04 at 01:14 +0800, Mr. Teo En Ming (Zhang Enming) wrote:
> According to brctl show, your ethernet bride is eth4 and not peth4.
> 
> Try this:
> 
> vif=[ 'mac=00:16:3e:1a:45:41,bridge=eth4' ]
> 
> -- 

ï
I'm wondering if I should try centos. I can get newer packages for xen
on centos I believe.

I tried what you suggested and still got the same thing. Still no go. 

[2009-11-03 11:23:22 5603] DEBUG (XendDomain:1006) Creating new managed domain: 
Vista
[2009-11-03 11:23:26 5603] DEBUG (XendDomainInfo:2304) 
XendDomainInfo.constructDomain
[2009-11-03 11:23:26 5603] DEBUG (balloon:166) Balloon: 32122132 KiB free; need 
4096; done.
[2009-11-03 11:23:26 5603] DEBUG (XendDomain:453) Adding Domain: 12
[2009-11-03 11:23:26 5603] DEBUG (XendDomainInfo:2505) 
XendDomainInfo.initDomain: 12 256
[2009-11-03 11:23:26 5603] DEBUG (image:322) No VNC passwd configured for vfb 
access
[2009-11-03 11:23:26 5603] DEBUG (image:813) args: boot, val: c
[2009-11-03 11:23:26 5603] DEBUG (image:813) args: fda, val: None
[2009-11-03 11:23:26 5603] DEBUG (image:813) args: fdb, val: None
[2009-11-03 11:23:26 5603] DEBUG (image:813) args: soundhw, val: None
[2009-11-03 11:23:26 5603] DEBUG (image:813) args: localtime, val: 1
[2009-11-03 11:23:26 5603] DEBUG (image:813) args: serial, val: ['pty']
[2009-11-03 11:23:26 5603] DEBUG (image:813) args: std-vga, val: 0
[2009-11-03 11:23:26 5603] DEBUG (image:813) args: isa, val: 0
[2009-11-03 11:23:26 5603] DEBUG (image:813) args: acpi, val: 1
[2009-11-03 11:23:26 5603] DEBUG (image:813) args: usb, val: 1
[2009-11-03 11:23:26 5603] DEBUG (image:813) args: usbdevice, val: 
host:0951:1607
[2009-11-03 11:23:26 5603] INFO (image:749) Need to create platform 
device.[domid:12]
[2009-11-03 11:23:26 5603] DEBUG (XendDomainInfo:2529) 
_initDomain:shadow_memory=0x0, memory_static_max=0x40000000, 
memory_static_min=0x0.
[2009-11-03 11:23:26 5603] DEBUG (balloon:166) Balloon: 32120700 KiB free; need 
1067008; done.
[2009-11-03 11:23:26 5603] INFO (image:173) buildDomain os=hvm dom=12 vcpus=2
[2009-11-03 11:23:26 5603] DEBUG (image:866) domid          = 12
[2009-11-03 11:23:26 5603] DEBUG (image:867) image          = 
/usr/lib/xen/boot/hvmloader
[2009-11-03 11:23:26 5603] DEBUG (image:868) store_evtchn   = 3
[2009-11-03 11:23:26 5603] DEBUG (image:869) memsize        = 1024
[2009-11-03 11:23:26 5603] DEBUG (image:870) target         = 1024
[2009-11-03 11:23:26 5603] DEBUG (image:871) vcpus          = 2
[2009-11-03 11:23:26 5603] DEBUG (image:872) acpi           = 1
[2009-11-03 11:23:26 5603] DEBUG (image:873) apic           = 1
[2009-11-03 11:23:26 5603] INFO (XendDomainInfo:2168) createDevice: vfb : 
{'vncunused': 1, 'other_config': {'vncunused': 1, 'vnc': '1'}, 'vnc': '1', 
'uuid': 'ecf80d39-153a-f383-f43b-85c6cb4fe3d0'}
[2009-11-03 11:23:26 5603] DEBUG (DevController:95) DevController: writing 
{'state': '1', 'backend-id': '0', 'backend': 
'/local/domain/0/backend/vfb/12/0'} to /local/domain/12/device/vfb/0.
[2009-11-03 11:23:26 5603] DEBUG (DevController:97) DevController: writing 
{'vncunused': '1', 'domain': 'Vista', 'frontend': 
'/local/domain/12/device/vfb/0', 'uuid': 
'ecf80d39-153a-f383-f43b-85c6cb4fe3d0', 'frontend-id': '12', 'state': '1', 
'online': '1', 'vnc': '1'} to /local/domain/0/backend/vfb/12/0.
[2009-11-03 11:23:26 5603] INFO (XendDomainInfo:2168) createDevice: vbd : 
{'uuid': 'bb26be09-2e6d-602a-9d6c-98f7aa8d1b5f', 'bootable': 1, 'driver': 
'paravirtualised', 'dev': 'hda', 'uname': 'file:/xendata2/images/Vista/disk0', 
'mode': 'w'}
[2009-11-03 11:23:26 5603] DEBUG (DevController:95) DevController: writing 
{'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state': 
'1', 'backend': '/local/domain/0/backend/vbd/12/768'} to 
/local/domain/12/device/vbd/768.
[2009-11-03 11:23:26 5603] DEBUG (DevController:97) DevController: writing 
{'domain': 'Vista', 'frontend': '/local/domain/12/device/vbd/768', 'uuid': 
'bb26be09-2e6d-602a-9d6c-98f7aa8d1b5f', 'bootable': '1', 'dev': 'hda', 'state': 
'1', 'params': '/xendata2/images/Vista/disk0', 'mode': 'w', 'online': '1', 
'frontend-id': '12', 'type': 'file'} to /local/domain/0/backend/vbd/12/768.
[2009-11-03 11:23:26 5603] INFO (XendDomainInfo:2168) createDevice: vif : 
{'bridge': 'eth4', 'mac': '00:16:3e:1a:45:41', 'uuid': 
'10b23fcd-acbe-c507-3593-640c6131f533'}
[2009-11-03 11:23:26 5603] DEBUG (DevController:95) DevController: writing 
{'backend-id': '0', 'mac': '00:16:3e:1a:45:41', 'handle': '0', 'state': '1', 
'backend': '/local/domain/0/backend/vif/12/0'} to /local/domain/12/device/vif/0.
[2009-11-03 11:23:26 5603] DEBUG (DevController:97) DevController: writing 
{'bridge': 'eth4', 'domain': 'Vista', 'handle': '0', 'uuid': 
'10b23fcd-acbe-c507-3593-640c6131f533', 'script': 
'/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:1a:45:41', 'frontend-id': '12', 
'state': '1', 'online': '1', 'frontend': '/local/domain/12/device/vif/0'} to 
/local/domain/0/backend/vif/12/0.
[2009-11-03 11:23:26 5603] INFO (image:394) spawning device models: 
/usr/lib/xen/bin/qemu-dm ['/usr/lib/xen/bin/qemu-dm', '-d', '12', 
'-domain-name', 'Vista', '-videoram', '4', '-vnc', '127.0.0.1:0', '-vncunused', 
'-vcpus', '2', '-boot', 'c', '-localtime', '-serial', 'pty', '-acpi', '-usb', 
'-usbdevice', 'host:0951:1607', '-net', 
'nic,vlan=1,macaddr=00:16:3e:1a:45:41,model=rtl8139', '-net', 
'tap,vlan=1,ifname=tap12.0,bridge=eth4', '-M', 'xenfv']
[2009-11-03 11:23:26 5603] INFO (image:443) device model pid: 23382
[2009-11-03 11:23:26 5603] INFO (image:531) waiting for sentinel_fifo
[2009-11-03 11:23:26 5603] DEBUG (XendDomainInfo:3060) Storing VM details: 
{'on_xend_stop': 'ignore', 'shadow_memory': '10', 'uuid': 
'abf38e32-96d7-dcdd-ac1c-76a0c62adc1b', 'on_reboot': 'restart', 'start_time': 
'1257269006.36', 'on_poweroff': 'destroy', 'bootloader_args': '', 
'on_xend_start': 'ignore', 'on_crash': 'destroy', 'xend/restart_count': '0', 
'vcpus': '2', 'vcpu_avail': '3', 'bootloader': '', 'image': '(hvm (kernel ) 
(videoram 4) (hpet 0) (stdvga 0) (loader /usr/lib/xen/boot/hvmloader) (serial 
pty) (vncunused 1) (xen_platform_pci 1) (boot c) (rtc_timeoffset 0) (pci ()) 
(pae 1) (vpt_align 1) (hap 1) (viridian 0) (acpi 1) (localtime 1) (timer_mode 
1) (vnc 1) (nographic 0) (guest_os_type default) (pci_msitranslate 1) (apic 1) 
(monitor 0) (usbdevice host:0951:1607) (device_model /usr/lib/xen/bin/qemu-dm) 
(pci_power_mgmt 0) (usb 1) (xauthority /root/.Xauthority) (isa 0) (notes 
(SUSPEND_CANCEL 1)))', 'name': 'Vista'}
[2009-11-03 11:23:26 5603] DEBUG (XendDomainInfo:1622) Storing domain details: 
{'console/port': '4', 'name': 'Vista', 'console/limit': '1048576', 
'store/port': '3', 'vm': '/vm/abf38e32-96d7-dcdd-ac1c-76a0c62adc1b', 'domid': 
'12', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online', 
'memory/target': '1048576', 'control/platform-feature-multiprocessor-suspend': 
'1', 'store/ring-ref': '1044476', 'cpu/1/availability': 'online', 
'console/type': 'ioemu'}
[2009-11-03 11:23:26 5603] DEBUG (DevController:139) Waiting for devices vif.
[2009-11-03 11:23:26 5603] DEBUG (DevController:95) DevController: writing 
{'state': '1', 'backend-id': '0', 'backend': 
'/local/domain/0/backend/console/12/0'} to /local/domain/12/device/console/0.
[2009-11-03 11:23:26 5603] DEBUG (DevController:144) Waiting for 0.
[2009-11-03 11:23:26 5603] DEBUG (DevController:97) DevController: writing 
{'domain': 'Vista', 'frontend': '/local/domain/12/device/console/0', 'uuid': 
'12f0151f-6f80-887e-ff47-f98302e69222', 'frontend-id': '12', 'state': '1', 
'location': '4', 'online': '1', 'protocol': 'vt100'} to 
/local/domain/0/backend/console/12/0.
[2009-11-03 11:23:26 5603] DEBUG (XendDomainInfo:1709) 
XendDomainInfo.handleShutdownWatch
[2009-11-03 11:23:26 5603] DEBUG (DevController:629) hotplugStatusCallback 
/local/domain/0/backend/vif/12/0/hotplug-status.
[2009-11-03 11:25:06 5603] WARNING (XendDomain:1048) Failed to setup devices 
for <domain id=12 name=Vista memory=1073741824 state=paused>: Device 0 (vif) 
could not be connected. Hotplug scripts not working.
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:2732) XendDomainInfo.destroy: 
domid=12
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:2207) Destroying device model
[2009-11-03 11:25:06 5603] INFO (image:556) Vista device model terminated
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:2214) Releasing devices
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:2227) Removing vif/0
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:1134) 
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:2227) Removing vbd/768
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:1134) 
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:2227) Removing vfb/0
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:1134) 
XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:2227) Removing console/0
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:1134) 
XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:2212) No device model
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:2214) Releasing devices




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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.