diff options
author | Andrew Baumann <Andrew.Baumann@microsoft.com> | 2015-12-04 10:58:50 -0800 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2015-12-07 21:43:48 +0800 |
commit | 52b4bb7383b32e4e7512f98c57738c8fc9cb35ba (patch) | |
tree | 2919582a2ddea2c8d4b44d7bd05a9dbb6734d04c /hw/pci/pci.c | |
parent | 12fdd928c8d8ea55108c076dbbfff35ecf8e7a97 (diff) | |
download | 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 'hw/pci/pci.c')
0 files changed, 0 insertions, 0 deletions