https://github.com/saucelabs/mac-osx-on-kvm/blob/master/e1000-mac-hacks.patch
- } else - s->phy_reg[addr] = data; + } else { + /* some (reset) bits are self clearing, so better clear them */ + switch (addr) { + case PHY_CTRL: + s->phy_reg[addr] = data & 0x7eff; + if (s->phy_reg[addr] != data) + set_ics(s, 0, E1000_ICR_LSC); + break; + default: + s->phy_reg[addr] = data; + } + } On Fri, Oct 25, 2013 at 8:21 AM, Paolo Bonzini <pbonz...@redhat.com> wrote: > Il 25/10/2013 14:53, jacek burghardt ha scritto: > > Is there a patch for qemu git master that pre init e1000 so I can get > > rid off unpluged network cable message ? I know there is patch but is is > > for older version of qemu and it seeem that it no longer functions and > > does not apply fully as code was changed. > > Which patch was that? > > Paolo >