diff options
| author | Andrew Baumann | 2015-12-04 19:58:50 +0100 |
|---|---|---|
| committer | Jason Wang | 2015-12-07 14:43:48 +0100 |
| commit | 52b4bb7383b32e4e7512f98c57738c8fc9cb35ba (patch) | |
| tree | 2919582a2ddea2c8d4b44d7bd05a9dbb6734d04c /include | |
| parent | lan9118: fix emulation of MAC address loaded bit in E2P_CMD register (diff) | |
| download | qemu-52b4bb7383b32e4e7512f98c57738c8fc9cb35ba.tar.gz qemu-52b4bb7383b32e4e7512f98c57738c8fc9cb35ba.tar.xz qemu-52b4bb7383b32e4e7512f98c57738c8fc9cb35ba.zip | |
lan9118: log and ignore access to invalid registers, rather than aborting
With this change, access to invalid/unimplemented device registers are
logged as a "guest error" rather than aborting qemu with
hw_error. This enables drivers for similar devices (e.g. SMSC 9221),
by simply ignoring the unimplemented writes. It's also closer to what
real hardware does.
Signed-off-by: Andrew Baumann <Andrew.Baumann@microsoft.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
