Commit 34a3d2399b8429c393935c4310dafff8f541776b

Authored by blueswir1
1 parent 000cacf6

Update Sparc docs, add -cpu flag

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5418 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 64 additions and 16 deletions
qemu-doc.texi
... ... @@ -337,6 +337,9 @@ Set virtual RAM size to @var{megs} megabytes. Default is 128 MiB. Optionally,
337 337 a suffix of ``M'' or ``G'' can be used to signify a value in megabytes or
338 338 gigabytes respectively.
339 339  
  340 +@item -cpu @var{model}
  341 +Select CPU model (-cpu ? for list and additional feature selection)
  342 +
340 343 @item -smp @var{n}
341 344 Simulate an SMP system with @var{n} CPUs. On the PC target, up to 255
342 345 CPUs are supported. On Sparc32 target, Linux limits the number of usable CPUs
... ... @@ -1838,7 +1841,7 @@ the protocol limits passwords to 8 characters it should not be considered
1838 1841 to provide high security. The password can be fairly easily brute-forced by
1839 1842 a client making repeat connections. For this reason, a VNC server using password
1840 1843 authentication should be restricted to only listen on the loopback interface
1841   -or UNIX domain sockets. Password ayuthentication is requested with the @code{password}
  1844 +or UNIX domain sockets. Password authentication is requested with the @code{password}
1842 1845 option, and then once QEMU is running the password is set with the monitor. Until
1843 1846 the monitor is used to set the password all clients will be rejected.
1844 1847  
... ... @@ -2256,14 +2259,37 @@ More information is available at
2256 2259 @node Sparc32 System emulator
2257 2260 @section Sparc32 System emulator
2258 2261  
2259   -Use the executable @file{qemu-system-sparc} to simulate a SPARCstation
2260   -5, SPARCstation 10, SPARCstation 20, SPARCserver 600MP (sun4m
2261   -architecture), SPARCstation 2 (sun4c architecture), SPARCserver 1000,
2262   -or SPARCcenter 2000 (sun4d architecture). The emulation is somewhat
2263   -complete. SMP up to 16 CPUs is supported, but Linux limits the number
2264   -of usable CPUs to 4.
  2262 +Use the executable @file{qemu-system-sparc} to simulate the following
  2263 +Sun4m architecture machines:
  2264 +@itemize @minus
  2265 +@item
  2266 +SPARCstation 4
  2267 +@item
  2268 +SPARCstation 5
  2269 +@item
  2270 +SPARCstation 10
  2271 +@item
  2272 +SPARCstation 20
  2273 +@item
  2274 +SPARCserver 600MP
  2275 +@item
  2276 +SPARCstation LX
  2277 +@item
  2278 +SPARCstation Voyager
  2279 +@item
  2280 +SPARCclassic
  2281 +@item
  2282 +SPARCbook
  2283 +@end itemize
  2284 +
  2285 +The emulation is somewhat complete. SMP up to 16 CPUs is supported,
  2286 +but Linux limits the number of usable CPUs to 4.
  2287 +
  2288 +It's also possible to simulate a SPARCstation 2 (sun4c architecture),
  2289 +SPARCserver 1000, or SPARCcenter 2000 (sun4d architecture), but these
  2290 +emulators are not usable yet.
2265 2291  
2266   -QEMU emulates the following sun4m/sun4d peripherals:
  2292 +QEMU emulates the following sun4m/sun4c/sun4d peripherals:
2267 2293  
2268 2294 @itemize @minus
2269 2295 @item
... ... @@ -2273,7 +2299,7 @@ TCX Frame buffer
2273 2299 @item
2274 2300 Lance (Am7990) Ethernet
2275 2301 @item
2276   -Non Volatile RAM M48T08
  2302 +Non Volatile RAM M48T02/M48T08
2277 2303 @item
2278 2304 Slave I/O: timers, interrupt controllers, Zilog serial ports, keyboard
2279 2305 and power/reset logic
... ... @@ -2295,8 +2321,10 @@ firmware implementation. The goal is to implement a 100% IEEE
2295 2321 1275-1994 (referred to as Open Firmware) compliant firmware.
2296 2322  
2297 2323 A sample Linux 2.6 series kernel and ram disk image are available on
2298   -the QEMU web site. Please note that currently NetBSD, OpenBSD or
2299   -Solaris kernels don't work.
  2324 +the QEMU web site. There are still issues with NetBSD and OpenBSD, but
  2325 +some kernel versions work. Please note that currently Solaris kernels
  2326 +don't work probably due to interface issues between OpenBIOS and
  2327 +Solaris.
2300 2328  
2301 2329 @c man begin OPTIONS
2302 2330  
... ... @@ -2318,7 +2346,7 @@ qemu-system-sparc -prom-env 'auto-boot?=false' \
2318 2346 -prom-env 'boot-device=sd(0,2,0):d' -prom-env 'boot-args=linux single'
2319 2347 @end example
2320 2348  
2321   -@item -M [SS-5|SS-10|SS-20|SS-600MP|SS-2|SS-1000|SS-2000]
  2349 +@item -M [SS-4|SS-5|SS-10|SS-20|SS-600MP|LX|Voyager|SPARCClassic|SPARCbook|SS-2|SS-1000|SS-2000]
2322 2350  
2323 2351 Set the emulated machine type. Default is SS-5.
2324 2352  
... ... @@ -2329,8 +2357,10 @@ Set the emulated machine type. Default is SS-5.
2329 2357 @node Sparc64 System emulator
2330 2358 @section Sparc64 System emulator
2331 2359  
2332   -Use the executable @file{qemu-system-sparc64} to simulate a Sun4u or
2333   -Sun4v machine. The emulator is not usable for anything yet.
  2360 +Use the executable @file{qemu-system-sparc64} to simulate a Sun4u
  2361 +(UltraSPARC PC-like machine), Sun4v (T1 PC-like machine), or generic
  2362 +Niagara (T1) machine. The emulator is not usable for anything yet, but
  2363 +it can launch some kernels.
2334 2364  
2335 2365 QEMU emulates the following peripherals:
2336 2366  
... ... @@ -2340,11 +2370,15 @@ UltraSparc IIi APB PCI Bridge
2340 2370 @item
2341 2371 PCI VGA compatible card with VESA Bochs Extensions
2342 2372 @item
  2373 +PS/2 mouse and keyboard
  2374 +@item
2343 2375 Non Volatile RAM M48T59
2344 2376 @item
2345 2377 PC-compatible serial ports
2346 2378 @item
2347 2379 2 PCI IDE interfaces with hard disk and CD-ROM support
  2380 +@item
  2381 +Floppy disk
2348 2382 @end itemize
2349 2383  
2350 2384 @c man begin OPTIONS
... ... @@ -2353,7 +2387,15 @@ The following options are specific to the Sparc64 emulation:
2353 2387  
2354 2388 @table @option
2355 2389  
2356   -@item -M [sun4u|sun4v]
  2390 +@item -prom-env string
  2391 +
  2392 +Set OpenBIOS variables in NVRAM, for example:
  2393 +
  2394 +@example
  2395 +qemu-system-sparc64 -prom-env 'auto-boot?=false'
  2396 +@end example
  2397 +
  2398 +@item -M [sun4u|sun4v|Niagara]
2357 2399  
2358 2400 Set the emulated machine type. The default is sun4u.
2359 2401  
... ... @@ -2810,7 +2852,7 @@ qemu-i386 /usr/local/qemu-i386/wine/bin/wine \
2810 2852 @subsection Command line options
2811 2853  
2812 2854 @example
2813   -usage: qemu-i386 [-h] [-d] [-L path] [-s size] program [arguments...]
  2855 +usage: qemu-i386 [-h] [-d] [-L path] [-s size] [-cpu model] [-g port] program [arguments...]
2814 2856 @end example
2815 2857  
2816 2858 @table @option
... ... @@ -2820,6 +2862,8 @@ Print the help
2820 2862 Set the x86 elf interpreter prefix (default=/usr/local/qemu-i386)
2821 2863 @item -s size
2822 2864 Set the x86 stack size in bytes (default=524288)
  2865 +@item -cpu model
  2866 +Select CPU model (-cpu ? for list and additional feature selection)
2823 2867 @end table
2824 2868  
2825 2869 Debug options:
... ... @@ -2829,6 +2873,8 @@ Debug options:
2829 2873 Activate log (logfile=/tmp/qemu.log)
2830 2874 @item -p pagesize
2831 2875 Act as if the host page size was 'pagesize' bytes
  2876 +@item -g port
  2877 +Wait gdb connection to port
2832 2878 @end table
2833 2879  
2834 2880 Environment variables:
... ... @@ -2856,6 +2902,8 @@ coldfire uClinux bFLT format binaries.
2856 2902  
2857 2903 The binary format is detected automatically.
2858 2904  
  2905 +@command{qemu-sparc} can execute Sparc32 binaries (Sparc32 CPU, 32 bit ABI).
  2906 +
2859 2907 @command{qemu-sparc32plus} can execute Sparc32 and SPARC32PLUS binaries
2860 2908 (Sparc64 CPU, 32 bit ABI).
2861 2909  
... ...