[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] e1000: initial link negotiation on mac osx
From: |
Gabriel L. Somlo |
Subject: |
Re: [Qemu-devel] [PATCH v2] e1000: initial link negotiation on mac osx |
Date: |
Fri, 8 Nov 2013 10:52:09 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Nov 08, 2013 at 02:39:25PM +0100, Stefan Hajnoczi wrote:
> On Fri, Nov 08, 2013 at 12:12:52AM +0100, Alexander Graf wrote:
>> We can easily modify SeaBIOS to just loop through all PCI devices,
>> look for an e1000 and initialize it far enough for XNU, no?
>> After all, it sounds like that's closer to the way a real Mac works.
>
> I'd much prefer Alex's suggestion so we avoid putting guest-specific
> hacks into QEMU.
>
> If there is really no better solution, please make an "extra" behavior
> disabled by default and accessible through a device property. For
> example -device e1000,xnu-preinit-hack=on.
I agree too, in principle. OTOH I'm a bit worried that teaching SeaBIOS
about e1000, and then getting that change upstreamed there might be
a whole different size of problem to solve :)
I will however give that a shot first, and fall back to
"xnu-preinit-hack=on" only if that doesn't work out...
Thanks,
--Gabriel