qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] q35, usb-ehci1, and Mac OS X boot problems


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] q35, usb-ehci1, and Mac OS X boot problems
Date: Mon, 12 Nov 2012 11:26:18 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20121026 Thunderbird/10.0.10

  Hi,

> First, what works:
> 
> With the following command line (usb items on the last line):
> 
> bin/qemu-system-x86_64 -enable-kvm -m 2048 -cpu core2duo \

>   -device ich9-usb-uhci1 -device usb-kbd -device usb-mouse

Just uhci.  Ok.

> If I replace:
> 
>   -device ich9-usb-uhci1 -device usb-kbd -device usb-mouse
> 
> with the generic default:
> 
>   -usb -device usb-kbd -device usb-mouse
> 
> I get a hang at boot time. OS X (SnowLeopard) prints the following
> USB-related warning/error to its console:
> 
> USBF: 2.557 AppleUSBEHCI[0xffffff80056c5000]::CheckSleepCapability - 
> controller will be unloaded across sleep

Seems macos doesn't like something in our ehci emulation ...

Can you send a trace with all ehci tracepoints enabled?

> Note how both the keyboard and mouse are now under 'ehci1', rather than
> under one of the 'uhci' entries, e.g. uhci1 like in the working example
> earlier on.

That is normal for a companion controller setup.  For the guest usb 1.1
devices will show up at one of the uhci companion controllers
nevertheless (lsusb in linux guests will show that).

cheers,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]