Also I have tested QEMU 0.9.0 using image “linux-0.2.img”. After invoked 
“usb_add” in QEMU monitor, nothing was shown in guest domain. Then I type 
“exit” to reboot the system, then the following message shown in guest domain:

 

scsi 0:0:0:0: Direct-Access  Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI:2 

 

It seems like that the USB disk can be recognized only after a system reboot of 
“linux-0.2.img”.

 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yu, Xiaoyang
Sent: 2007年2月14日 20:24
To: [EMAIL PROTECTED]; qemu-devel@nongnu.org
Subject: RE: [Qemu-devel] USB storage cannot be recognized on guestLinuxdomain?

 

Hi Nenad,

 

Both kernels are configured to support USB devices. The config files are put in 
the attachment.

 

USB storages can be recognized by both kernels successfully if I install the 
systems directly on hardware, instead of install the systems as guest domains 
in Xen/VT environment. 

 

Thanks
Xiaoyang

 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nenad Cimerman
Sent: 2007年2月14日 19:28
To: qemu-devel@nongnu.org
Subject: AW: [Qemu-devel] USB storage cannot be recognized on guestLinuxdomain?

 

Hi Xiaoyang,

 

did you check whether both kernels are configured to support USB?

# cat /proc/config 

or

# zcat /proc/config.gz

 

Cheers,

Nenad.

 

________________________________

Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Yu, Xiaoyang
Gesendet: Mittwoch, 14. Februar 2007 11:26
An: qemu-devel@nongnu.org
Betreff: RE: [Qemu-devel] USB storage cannot be recognized on guest Linuxdomain?

 

I just found that using an older kernel in Fedora Core 4 may “solve” the 
problem. 

 

When I tested Fedora Core 4 guest domain, the kernel version I used was 
2.6.17-1.2142_FC4, and it cannot recognized the USB disk. 

I just changed the kernel in guest domain to version 2.6.11-1.1369_FC4. Then 
the guest domain can recognized the USB disk. I am wondering why the USB 
support in QEMU depend on the guest domain kernel. And I would like to know 
which kernel version can support QEMU USB emulation.

 

BTW, I also found that Windows XP guest domain can not recognize the USB disk, 
while Windows XP SP2 guest domain can recognize the USB disk. So it seems like 
that the guest Linux/Windows domain should have some “special feature” to work 
with the QEMU USB emulation successfully. Isn’t it strange?

 

 

Sent: 2007年2月14日 15:06
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] USB storage cannot be recognized on guest Linux domain?

 

I am using Xen 3.0.3 with QEMU-DM 0.8.2 on a Intel VT platform. After insert a 
USB storage, and use “usb_add” command in QEMU monitor, the storage should be 
recognized on guest OS. I tested this with a Windows XP SP2 guest OS, it doing 
well. 

 

But when I test the “usb_add” command with some Linux guest OS, it seems that 
the guest OS cannot recognize the USB storage. And the device number and 
address in guest domain are always “0.0”. The Linux guest OS I tested including 
Fedora Core 4 and Fedora Core 5. Does any one also meet this problem or have 
some idea on this? Feedbacks will be highly appreciated.

 

Thanks
Xiaoyang

_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to