All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Gabriel L. Somlo" <gsomlo@gmail.com>
To: BALATON Zoltan <balaton@eik.bme.hu>
Cc: "edk2-devel@lists.sourceforge.net"
	<edk2-devel@lists.sourceforge.net>,
	Alexander Graf <agraf@suse.de>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	"kraxel@redhat.com" <kraxel@redhat.com>,
	"reza.jelveh@tuhh.de" <reza.jelveh@tuhh.de>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Laszlo Ersek <lersek@redhat.com>
Subject: Re: [Qemu-devel] OVMF, Q35 and USB keyboard/mouse
Date: Fri, 12 Sep 2014 13:58:05 -0400	[thread overview]
Message-ID: <20140912175804.GH1825@ERROL.INI.CMU.EDU> (raw)
In-Reply-To: <alpine.LMD.2.02.1409121114460.21491@jedlik.phy.bme.hu>

On Fri, Sep 12, 2014 at 11:17:35AM +0200, BALATON Zoltan wrote:
> On Thu, 11 Sep 2014, Gabriel L. Somlo wrote:
> >On Thu, Sep 11, 2014 at 11:34:03PM +0200, Alexander Graf wrote:
> >>XNU also populates its device tree based on the DSDT. Maybe there's a
> >>subtle difference there?
> >
> >This was the low hanging fruit, so I checked it first :) Pulled the
> >DSDT using the OS X version of "DSDTEditor" (found on insanelymac)
> >on both the Chameleon q35 version which had all three UHCIs and from
> >the OVMF q35 version which only showed UHCI3. The two DSDTs looked
> >absolutely identical (no output from diff)...
> 
> You may also look for differences in USB devices in the ouput of ioreg.
> Maybe that shows something. (It's basically what you can see in System
> Profiler but easier to compare with diff and may have additional data.)

Other than lots of off-by-a-few key values, the main two hunks of the
diff between the Chameleon and OVMF instances of a Q35 OSX guest are
simply the missing two "AppleUSBUHCI" arrays:

-	<key>IORegistryEntryChildren</key>
-	<array>
-		<dict>
-			<key>CFBundleIdentifier</key>
-			<string>com.apple.driver.AppleUSBUHCI</string>
-			<key>Card Type</key>
-			<string>PCI</string>
-			<key>Companion</key>
-			<string>yes</string>
-			<key>Errata</key>
-			<integer>0</integer>
-			<key>IOClass</key>
-			<string>AppleUSBUHCI</string>
-			<key>IOMatchCategory</key>
-			<string>IODefaultMatchCategory</string>
-			<key>IOObjectClass</key>
-			<string>AppleUSBUHCI</string>
-			<key>IOObjectRetainCount</key>
-			<integer>11</integer>
-			<key>IOPCIClassMatch</key>
-			<string>0x0C030000</string>
-			<key>IOPowerManagement</key>
-			<dict>
-				<key>ChildrenPowerState</key>
-				<integer>3</integer>
-				<key>CurrentPowerState</key>
-				<integer>3</integer>
-				<key>DevicePowerState</key>
-				<integer>3</integer>
-				<key>DriverPowerState</key>
-				<integer>3</integer>
-				<key>MaxPowerState</key>
-				<integer>4</integer>
-			</dict>
-			<key>IOProbeScore</key>
-			<integer>0</integer>
-			<key>IOProviderClass</key>
-			<string>IOPCIDevice</string>
-			<key>IORegistryEntryChildren</key>
-			<array>
-				<dict>
-					<key>AAPL,current-extra-in-sleep</key>
-					<integer>500</integer>
... etc.

Together, the ioreg xml output files are 50K lines, so I figured I'd
try to spare everyone the pain (but I do have them and can attach them
in private mail in case you think they're worth a second look).

Thanks,
--Gabriel

  reply	other threads:[~2014-09-12 17:58 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-09 22:00 [Qemu-devel] OVMF, Q35 and USB keyboard/mouse Gabriel L. Somlo
2014-09-10  0:40 ` Laszlo Ersek
2014-09-10  6:31 ` Gerd Hoffmann
2014-09-10  7:59   ` Laszlo Ersek
2014-09-10 14:06     ` Gabriel L. Somlo
2014-09-10 23:08       ` [Qemu-devel] [edk2] " Paolo Bonzini
2014-09-11 15:42         ` [Qemu-devel] " Gabriel L. Somlo
2014-09-11 15:49           ` Paolo Bonzini
2014-09-11 16:35             ` Gabriel L. Somlo
2014-09-11 16:40               ` Paolo Bonzini
2014-09-11 17:11                 ` Gabriel L. Somlo
2014-09-11 17:15                   ` [Qemu-devel] [edk2] " Paolo Bonzini
2014-09-11 20:16                 ` [Qemu-devel] " Gabriel L. Somlo
2014-09-11 20:46                   ` Laszlo Ersek
2014-09-11 21:34                     ` Alexander Graf
2014-09-11 23:21                       ` Gabriel L. Somlo
2014-09-12  9:17                         ` BALATON Zoltan
2014-09-12 17:58                           ` Gabriel L. Somlo [this message]
2014-09-12  6:46                   ` Gerd Hoffmann
2014-09-12 18:18                     ` Gabriel L. Somlo
2014-09-12 18:26                       ` Paolo Bonzini
2014-09-12 19:59                         ` Gabriel L. Somlo
2014-09-13  5:06                           ` Laszlo Ersek
2014-09-15 14:50                           ` Gabriel L. Somlo
2014-09-15 15:01                             ` Laszlo Ersek
2014-09-15 15:07                               ` Gabriel L. Somlo
2014-09-15 18:02                                 ` Laszlo Ersek
2014-09-15 19:23                                   ` Gabriel L. Somlo
2014-09-15 19:56                                     ` BALATON Zoltan
2014-09-16  8:15                                     ` Gerd Hoffmann
2014-09-21 20:00                                       ` Gabriel L. Somlo
2014-09-21 22:10                                   ` Gabriel L. Somlo
2014-09-21 22:43                                     ` Laszlo Ersek
2014-09-22 16:44                                       ` [Qemu-devel] [edk2] " Paolo Bonzini
2014-09-22 16:59                                         ` Gabriel L. Somlo
2014-09-22 20:40                                         ` Laszlo Ersek
2014-09-24 22:03                                           ` Gabriel L. Somlo

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=20140912175804.GH1825@ERROL.INI.CMU.EDU \
    --to=gsomlo@gmail.com \
    --cc=agraf@suse.de \
    --cc=balaton@eik.bme.hu \
    --cc=edk2-devel@lists.sourceforge.net \
    --cc=kraxel@redhat.com \
    --cc=lersek@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=reza.jelveh@tuhh.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.