Added two new hardware properties to control AVD partition sizes.

  disk.systemPartition.size (default 66MB)
  disk.dataPartition.size   (default 66MB)

If the emulator detects that an image file is larger than the corresponding
setting, it will do the following:

- for AVDs running from the SDK, an error message will be printed and
  the emulator aborts. Note that this can only happen if there are some
  serious mis-configuration of AVDs anyway.

- when launching the emulator from the Android build system, a warning
  will be printed, and the partition size will be automatically adjusted
  at launch.

Previously, trying to launch an over-sized system image would result in the
emulated system booting, but then failing to find certain files, depending on
how the yaffs2 disk images are built. This caused hard-to-debug issues.

Note that the option -partition-size <size> can be used to override the AVD's
setting at runtime.
6 files changed
tree: aa9beca50259c642b40490a84329f4b1c4e4a68d
  1. android/
  2. audio/
  3. distrib/
  4. docs/
  5. fpu/
  6. hw/
  7. images/
  8. proxy/
  9. slirp2/
  10. target-arm/
  11. tcg/
  12. telephony/
  13. .gitignore
  14. a.out.h
  15. aes.c
  16. aes.h
  17. alpha.ld
  18. android-configure.sh
  19. android-rebuild.sh
  20. Android.mk
  21. arm-dis.c
  22. arm-semi.c
  23. arm.ld
  24. block-bochs.c
  25. block-cloop.c
  26. block-cow.c
  27. block-dmg.c
  28. block-nbd.c
  29. block-parallels.c
  30. block-qcow.c
  31. block-qcow2.c
  32. block-raw-posix.c
  33. block-raw-win32.c
  34. block-vmdk.c
  35. block-vpc.c
  36. block-vvfat.c
  37. block.c
  38. block.h
  39. block_int.h
  40. bswap.h
  41. cbuffer.c
  42. cbuffer.h
  43. Changelog
  44. CHANGES.TXT
  45. charpipe.c
  46. charpipe.h
  47. compatfd.c
  48. compatfd.h
  49. console.c
  50. console.h
  51. COPYING
  52. COPYING.LIB
  53. cpu-all.h
  54. cpu-defs.h
  55. cpu-exec.c
  56. curses.c
  57. curses_keys.h
  58. cutils.c
  59. d3des.c
  60. d3des.h
  61. dcache.c
  62. dcache.h
  63. dis-asm.h
  64. disas.c
  65. disas.h
  66. dyngen-exec.h
  67. dynlink.h
  68. elf.h
  69. elf_ops.h
  70. exec-all.h
  71. exec.c
  72. framebuffer.c
  73. framebuffer.h
  74. gdbstub.c
  75. gdbstub.h
  76. gen-charmap.py
  77. gen-icount.h
  78. gen-skin.py
  79. host-defs.h
  80. host-utils.c
  81. host-utils.h
  82. hostregs_helper.h
  83. hpet.h
  84. i386-dis.c
  85. i386-vl.ld
  86. i386.ld
  87. ia64.ld
  88. INSTALL
  89. keymaps.c
  90. kqemu.c
  91. kqemu.h
  92. LICENSE
  93. linux_keycodes.h
  94. loader.c
  95. loadpng.c
  96. m68k.ld
  97. Makefile
  98. Makefile.android
  99. MODULE_LICENSE_GPL
  100. monitor.c
  101. net.h
  102. NOTICE
  103. offset_layout.py
  104. osdep.c
  105. osdep.h
  106. ppc-dis.c
  107. ppc.ld
  108. qemu-char.h
  109. qemu-common.h
  110. qemu-lock.h
  111. qemu-log.h
  112. qemu-timer.h
  113. qemu_debug.h
  114. qemu_file.h
  115. qemu_socket.h
  116. qemu_timers.h
  117. readline.c
  118. README
  119. sdl_keysym.h
  120. shaper.c
  121. shaper.h
  122. sockets.c
  123. sockets.h
  124. softmmu-semi.h
  125. softmmu_defs.h
  126. softmmu_exec.h
  127. softmmu_header.h
  128. softmmu_template.h
  129. sparc.ld
  130. sysemu.h
  131. tap-win32.c
  132. tcpdump.c
  133. tcpdump.h
  134. thunk.c
  135. thunk.h
  136. trace.c
  137. trace.h
  138. trace_common.h
  139. translate-all.c
  140. translate-op.c
  141. translate.make
  142. uboot_image.h
  143. usb-linux.c
  144. varint.c
  145. varint.h
  146. vgafont.h
  147. vl.c
  148. vnc.c
  149. vnc_keysym.h
  150. vnchextile.h
  151. x86_64.ld