Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


  Search this Thread
Old 07-13-2011, 12:34 PM   #1
Registered: Dec 2010
Distribution: Scientific Linux Slackware
Posts: 91

Rep: Reputation: 2
Smile Problems with xen in centOS 5.6

I install an XP on xen, and it worked fine, but i want to add a usb device in the machine.
so i use the methods in
while, first i wanted to use the dynamic method, which is the second one, but it failed, because when i get into the machine, ctrl+alt+2 didn't bring me to a console interface other than nothing.
so I tried the first one, while when i add the
in the configuration file, and create the machine, and it told me that
sudo xm create xenwin.cfg
Using config file "./xenwin.cfg".
Error: 'list' object has no attribute 'startswith'
why? i totally followed the steps. Hope that you know the answer and thanks for telling me...or you can tell me how to use a usb in the virtual machine.

here's something that might be helpful:
Bus 006 Device 001: ID 0000:0000  
Bus 003 Device 006: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 003 Device 004: ID 062a:3633 Creative Labs 
Bus 003 Device 001: ID 0000:0000  
Bus 004 Device 001: ID 0000:0000  
Bus 005 Device 001: ID 0000:0000  
Bus 002 Device 002: ID 064e:a116 Suyin Corp. 
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 007: ID 0781:5567 SanDisk Corp. Cruszer Blade
Bus 001 Device 001: ID 0000:0000
here is my config file
import os, re
arch = os.uname()[4]
if'64', arch):
    arch_libdir = 'lib64'
    arch_libdir = 'lib'

kernel = "/usr/lib/xen/boot/hvmloader"


memory = 512
shadow_memory = 8
name = "xenhvm"
vif = [ 'type=ioemu, bridge=xenbr0' ]
disk = [ 'file:/home/deity/xenwin.img,hda,w', 'file:/home/deity/Downloads/WinxpSP3.iso,hdc:cdrom,r' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
# boot on floppy (a), hard disk (c) or CD-ROM (d) 
# default: hard disk, cd-rom, floppy

usbdevice=[ 'host:067b:2303' ]
thanks again...
Old 08-11-2011, 11:57 AM   #2
Registered: Sep 2010
Posts: 46

Rep: Reputation: 0

I haven't tried this before. But can you please make sure whether you have enabled usb device in that VM's config file.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
XEN\Centos\Networking Martin_H Linux - Virtualization and Cloud 1 06-30-2010 09:18 AM
Xen and KDE 4.4 in CentOS shadowers Linux - Software 2 03-22-2010 08:34 PM
configure Xen on centOS sunils1973 Linux - Virtualization and Cloud 11 01-19-2010 09:00 AM
LXer: Install Fedora 10 PV DomU at Xen 3.3.1 CentOS 5.2 & Xen 3.3.0 Intrepid Server v LXer Syndicated Linux News 0 01-10-2009 12:40 PM
LXer: PV-Grub on CentOS 5.2 PV DomU at Xen 3.3 CentOS 5.2 Dom0 (all 64-bit) LXer Syndicated Linux News 0 10-05-2008 11:12 PM > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 07:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration