From: "Steven Hu" <learn.hu@gmail.com>
To: xen-users@lists.xensource.com, qemu-devel@nongnu.org
Subject: [Qemu-devel] Using OHCI to replace UHCI can improve the USB performance dramatically under windows
Date: Thu, 16 Aug 2007 12:57:15 +0800 [thread overview]
Message-ID: <b49ba280708152157o2215912eke0aedda78939f69c@mail.gmail.com> (raw)
Hello, all
Is there anyone interested in the performance of USB under QEMU?
I found that when use OHCI to replace UHCI in qemu, it will improve
the performance of USB storage device. I have tested it, the
performance is almost equal of a real usb device.
The way to do this is making
little change in the file xen-3.1.0-src/tools/ioemu/hw/pc.c .
--- pc.c.original 2007-08-14 14:04:33.000000000 +0800
+++ pc.c 2007-08-08 08:57:33.000000000 +0800
@@ -897,7 +897,9 @@
pci_piix4_acpi_init(pci_bus, piix3_devfn + 2);
if (pci_enabled && usb_enabled) {
- usb_uhci_init(pci_bus, piix3_devfn + (acpi_enabled ? 3 : 2));
+ //usb_uhci_init(pci_bus, piix3_devfn + (acpi_enabled ? 3 : 2));
+ //usb_ohci_init(pci_bus, 3, -1);
+ usb_ohci_init(pci_bus, 3,piix3_devfn + (acpi_enabled ? 3 : 2));
}
#ifndef CONFIG_DM
There are some issues forLinux guest OS. I am trying to fix it. Is
reply other threads:[~2007-08-16 4:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b49ba280708152157o2215912eke0aedda78939f69c@mail.gmail.com \
--to=learn.hu@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=xen-users@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).