retry KVM_CREATE_VM on EINTR/EAGAIN

Change-Id: Ie348e4f0e81a4ea90695cdb6d91dd5683a0e28cc
Move bswap.h to include/qemu/bswap.h

Before integrating upstream patches, we need to move source
files around to match the new directory structure used there.
This is the first of such changes.

Change-Id: Ib42669003851aa5a5295dd66cfebb307c63f054f
Move osdeps.h to include/qemu/osdep.h

and osdep.c to util/osdep.c

Change-Id: Icaf5cd7dfc8f75cbe7eb324cc9ca91a976f35d57
Move qemu-timer.h to include/qemu/timer.h

Note: upstream still puts qemu-timer.c in the top-level
directory, so no need to move it

Change-Id: I475309d6f0040b4fd2277e52a2526825c112e91f
Move more files to include/qemu/ and util/

Change-Id: I79e70241894e8bbeea2de711ff9de742583c23b1
Move more stuff to include/qemu/ and util/

Change-Id: I3d10ae4d5b050f7da565476e2c0f6be5d3348f5d
Even more moves.

  include/ui + ui/
  include/qapi/qmp/ + qobject/

Change-Id: Ief236a08cb234d9dd692e85907757678ef32f035
Move headers to include/exec/

Change-Id: Ife43f9cd12a02aa98f408043b0cccb9fe45a9ff7
More missing include/qapi/qmp/ headers moved.

Change-Id: I83b1daddaaee42c7edbe533a13324a0dc78e0ed4
Move net.h to include/net/

+ Move net-android.c and net.c to net/
+ Rename net-checksum.c to net/checksum.c
+ Move sockets.h and shaper.h to include/android/
  and sockets.c + shaper.c to android/

+ Move vgafont.h to ui/

Change-Id: I2659a919a316d3f95aac0f9924833eeee4cb5592
Move dynlink.h to include/android/

+ Move dynlink-static.c to android/
+ Move loadpng.c to android/
+ Move linux_keycodes.h to android/

Change-Id: Ibaede71e37223e86393cecc5bc86ac97ea1c97e6
Move iolooper.h to include/android/

+ Move iolooper-select.c to android/

Change-Id: I5154aa491132b43c3b80c248bb8dd968f4d41c2a
Move android-trace.h to include/android/

+ android-trace_common.h -> include/android/trace_common.h
  NOTE: trace_common.h is still in the top-level directory because
        the qtools first need to be updated to include the header
        at include/android/trace_common.h

+ trace.c -> android/
+ user-events.h -> include/android/
+ user-events-qemu.c -> android/

Change-Id: Idbf59c8b1a5cc2872f035eb3fa7f9922755f357d
Move monitor.h to include/monitor/

+ monitor-android.h -> include/android/monitor.h

Change-Id: Iad8afa71461dd70c6997902516fbf4ef7cb8babe
Move disas.h to include/disas/

+ dis-asm.h -> include/disas/bfd.h

+ arm-dis.c -> disas/arm.c
  ppc-dis.c -> disas/ppc.c
  i386-dis.c -> disas/i386.c
  mips-dis.c -> disas/mips.c

+ remove all unused .ld scripts

Change-Id: Ie29662b83c09ea17d34e42dda3998691c182b10e
Move migration.h to include/migration/

+ qemu_file.h -> include/migration/qemu-file.h
+ thunk.h -> include/exec/user/

Change-Id: I6fc339ac0fe9d366db1ed095dff08f5619ebc3d5
Move headers to incude/sysemu/

+ arch_init.h, balloon.h, blockdev.h, dma.h, kvm.h,
  sysemu.h -> include/sysemu/

+ kvm-android.h -> include/android/kvm.h

Change-Id: I3d334e1b6eea836fdcee9f36fe693cf4c74be54f
Move fpu/softfloat.h -> include/fpu/

Change-Id: I0d15a547dff8b421cdb633ecf939f954a4727631
Move more headers.

cbuffer.h, charpipe.h -> include/android/
cbuffer.c, charpipe.c -> android/
qemu_debug.h -> include/android/qemu-debug.h
block.h, block_int.h -> include/block/
elf.h -> include/
hax.h -> include/exec/
qemu-lock.h -> include/exec/spinlock.h
readline.h -> include/monitor/readline.h
qemu-common.h - include
qemu-barrier.h -> include/qemu/atomic.h
qemu-log.h -> include/qemu/log.h

Change-Id: I86b998932461caa35d347cd71b40bd6e4ec7d84d
qemu-char.h -> include/sysemu/char.h

Change-Id: I8e3d6e9a73a347978789a98035e89ea1e03b59aa