Received: from eggs.gnu.org ([208.118.235.92]:60076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUezg-0004QJ-FM for qemu-devel@nongnu.org; Wed, 16 May 2012 10:14:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SUezW-0007AX-51 for qemu-devel@nongnu.org; Wed, 16 May 2012 10:14:24 -0400 Received: from nm7-vm6.bullet.mail.sg3.yahoo.com ([106.10.148.181]:35310) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SUezV-00079h-4M for qemu-devel@nongnu.org; Wed, 16 May 2012 10:14:14 -0400 References: <1337177016.90561.YahooMailNeo@web190101.mail.sg3.yahoo.com> Message-ID: <1337177649.79002.YahooMailNeo@web190105.mail.sg3.yahoo.com> Date: Wed, 16 May 2012 22:14:09 +0800 (SGT) From: Linux Porting In-Reply-To: <1337177016.90561.YahooMailNeo@web190101.mail.sg3.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-1546225855-1923428784-1337177649=:79002" Subject: [Qemu-devel] Fw: [Qemu-discuss] Issue of usb emulation with qemu Reply-To: Linux Porting List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "tangming@huaweisymantec.com" , "qemu-devel@nongnu.org" "qemu-devel@nongnu.org" ---1546225855-1923428784-1337177649=:79002 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable =0A=0Au=0A=0A=0A=0A=0A=0Adear sir,=0A=0Athis is vikas pandey,i am using qem= u and i am abe to run some of kernel image =A0and initrd which is available= on qemu site for testing purpose.=0Anow my ami is to connect the host usb = and access the content after running =A0iso image or specifing kernel and i= nitrd image on qemu .=0A=0Afor this task i have followed some procedure whi= ch is inlined....=0A//*****************************************************= ***************************************************************************= ****************************************=0A=0Acat /etc/lsb-release=0AHost p= c discription :=A0=0ADISTRIB_ID=3DUbuntu=0ADISTRIB_RELEASE=3D11.04=0ADISTRI= B_CODENAME=3Dnatty=0ADISTRIB_DESCRIPTION=3D"Ubuntu 11.04"=0A=3D=3D>uname -a= =0ALinux vikas-ThinkCentre-A70 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 0= 3:31:50 UTC 2011 i686 i686 i386 GNU/Linux=0A=0AQEMU emulator version 1.0,1,= Copyright (c) 2003-2008 Fabrice Bellard=0A=0Afist i have checked with iso = images=0Astep 1:=0Add of=3Dubuntuimage bs=3D1024 seek=3D10485760 count=3D0 = =A0=0Astep 2:=0Aqemu -hda ubuntuimage -cdrom m1040_wifi.iso -usbdevice host= :1e3d:2093 -m 192 -boot d=0Ausb_create: no bus specified, using "usb.0" for= "usb-host"=0A(it is a problem which is not permitting guest os to access c= ompletly even media will be detected on console while booting on qemu =A0an= d we can add usb in qemu but in qemue gues os shelll it is not detecting an= y where =A0)=0Ahusb: open device 1.6=0Ahusb: config #1 need -1=0Ahusb: 1 in= terfaces claimed for configuration 1=0Ahusb: grabbed usb device 1.6=0Ahusb:= config #1 need 1=0Ahusb: 1 interfaces claimed for configuration 1=0Ahusb: = config #1 need 1=0Ahusb: 1 interfaces claimed for configuration 1 =A0=0A=3D= =3D=3D=3D=3D=3D=3D=3D=3D>2nd i have used kernel and initrd image=A0=0Astep = >qemu-system-arm -kernel zImage.integrator -initrd arm_root.img -hda ubuntu= image -usb -usbdevice host:1e3d:2093 =A0-m 128=0Asegmantation fault=0A//***= ***************************************************************************= **************************************************************=0Aplease sug= gest me as soon as possible ,and please tell me that is it compulsary that = use kvm and libvirt with qemu for using host usb or not..=0Abecause i have = also tried alot =A0with libvirt but every time it is having some different = -2 error currently error =A0related with libvirt is ..=0A=3D=3D>virsh -c qe= mu:///system list=0A=0Avirsh: /usr/lib/libvirt.so.0: version `LIBVIRT_0.9.3= ' not found (required by virsh)=0Avirsh: /usr/lib/libvirt.so.0: version `LI= BVIRT_0.9.0' not found (required by virsh)=0Avirsh: /usr/lib/libvirt.so.0: = version `LIBVIRT_PRIVATE_0.9.3' not found (required by virsh)=0Avirsh: /usr= /lib/libvirt.so.0: version `LIBVIRT_0.9.2' not found (required by virsh=0A= =0Aplese tell me now what should ido...=0Athanks& regardsvikas pandey=0ATha= nks and Regards=0Avikas pandey ---1546225855-1923428784-1337177649=:79002 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
u
=

=

dear sir,

this is vikas pandey,i am using qemu and i am abe to run some of ke= rnel image  and initrd which is available on qemu site for testing pur= pose.
n= ow my ami is to connect the host usb and access the content after running &= nbsp;iso image or specifing kernel and initrd image on qemu .

for this task i = have followed some procedure which is inlined....
//******************************************************************************************= *****************************************************************= *************

cat /etc/lsb-release
Host pc discription : 
DISTRIB_ID=3DUbuntu
= DISTRIB_RELEASE=3D11.04
DISTRIB_CODENAME=3Dnatty
DISTRI= B_DESCRIPTION=3D"Ubuntu 11.04"
=3D=3D>uname -a
Linux vikas= -ThinkCentre-A70 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 20= 11 i686 i686 i386 GNU/Linux

QEMU emulator version 1.0,1, Copyright (c) 2003-20= 08 Fabrice Bellard
= fist i have checked with iso images
step 1:
dd of=3Dubuntuimage bs=3D1024 seek=3D10485760= count=3D0  
step 2:
qemu -hda ubuntuimage -cdrom m1040_w= ifi.iso -usbdevice host:1e3d:2093 -m 192 -boot d
usb_create: no bus specified, using "usb.0= " for "usb-host"
(it= is a problem which is not permitting guest os to access completly even med= ia will be detected on console while booting on qemu  and we can add u= sb in qemu but in qemue gues os shelll it is not detecting any where  = )
husb: open device 1.6
<= div style=3D"margin-bottom: 0cm; ">husb: config #1 need -1
husb: 1 interfaces claimed for configuration 1
husb: grabbed usb device 1.6
husb: config #1 need 1
husb: 1 interfaces claimed for configuration 1
husb: config #1 need 1
husb: 1 interfaces claimed for configuration 1  
=3D=3D=3D=3D=3D=3D=3D=3D=3D>2nd i = have used kernel and initrd image 
step >qemu-system-arm -kernel zImage.integrator -initrd arm_root.i= mg -hda ubuntuimage -usb -usbdevice host:1e3d:2093  -m 128
segmantation fault
//*****************************************************= *****************************************************************= **********************
please= suggest me as soon as possible ,and please tell me that is it compulsary that use kvm and libvirt with qe= mu for using host usb or not..
bec= ause i have also tried alot  with libvirt but every time it is having = some different -2 error currently error  related with libvirt is ..
=3D=3D>virsh -c qemu:///system li= st

virsh: /usr/lib/libvirt.so.0: version `LIBVIRT_= 0.9.3' not found (required by virsh)
virsh: /usr/lib/libvirt.so.0: = version `LIBVIRT_0.9.0' not found (required by virsh)
virsh: /usr/lib/libvirt.so.0: version `LIBVIRT_PRIVATE_= 0.9.3' not found (required by virsh)

plese tell me now what should ido...
<= div style=3D"margin-bottom: 0cm; ">thanks& regards
vikas pandey
Thanks= and Regards




---1546225855-1923428784-1337177649=:79002--