[Qemu-devel] Only one USB disk can be used in Windows XP guest domain, and a method to solve this problem

2007-05-07 Thread Yu, Xiaoyang
If we use something like "usb_add disk:/dev/sdb" to assign USB disks to Windows XP guest domain, assign one USB disk can work properly, but assign the second USB disk will cause problem in Windows device manager, and the second USB disk cannot be used properly. The attached patch can fix this p

[Qemu-devel] Data CDs cannot be automaticly mounted in Linux guest domain and a method to fix it

2007-05-07 Thread Yu, Xiaoyang
I met the problem that Linux guest domain cannot mount a data CD properly. If a data CD is inserted, and was assigned to the guest domain by issue something like "change hdc /dev/cdrom", there will be an error message reported by guest Linux kernel "This disc doesn't have any tracks I recogniz

RE: [Qemu-devel] RE: Re: USB problem in QEMU

2007-04-23 Thread Yu, Xiaoyang
TECTED] On Behalf Of Raúl Sánchez Siles Sent: 2007年4月23日 18:54 To: qemu-devel@nongnu.org Subject: [Qemu-devel] RE: Re: USB problem in QEMU Yu, Xiaoyang wrote: > I found that using "usb_add disk:/dev/sda" instead of "usb_add host:1.1" > will fix this problem. > > Th

RE: [Qemu-devel] RE: Re: USB problem in QEMU

2007-04-23 Thread Yu, Xiaoyang
TECTED] On Behalf Of Raúl Sánchez Siles Sent: 2007年4月23日 18:54 To: qemu-devel@nongnu.org Subject: [Qemu-devel] RE: Re: USB problem in QEMU Yu, Xiaoyang wrote: > I found that using "usb_add disk:/dev/sda" instead of "usb_add host:1.1" > will fix this problem. > > Th

RE: [Qemu-devel] Re: USB problem in QEMU

2007-04-23 Thread Yu, Xiaoyang
Subject: [Qemu-devel] Re: USB problem in QEMU Raúl Sánchez Siles wrote: > Yu, Xiaoyang wrote: > >> >> >> The USB problem I met is that using some kind of USB disks will cause >> guest OS run extremely slow, while these disks can work properly in host >> O

RE: [Qemu-devel] QEMU only support USBendpoint 02(output)and 81(input)?

2007-03-29 Thread Yu, Xiaoyang
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shaddy Baddah Sent: 2007年3月30日 0:48 To: qemu-devel@nongnu.org Subject: Re: [Qemu-devel] QEMU only support USBendpoint 02(output)and 81(input)? Hi, On 3/29/2007 2:52 PM, Yu, Xiaoyang wrote: > I used QEMU 0.9.0 to do the testing

RE: [Qemu-devel] QEMU only support USB endpoint 02(output)and 81(input)?

2007-03-28 Thread Yu, Xiaoyang
] [mailto:[EMAIL PROTECTED] On Behalf Of Shaddy Baddah Sent: 2007年3月29日 12:18 To: qemu-devel@nongnu.org Subject: Re: [Qemu-devel] QEMU only support USB endpoint 02(output)and 81(input)? Hi, On 3/29/2007 11:49 AM, Yu, Xiaoyang wrote: > I found that some USB disks do not work in QEMU. I don'

[Qemu-devel] QEMU only support USB endpoint 02(output) and 81(input)?

2007-03-28 Thread Yu, Xiaoyang
Hi guys, I found that some USB disks do not work in QEMU. I collected seven types of USB disks, and tested them in QEMU. Four of them can work properly, but other three do not work. I compared their information in /proc/bus/usb/devices, and found that the four "good" disks all use endpoint

[Qemu-devel] QEMU only support USB endpoint 02(output) and 81(input)?

2007-03-28 Thread Yu, Xiaoyang
Hi guys, I found that some USB disks do not work in QEMU. I collected seven types of USB disks, and tested them in QEMU. Four of them can work properly, but other three do not work. I compared their information in /proc/bus/usb/devices, and found that the four "good" disks all use endpoint

[Qemu-devel] USB storage cause kernel BUG "soft lockup detected on CPU#0!" in Linux guest domain

2007-03-25 Thread Yu, Xiaoyang
Hi Lonnie, Thanks a lot for your help on the UHCI suspend/resume support :-) I found another problem in QEMU USB support :-( I have 5 different types of USB disks at hand. Two of them can be used properly in Linux and Windows XP guest OS. But other three are not. After issue "usb_add" t

[Qemu-devel] Some usb disk may cause the guest OS not response

2007-03-20 Thread Yu, Xiaoyang
I am using qemu-dm 0.8.2 of xen 3.0.3, and found that use "usb_add" command to enable some usb disks may cause the guest OS not responding, while enable other usb disks cause no problem. I searched the archive but didn't found a similar report. Has anyone met the same problem? Thanks Xiaoyang

[Qemu-devel] [PATCH] Automatically eject CD-ROM disk in Linux host system

2007-03-04 Thread Yu, Xiaoyang
Hi, I wrote a patch to automatically eject a physical CD-ROM disk when: * Issue "eject" command in monitor console, or * Issue "eject" command in Linux guest system, or * In Windows guest system, press the right mouse button above CD-ROM icon, then select "eject". This is patch is based

RE: [Qemu-devel] USB storage cannot be recognized on guest Linuxdomain?

2007-02-15 Thread Yu, Xiaoyang
Lonnie Mendez Sent: 2007年2月15日 22:49 To: qemu-devel@nongnu.org Subject: RE: [Qemu-devel] USB storage cannot be recognized on guest Linuxdomain? On Thu, 2007-02-15 at 15:44 +0800, Yu, Xiaoyang wrote: > Hi Lonnie, > > Thanks a lot for the information. > > In our use case, we do not kn

RE: [Qemu-devel] USB storage cannot be recognized on guest Linux domain?

2007-02-14 Thread Yu, Xiaoyang
lf Of Lonnie Mendez Sent: 2007年2月15日 10:44 To: qemu-devel@nongnu.org Subject: RE: [Qemu-devel] USB storage cannot be recognized onguest Linuxdomain? On Thu, 2007-02-15 at 10:36 +0800, Yu, Xiaoyang wrote: > Thanks a lot for the instruction. Will the suspend/resume support be added in > the fut

RE: [Qemu-devel] USB storage cannot be recognized on guest Linuxdomain?

2007-02-14 Thread Yu, Xiaoyang
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lonnie Mendez Sent: 2007年2月14日 23:01 To: qemu-devel@nongnu.org Subject: RE: [Qemu-devel] USB storage cannot be recognized on guest Linuxdomain? On Wed, 2007-02-14 at 18:26 +0800, Yu, Xiaoyang wrote: > BTW, I also found that Windows XP guest dom

RE: [Qemu-devel] USB storage cannot be recognized on guestLinuxdomain?

2007-02-14 Thread Yu, Xiaoyang
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 guest Linux domain?

2007-02-14 Thread Yu, Xiaoyang
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

[Qemu-devel] USB storage cannot be recognized on guest Linux domain?

2007-02-13 Thread Yu, Xiaoyang
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 Linu

RE: [Qemu-devel] Bus number and address changes after usb_add?

2006-12-06 Thread Yu, Xiaoyang
b_add? On Thu, 2006-12-07 at 14:11 +0800, Yu, Xiaoyang wrote: > I see. Guest OS will assign the USB device an address later. Is it possible > to store this new address in host OS? Then when the USB device is unplugged, > host OS can send "usb_del" command to QEMU to automatic

RE: [Qemu-devel] Bus number and address changes after usb_add?

2006-12-06 Thread Yu, Xiaoyang
om: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lonnie Mendez Sent: 2006年12月7日 12:25 To: qemu-devel@nongnu.org Subject: Re: [Qemu-devel] Bus number and address changes after usb_add? On Thu, 2006-12-07 at 12:18 +0800, Yu, Xiaoyang wrote: > After add a USB device by “usb_add”, I can view it

[Qemu-devel] Recall: Bus number and address changes after usb_add?

2006-12-06 Thread Yu, Xiaoyang
Yu, Xiaoyang would like to recall the message, "Bus number and address changes after usb_add?". ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel

[Qemu-devel] Bus number and address changes after usb_add?

2006-12-06 Thread Yu, Xiaoyang
After add a USB device by "usb_add", I can view it by "info usb". It shows the bus number and address. As shown in vl.c, it seems that usb_info() is called when issue "info usb", and usb_device_add() is called when issue "usb_add". But if I add call to usb_info() in the end of usb_device_a

[Qemu-devel] Bus number and address changes after usb_add?

2006-12-06 Thread Yu, Xiaoyang
After add a USB device by "usb_add", I can view it by "info usb". It shows the bus number and address. As shown in vl.c, it seems that usb_info() is called when issue "info usb", and usb_device_add() is called when issue "usb_add". But if I add call to usb_info() in the end of usb_device_a

RE: [Qemu-devel] About the code to detect a CD-ROM disk is unmounted

2006-12-03 Thread Yu, Xiaoyang
ubject: RE: [Qemu-devel] About the code to detect a CD-ROM disk is unmounted On Fri, 2006-12-01 at 16:21 +0800, Yu, Xiaoyang wrote: > Great! Thanks a lot for the information! I found the function definition in > the files you pointed out, by looking into the latest CVS snapshot. > &

RE: [Qemu-devel] About the code to detect a CD-ROM disk is unmounted

2006-12-01 Thread Yu, Xiaoyang
+0800, Yu, Xiaoyang wrote: > Hi guys, > > > > I am using QEMU with Xen and Intel VT, and I have a question about > detecting the CD-ROM disk unmount event: When user ejects CD-ROM in > the guest domain, how can QEMU detect this event? > > > > I know if we us

[Qemu-devel] About the code to detect a CD-ROM disk is unmounted

2006-11-29 Thread Yu, Xiaoyang
Hi guys, I am using QEMU with Xen and Intel VT, and I have a question about detecting the CD-ROM disk unmount event: When user ejects CD-ROM in the guest domain, how can QEMU detect this event? I know if we use "info block" command before and after a CD-ROM disk is ejected, we can see the d