|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch saves the current state of the SMSC 91C111 ethernet
emulation. The restore function will restore all buffers, thus
preventing segfaults when guest code tries to access data that was
there when state was saved. However, no effort is made to
re-establish connections. This is probably impossible anyway, since
we have no way to generically make the remote end pick up where we
left when state was suspended.
From the perspective of the guest, resuming is therefore equivalent
to a temporary network failure, in which all open connections are
lost. After the restore is complete, new connections can be made
as though nothing happened.
Change-Id: Ibbbabc685ef296e675d4018996f703e07d9aad6a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change integrates many changes from the upstream QEMU sources.
Its main purpose is to enable correct ARMv6 and ARMv7 support to the
Android emulator. Due to the nature of the upstream code base, this
unfortunately also required changes to many other parts of the source.
Note that to ensure easier integrations in the future, some source files
and directories that have heavy Android-specific customization have been
renamed with an -android suffix. The original files are still there for
easier integration tracking, but *never* compiled. For example:
net.c net-android.c
qemu-char.c qemu-char-android.c
slirp/ slirp-android/
etc...
Tested on linux-x86, darwin-x86 and windows host machines.
|