]> Git Repo - qemu.git/blame - qemu-doc.texi
sparc fix
[qemu.git] / qemu-doc.texi
CommitLineData
386405f7
FB
1\input texinfo @c -*- texinfo -*-
2
0806e3f6 3@iftex
1f673135 4@settitle QEMU CPU Emulator User Documentation
386405f7
FB
5@titlepage
6@sp 7
1f673135 7@center @titlefont{QEMU CPU Emulator User Documentation}
386405f7
FB
8@sp 3
9@end titlepage
0806e3f6 10@end iftex
386405f7
FB
11
12@chapter Introduction
13
322d0c66 14@section Features
386405f7 15
1f673135
FB
16QEMU is a FAST! processor emulator using dynamic translation to
17achieve good emulation speed.
1eb20527
FB
18
19QEMU has two operating modes:
0806e3f6
FB
20
21@itemize @minus
22
23@item
1f673135
FB
24Full system emulation. In this mode, QEMU emulates a full system (for
25example a PC), including a processor and various peripherials. It can
26be used to launch different Operating Systems without rebooting the
27PC or to debug system code.
1eb20527 28
0806e3f6 29@item
1f673135
FB
30User mode emulation (Linux host only). In this mode, QEMU can launch
31Linux processes compiled for one CPU on another CPU. It can be used to
32launch the Wine Windows API emulator (@url{http://www.winehq.org}) or
33to ease cross-compilation and cross-debugging.
1eb20527
FB
34
35@end itemize
36
7c3fc84d
FB
37QEMU can run without an host kernel driver and yet gives acceptable
38performance. On an x86 host, if you want the highest performance for
39the x86 target, the @emph{QEMU Accelerator Module} (KQEMU) allows QEMU
40to reach near native performances. KQEMU is currently only supported
41for an x86 Linux 2.4 or 2.6 host system, but more host OSes will be
42supported in the future.
322d0c66 43
52c00a5f
FB
44For system emulation, the following hardware targets are supported:
45@itemize
46@item PC (x86 processor)
47@item PREP (PowerPC processor)
15a34c63 48@item PowerMac (PowerPC processor, in progress)
52c00a5f 49@end itemize
386405f7 50
1f673135 51For user emulation, x86, PowerPC, ARM, and SPARC CPUs are supported.
0806e3f6 52
5b9f457a
FB
53@chapter Installation
54
15a34c63
FB
55If you want to compile QEMU yourself, see @ref{compilation}.
56
1f673135
FB
57@section Linux
58
7c3fc84d
FB
59If a precompiled package is available for your distribution - you just
60have to install it. Otherwise, see @ref{compilation}.
5b9f457a 61
1f673135 62@section Windows
8cd0ac2f 63
15a34c63
FB
64Download the experimental binary installer at
65@url{http://www.freeoszoo.org/download.php}.
d691f669 66
1f673135 67@section Mac OS X
d691f669 68
15a34c63
FB
69Download the experimental binary installer at
70@url{http://www.freeoszoo.org/download.php}.
df0f11a0 71
52c00a5f 72@chapter QEMU PC System emulator invocation
1eb20527 73
0806e3f6
FB
74@section Introduction
75
76@c man begin DESCRIPTION
77
7c3fc84d
FB
78The QEMU System emulator simulates the
79following PC peripherials:
0806e3f6
FB
80
81@itemize @minus
15a34c63
FB
82@item
83i440FX host PCI bridge and PIIX3 PCI to ISA bridge
0806e3f6 84@item
15a34c63
FB
85Cirrus CLGD 5446 PCI VGA card or dummy VGA card with Bochs VESA
86extensions (hardware level, including all non standard modes).
0806e3f6
FB
87@item
88PS/2 mouse and keyboard
89@item
15a34c63 902 PCI IDE interfaces with hard disk and CD-ROM support
1f673135
FB
91@item
92Floppy disk
0806e3f6 93@item
15a34c63 94NE2000 PCI network adapters
0806e3f6 95@item
05d5818c
FB
96Serial ports
97@item
181f1558 98Soundblaster 16 card
0806e3f6
FB
99@end itemize
100
15a34c63
FB
101QEMU uses the PC BIOS from the Bochs project and the Plex86/Bochs LGPL
102VGA BIOS.
103
0806e3f6
FB
104@c man end
105
1eb20527
FB
106@section Quick Start
107
285dc330 108Download and uncompress the linux image (@file{linux.img}) and type:
0806e3f6
FB
109
110@example
285dc330 111qemu linux.img
0806e3f6
FB
112@end example
113
114Linux should boot and give you a prompt.
115
ec410fc9
FB
116@section Invocation
117
118@example
0806e3f6
FB
119@c man begin SYNOPSIS
120usage: qemu [options] [disk_image]
121@c man end
ec410fc9
FB
122@end example
123
0806e3f6 124@c man begin OPTIONS
9d4520d0 125@var{disk_image} is a raw hard disk image for IDE hard disk 0.
ec410fc9
FB
126
127General options:
128@table @option
2be3bc02
FB
129@item -fda file
130@item -fdb file
be3edd95
FB
131Use @var{file} as floppy disk 0/1 image (@xref{disk_images}). You can
132use the host floppy by using @file{/dev/fd0} as filename.
2be3bc02 133
ec410fc9
FB
134@item -hda file
135@item -hdb file
181f1558
FB
136@item -hdc file
137@item -hdd file
2be3bc02 138Use @var{file} as hard disk 0, 1, 2 or 3 image (@xref{disk_images}).
1f47a922 139
181f1558
FB
140@item -cdrom file
141Use @var{file} as CD-ROM image (you cannot use @option{-hdc} and and
be3edd95
FB
142@option{-cdrom} at the same time). You can use the host CD-ROM by
143using @file{/dev/cdrom} as filename.
181f1558 144
1f673135
FB
145@item -boot [a|c|d]
146Boot on floppy (a), hard disk (c) or CD-ROM (d). Hard disk boot is
2be3bc02 147the default.
1f47a922 148
181f1558 149@item -snapshot
1f47a922
FB
150Write to temporary files instead of disk image files. In this case,
151the raw disk image you use is not written back. You can however force
152the write back by pressing @key{C-a s} (@xref{disk_images}).
ec410fc9
FB
153
154@item -m megs
15a34c63 155Set virtual RAM size to @var{megs} megabytes. Default is 128 MB.
ec410fc9 156
0806e3f6
FB
157@item -nographic
158
159Normally, QEMU uses SDL to display the VGA output. With this option,
160you can totally disable graphical output so that QEMU is a simple
161command line application. The emulated serial port is redirected on
162the console. Therefore, you can still use QEMU to debug a Linux kernel
163with a serial console.
164
3d11d0eb
FB
165@item -k language
166
167Use keyboard layout @var{language} (for example @code{fr} for
168French). This option is only needed where it is not easy to get raw PC
169keycodes (e.g. on Macs or with some X11 servers). You don't need to
170use it on PC/Linux or PC/Windows hosts.
171
172The available layouts are:
173@example
174ar de-ch es fo fr-ca hu ja mk no pt-br sv
175da en-gb et fr fr-ch is lt nl pl ru th
176de en-us fi fr-be hr it lv nl-be pt sl tr
177@end example
178
179The default is @code{en-us}.
180
a8c490cd
FB
181@item -enable-audio
182
183The SB16 emulation is disabled by default as it may give problems with
184Windows. You can enable it manually with this option.
185
15a34c63
FB
186@item -localtime
187Set the real time clock to local time (the default is to UTC
188time). This option is needed to have correct date in MS-DOS or
189Windows.
190
d63d307f
FB
191@item -full-screen
192Start in full screen.
193
f7cce898
FB
194@item -pidfile file
195Store the QEMU process PID in @var{file}. It is useful if you launch QEMU
196from a script.
197
0806e3f6
FB
198@end table
199
1f673135
FB
200Network options:
201
202@table @option
203
204@item -n script
52c00a5f
FB
205Set TUN/TAP network init script [default=/etc/qemu-ifup]. This script
206is launched to configure the host network interface (usually tun0)
1f673135
FB
207corresponding to the virtual NE2000 card.
208
1f673135
FB
209@item -macaddr addr
210
211Set the mac address of the first interface (the format is
212aa:bb:cc:dd:ee:ff in hexa). The mac address is incremented for each
213new network interface.
214
52c00a5f
FB
215@item -tun-fd fd
216Assumes @var{fd} talks to a tap/tun host network interface and use
217it. Read @url{http://bellard.org/qemu/tetrinet.html} to have an
218example of its use.
219
220@item -user-net
15a34c63
FB
221Use the user mode network stack. This is the default if no tun/tap
222network init script is found.
52c00a5f 223
9bf05444
FB
224@item -tftp prefix
225When using the user mode network stack, activate a built-in TFTP
226server. All filenames beginning with @var{prefix} can be downloaded
227from the host to the guest using a TFTP client. The TFTP client on the
228guest must be configured in binary mode (use the command @code{bin} of
229the Unix TFTP client). The host IP address on the guest is as usual
23010.0.2.2.
231
2518bd0d
FB
232@item -smb dir
233When using the user mode network stack, activate a built-in SMB
234server so that Windows OSes can access to the host files in @file{dir}
235transparently.
236
237In the guest Windows OS, the line:
238@example
23910.0.2.4 smbserver
240@end example
241must be added in the file @file{C:\WINDOWS\LMHOSTS} (for windows 9x/Me)
242or @file{C:\WINNT\SYSTEM32\DRIVERS\ETC\LMHOSTS} (Windows NT/2000).
243
244Then @file{dir} can be accessed in @file{\\smbserver\qemu}.
245
246Note that a SAMBA server must be installed on the host OS in
247@file{/usr/sbin/smbd}. QEMU was tested succesfully with smbd version
2482.2.7a from the Red Hat 9.
249
9bf05444
FB
250@item -redir [tcp|udp]:host-port:[guest-host]:guest-port
251
252When using the user mode network stack, redirect incoming TCP or UDP
253connections to the host port @var{host-port} to the guest
254@var{guest-host} on guest port @var{guest-port}. If @var{guest-host}
255is not specified, its value is 10.0.2.15 (default address given by the
256built-in DHCP server).
257
258For example, to redirect host X11 connection from screen 1 to guest
259screen 0, use the following:
260
261@example
262# on the host
263qemu -redir tcp:6001::6000 [...]
264# this host xterm should open in the guest X11 server
265xterm -display :1
266@end example
267
268To redirect telnet connections from host port 5555 to telnet port on
269the guest, use the following:
270
271@example
272# on the host
273qemu -redir tcp:5555::23 [...]
274telnet localhost 5555
275@end example
276
277Then when you use on the host @code{telnet localhost 5555}, you
278connect to the guest telnet server.
279
52c00a5f 280@item -dummy-net
15a34c63 281Use the dummy network stack: no packet will be received by the network
52c00a5f 282cards.
1f673135
FB
283
284@end table
285
286Linux boot specific. When using this options, you can use a given
287Linux kernel without installing it in the disk image. It can be useful
288for easier testing of various kernels.
289
0806e3f6
FB
290@table @option
291
292@item -kernel bzImage
293Use @var{bzImage} as kernel image.
294
295@item -append cmdline
296Use @var{cmdline} as kernel command line
297
298@item -initrd file
299Use @var{file} as initial ram disk.
300
ec410fc9
FB
301@end table
302
15a34c63 303Debug/Expert options:
ec410fc9 304@table @option
a0a821a4
FB
305
306@item -serial dev
307Redirect the virtual serial port to host device @var{dev}. Available
308devices are:
309@table @code
310@item vc
311Virtual console
312@item pty
313[Linux only] Pseudo TTY (a new PTY is automatically allocated)
314@item null
315void device
316@item stdio
317[Unix only] standard input/output
318@end table
319The default device is @code{vc} in graphical mode and @code{stdio} in
320non graphical mode.
321
05d5818c
FB
322This option can be used several times to simulate up to 4 serials
323ports.
324
a0a821a4
FB
325@item -monitor dev
326Redirect the monitor to host device @var{dev} (same devices as the
327serial port).
328The default device is @code{vc} in graphical mode and @code{stdio} in
329non graphical mode.
330
ec410fc9 331@item -s
0806e3f6 332Wait gdb connection to port 1234 (@xref{gdb_usage}).
ec410fc9
FB
333@item -p port
334Change gdb connection port.
52c00a5f
FB
335@item -S
336Do not start CPU at startup (you must type 'c' in the monitor).
ec410fc9 337@item -d
9d4520d0 338Output log in /tmp/qemu.log
46d4767d
FB
339@item -hdachs c,h,s,[,t]
340Force hard disk 0 physical geometry (1 <= @var{c} <= 16383, 1 <=
341@var{h} <= 16, 1 <= @var{s} <= 63) and optionally force the BIOS
342translation mode (@var{t}=none, lba or auto). Usually QEMU can guess
343all thoses parameters. This option is useful for old MS-DOS disk
344images.
7c3fc84d
FB
345
346@item -no-kqemu
347Disable the usage of the QEMU Accelerator module (KQEMU). QEMU will work as
348usual but will be slower. This option can be useful to determine if
349emulation problems are coming from KQEMU.
350
15a34c63
FB
351@item -isa
352Simulate an ISA-only system (default is PCI system).
353@item -std-vga
354Simulate a standard VGA card with Bochs VBE extensions (default is
355Cirrus Logic GD5446 PCI VGA)
d63d307f
FB
356@item -loadvm file
357Start right away with a saved state (@code{loadvm} in monitor)
ec410fc9
FB
358@end table
359
3e11db9a
FB
360@c man end
361
362@section Keys
363
364@c man begin OPTIONS
365
a1b74fe8
FB
366During the graphical emulation, you can use the following keys:
367@table @key
f9859310 368@item Ctrl-Alt-f
a1b74fe8 369Toggle full screen
a0a821a4 370
f9859310 371@item Ctrl-Alt-n
a0a821a4
FB
372Switch to virtual console 'n'. Standard console mappings are:
373@table @emph
374@item 1
375Target system display
376@item 2
377Monitor
378@item 3
379Serial port
a1b74fe8
FB
380@end table
381
f9859310 382@item Ctrl-Alt
a0a821a4
FB
383Toggle mouse and keyboard grab.
384@end table
385
3e11db9a
FB
386In the virtual consoles, you can use @key{Ctrl-Up}, @key{Ctrl-Down},
387@key{Ctrl-PageUp} and @key{Ctrl-PageDown} to move in the back log.
388
a0a821a4
FB
389During emulation, if you are using the @option{-nographic} option, use
390@key{Ctrl-a h} to get terminal commands:
ec410fc9
FB
391
392@table @key
a1b74fe8 393@item Ctrl-a h
ec410fc9 394Print this help
a1b74fe8 395@item Ctrl-a x
ec410fc9 396Exit emulatior
a1b74fe8 397@item Ctrl-a s
1f47a922 398Save disk data back to file (if -snapshot)
a1b74fe8 399@item Ctrl-a b
1f673135 400Send break (magic sysrq in Linux)
a1b74fe8 401@item Ctrl-a c
1f673135 402Switch between console and monitor
a1b74fe8
FB
403@item Ctrl-a Ctrl-a
404Send Ctrl-a
ec410fc9 405@end table
0806e3f6
FB
406@c man end
407
408@ignore
409
410@setfilename qemu
411@settitle QEMU System Emulator
412
1f673135
FB
413@c man begin SEEALSO
414The HTML documentation of QEMU for more precise information and Linux
415user mode emulator invocation.
416@c man end
417
418@c man begin AUTHOR
419Fabrice Bellard
420@c man end
421
422@end ignore
423
424@end ignore
425
7c3fc84d
FB
426@section QEMU Accelerator Module
427
428The QEMU Accelerator Module (KQEMU) is an optional part of QEMU currently only
429available for Linux 2.4 or 2.6 x86 hosts. It enables QEMU to run x86
430code much faster. Provided it is installed on your PC (see
431@ref{kqemu_install}), QEMU will automatically use it.
432
433WARNING: as with any alpha stage kernel driver, KQEMU may cause
434arbitrary data loss on your PC, so you'd better backup your sensitive
435data before using it.
436
437When using KQEMU, QEMU will create a big hidden file containing the
438RAM of the virtual machine. For best performance, it is important that
439this file is kept in RAM and not on the hard disk. QEMU uses the
440@file{/dev/shm} directory to create this file because @code{tmpfs} is
441usually mounted on it (check with the shell command
442@code{df}). Otherwise @file{/tmp} is used as fallback. You can use the
443@var{QEMU_TMPDIR} shell variable to set a new directory for the QEMU
444RAM file.
1f673135 445
580a5e27
FB
446KQEMU has only been tested with Linux 2.4, Linux 2.6 and Windows 2000
447as guest OSes. If your guest OS do not work with KQEMU, you can
448dynamically disable KQEMU with the @option{-no-kqemu} option.
449
1f673135
FB
450@section QEMU Monitor
451
452The QEMU monitor is used to give complex commands to the QEMU
453emulator. You can use it to:
454
455@itemize @minus
456
457@item
458Remove or insert removable medias images
459(such as CD-ROM or floppies)
460
461@item
462Freeze/unfreeze the Virtual Machine (VM) and save or restore its state
463from a disk file.
464
465@item Inspect the VM state without an external debugger.
466
467@end itemize
468
469@subsection Commands
470
471The following commands are available:
472
473@table @option
474
475@item help or ? [cmd]
476Show the help for all commands or just for command @var{cmd}.
477
478@item commit
479Commit changes to the disk images (if -snapshot is used)
480
481@item info subcommand
482show various information about the system state
483
484@table @option
485@item info network
486show the network state
487@item info block
488show the block devices
489@item info registers
490show the cpu registers
491@item info history
492show the command line history
493@end table
494
495@item q or quit
496Quit the emulator.
497
498@item eject [-f] device
499Eject a removable media (use -f to force it).
500
501@item change device filename
502Change a removable media.
503
504@item screendump filename
505Save screen into PPM image @var{filename}.
506
507@item log item1[,...]
508Activate logging of the specified items to @file{/tmp/qemu.log}.
509
510@item savevm filename
511Save the whole virtual machine state to @var{filename}.
512
513@item loadvm filename
514Restore the whole virtual machine state from @var{filename}.
515
516@item stop
517Stop emulation.
518
519@item c or cont
520Resume emulation.
521
522@item gdbserver [port]
523Start gdbserver session (default port=1234)
524
525@item x/fmt addr
526Virtual memory dump starting at @var{addr}.
527
528@item xp /fmt addr
529Physical memory dump starting at @var{addr}.
530
531@var{fmt} is a format which tells the command how to format the
532data. Its syntax is: @option{/@{count@}@{format@}@{size@}}
533
534@table @var
535@item count
536is the number of items to be dumped.
537
538@item format
539can be x (hexa), d (signed decimal), u (unsigned decimal), o (octal),
540c (char) or i (asm instruction).
541
542@item size
52c00a5f
FB
543can be b (8 bits), h (16 bits), w (32 bits) or g (64 bits). On x86,
544@code{h} or @code{w} can be specified with the @code{i} format to
545respectively select 16 or 32 bit code instruction size.
1f673135
FB
546
547@end table
548
549Examples:
550@itemize
551@item
552Dump 10 instructions at the current instruction pointer:
553@example
554(qemu) x/10i $eip
5550x90107063: ret
5560x90107064: sti
5570x90107065: lea 0x0(%esi,1),%esi
5580x90107069: lea 0x0(%edi,1),%edi
5590x90107070: ret
5600x90107071: jmp 0x90107080
5610x90107073: nop
5620x90107074: nop
5630x90107075: nop
5640x90107076: nop
565@end example
566
567@item
568Dump 80 16 bit values at the start of the video memory.
569@example
570(qemu) xp/80hx 0xb8000
5710x000b8000: 0x0b50 0x0b6c 0x0b65 0x0b78 0x0b38 0x0b36 0x0b2f 0x0b42
5720x000b8010: 0x0b6f 0x0b63 0x0b68 0x0b73 0x0b20 0x0b56 0x0b47 0x0b41
5730x000b8020: 0x0b42 0x0b69 0x0b6f 0x0b73 0x0b20 0x0b63 0x0b75 0x0b72
5740x000b8030: 0x0b72 0x0b65 0x0b6e 0x0b74 0x0b2d 0x0b63 0x0b76 0x0b73
5750x000b8040: 0x0b20 0x0b30 0x0b35 0x0b20 0x0b4e 0x0b6f 0x0b76 0x0b20
5760x000b8050: 0x0b32 0x0b30 0x0b30 0x0b33 0x0720 0x0720 0x0720 0x0720
5770x000b8060: 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720
5780x000b8070: 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720
5790x000b8080: 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720
5800x000b8090: 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720
581@end example
582@end itemize
583
584@item p or print/fmt expr
585
586Print expression value. Only the @var{format} part of @var{fmt} is
587used.
0806e3f6 588
a3a91a35
FB
589@item sendkey keys
590
591Send @var{keys} to the emulator. Use @code{-} to press several keys
592simultaneously. Example:
593@example
594sendkey ctrl-alt-f1
595@end example
596
597This command is useful to send keys that your graphical user interface
598intercepts at low level, such as @code{ctrl-alt-f1} in X Window.
599
15a34c63
FB
600@item system_reset
601
602Reset the system.
603
1f673135 604@end table
0806e3f6 605
1f673135
FB
606@subsection Integer expressions
607
608The monitor understands integers expressions for every integer
609argument. You can use register names to get the value of specifics
610CPU registers by prefixing them with @emph{$}.
ec410fc9 611
1f47a922
FB
612@node disk_images
613@section Disk Images
614
acd935ef
FB
615Since version 0.6.1, QEMU supports many disk image formats, including
616growable disk images (their size increase as non empty sectors are
617written), compressed and encrypted disk images.
1f47a922 618
acd935ef
FB
619@subsection Quick start for disk image creation
620
621You can create a disk image with the command:
1f47a922 622@example
acd935ef 623qemu-img create myimage.img mysize
1f47a922 624@end example
acd935ef
FB
625where @var{myimage.img} is the disk image filename and @var{mysize} is its
626size in kilobytes. You can add an @code{M} suffix to give the size in
627megabytes and a @code{G} suffix for gigabytes.
628
629@xref{qemu_img_invocation} for more information.
1f47a922
FB
630
631@subsection Snapshot mode
632
633If you use the option @option{-snapshot}, all disk images are
634considered as read only. When sectors in written, they are written in
635a temporary file created in @file{/tmp}. You can however force the
acd935ef
FB
636write back to the raw disk images by using the @code{commit} monitor
637command (or @key{C-a s} in the serial console).
1f47a922 638
acd935ef
FB
639@node qemu_img_invocation
640@subsection @code{qemu-img} Invocation
1f47a922 641
acd935ef 642@include qemu-img.texi
05efe46e 643
9d4fb82e
FB
644@section Network emulation
645
646QEMU simulates up to 6 networks cards (NE2000 boards). Each card can
647be connected to a specific host network interface.
648
649@subsection Using tun/tap network interface
650
651This is the standard way to emulate network. QEMU adds a virtual
652network device on your host (called @code{tun0}), and you can then
653configure it as if it was a real ethernet card.
654
655As an example, you can download the @file{linux-test-xxx.tar.gz}
656archive and copy the script @file{qemu-ifup} in @file{/etc} and
657configure properly @code{sudo} so that the command @code{ifconfig}
658contained in @file{qemu-ifup} can be executed as root. You must verify
659that your host kernel supports the TUN/TAP network interfaces: the
660device @file{/dev/net/tun} must be present.
661
662See @ref{direct_linux_boot} to have an example of network use with a
663Linux distribution.
664
665@subsection Using the user mode network stack
666
443f1376
FB
667By using the option @option{-user-net} or if you have no tun/tap init
668script, QEMU uses a completely user mode network stack (you don't need
669root priviledge to use the virtual network). The virtual network
670configuration is the following:
9d4fb82e
FB
671
672@example
673
674QEMU Virtual Machine <------> Firewall/DHCP server <-----> Internet
675 (10.0.2.x) | (10.0.2.2)
676 |
2518bd0d
FB
677 ----> DNS server (10.0.2.3)
678 |
679 ----> SMB server (10.0.2.4)
9d4fb82e
FB
680@end example
681
682The QEMU VM behaves as if it was behind a firewall which blocks all
683incoming connections. You can use a DHCP client to automatically
684configure the network in the QEMU VM.
685
686In order to check that the user mode network is working, you can ping
687the address 10.0.2.2 and verify that you got an address in the range
68810.0.2.x from the QEMU virtual DHCP server.
689
b415a407
FB
690Note that @code{ping} is not supported reliably to the internet as it
691would require root priviledges. It means you can only ping the local
692router (10.0.2.2).
693
9bf05444
FB
694When using the built-in TFTP server, the router is also the TFTP
695server.
696
697When using the @option{-redir} option, TCP or UDP connections can be
698redirected from the host to the guest. It allows for example to
699redirect X11, telnet or SSH connections.
443f1376 700
9d4fb82e
FB
701@node direct_linux_boot
702@section Direct Linux Boot
1f673135
FB
703
704This section explains how to launch a Linux kernel inside QEMU without
705having to make a full bootable image. It is very useful for fast Linux
706kernel testing. The QEMU network configuration is also explained.
707
708@enumerate
709@item
710Download the archive @file{linux-test-xxx.tar.gz} containing a Linux
711kernel and a disk image.
712
713@item Optional: If you want network support (for example to launch X11 examples), you
714must copy the script @file{qemu-ifup} in @file{/etc} and configure
715properly @code{sudo} so that the command @code{ifconfig} contained in
716@file{qemu-ifup} can be executed as root. You must verify that your host
717kernel supports the TUN/TAP network interfaces: the device
718@file{/dev/net/tun} must be present.
719
720When network is enabled, there is a virtual network connection between
721the host kernel and the emulated kernel. The emulated kernel is seen
722from the host kernel at IP address 172.20.0.2 and the host kernel is
723seen from the emulated kernel at IP address 172.20.0.1.
724
725@item Launch @code{qemu.sh}. You should have the following output:
726
727@example
728> ./qemu.sh
729Connected to host network interface: tun0
730Linux version 2.4.21 ([email protected]) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #5 Tue Nov 11 18:18:53 CET 2003
731BIOS-provided physical RAM map:
732 BIOS-e801: 0000000000000000 - 000000000009f000 (usable)
733 BIOS-e801: 0000000000100000 - 0000000002000000 (usable)
73432MB LOWMEM available.
735On node 0 totalpages: 8192
736zone(0): 4096 pages.
737zone(1): 4096 pages.
738zone(2): 0 pages.
739Kernel command line: root=/dev/hda sb=0x220,5,1,5 ide2=noprobe ide3=noprobe ide4=noprobe ide5=noprobe console=ttyS0
740ide_setup: ide2=noprobe
741ide_setup: ide3=noprobe
742ide_setup: ide4=noprobe
743ide_setup: ide5=noprobe
744Initializing CPU#0
745Detected 2399.621 MHz processor.
746Console: colour EGA 80x25
747Calibrating delay loop... 4744.80 BogoMIPS
748Memory: 28872k/32768k available (1210k kernel code, 3508k reserved, 266k data, 64k init, 0k highmem)
749Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
750Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
751Mount cache hash table entries: 512 (order: 0, 4096 bytes)
752Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
753Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
754CPU: Intel Pentium Pro stepping 03
755Checking 'hlt' instruction... OK.
756POSIX conformance testing by UNIFIX
757Linux NET4.0 for Linux 2.4
758Based upon Swansea University Computer Society NET3.039
759Initializing RT netlink socket
760apm: BIOS not found.
761Starting kswapd
762Journalled Block Device driver loaded
763Detected PS/2 Mouse Port.
764pty: 256 Unix98 ptys configured
765Serial driver version 5.05c (2001-07-08) with no serial options enabled
766ttyS00 at 0x03f8 (irq = 4) is a 16450
767ne.c:v1.10 9/23/94 Donald Becker ([email protected])
768Last modified Nov 1, 2000 by Paul Gortmaker
769NE*000 ethercard probe at 0x300: 52 54 00 12 34 56
770eth0: NE2000 found at 0x300, using IRQ 9.
771RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
772Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
773ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
774hda: QEMU HARDDISK, ATA DISK drive
775ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
776hda: attached ide-disk driver.
777hda: 20480 sectors (10 MB) w/256KiB Cache, CHS=20/16/63
778Partition check:
779 hda:
780Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
781NET4: Linux TCP/IP 1.0 for NET4.0
782IP Protocols: ICMP, UDP, TCP, IGMP
783IP: routing cache hash table of 512 buckets, 4Kbytes
784TCP: Hash tables configured (established 2048 bind 4096)
785NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
786EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
787VFS: Mounted root (ext2 filesystem).
788Freeing unused kernel memory: 64k freed
789
790Linux version 2.4.21 ([email protected]) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #5 Tue Nov 11 18:18:53 CET 2003
791
792QEMU Linux test distribution (based on Redhat 9)
793
794Type 'exit' to halt the system
795
796sh-2.05b#
797@end example
798
799@item
800Then you can play with the kernel inside the virtual serial console. You
801can launch @code{ls} for example. Type @key{Ctrl-a h} to have an help
802about the keys you can type inside the virtual serial console. In
803particular, use @key{Ctrl-a x} to exit QEMU and use @key{Ctrl-a b} as
804the Magic SysRq key.
805
806@item
807If the network is enabled, launch the script @file{/etc/linuxrc} in the
808emulator (don't forget the leading dot):
809@example
810. /etc/linuxrc
811@end example
812
813Then enable X11 connections on your PC from the emulated Linux:
814@example
815xhost +172.20.0.2
816@end example
817
818You can now launch @file{xterm} or @file{xlogo} and verify that you have
819a real Virtual Linux system !
820
821@end enumerate
822
823NOTES:
824@enumerate
825@item
826A 2.5.74 kernel is also included in the archive. Just
827replace the bzImage in qemu.sh to try it.
828
1f673135
FB
829@item
830In order to exit cleanly from qemu, you can do a @emph{shutdown} inside
831qemu. qemu will automatically exit when the Linux shutdown is done.
832
833@item
834You can boot slightly faster by disabling the probe of non present IDE
835interfaces. To do so, add the following options on the kernel command
836line:
837@example
838ide1=noprobe ide2=noprobe ide3=noprobe ide4=noprobe ide5=noprobe
839@end example
840
841@item
842The example disk image is a modified version of the one made by Kevin
843Lawton for the plex86 Project (@url{www.plex86.org}).
844
845@end enumerate
846
0806e3f6 847@node gdb_usage
da415d54
FB
848@section GDB usage
849
850QEMU has a primitive support to work with gdb, so that you can do
0806e3f6 851'Ctrl-C' while the virtual machine is running and inspect its state.
da415d54 852
9d4520d0 853In order to use gdb, launch qemu with the '-s' option. It will wait for a
da415d54
FB
854gdb connection:
855@example
6c9bf893 856> qemu -s -kernel arch/i386/boot/bzImage -hda root-2.4.20.img -append "root=/dev/hda"
da415d54
FB
857Connected to host network interface: tun0
858Waiting gdb connection on port 1234
859@end example
860
861Then launch gdb on the 'vmlinux' executable:
862@example
863> gdb vmlinux
864@end example
865
866In gdb, connect to QEMU:
867@example
6c9bf893 868(gdb) target remote localhost:1234
da415d54
FB
869@end example
870
871Then you can use gdb normally. For example, type 'c' to launch the kernel:
872@example
873(gdb) c
874@end example
875
0806e3f6
FB
876Here are some useful tips in order to use gdb on system code:
877
878@enumerate
879@item
880Use @code{info reg} to display all the CPU registers.
881@item
882Use @code{x/10i $eip} to display the code at the PC position.
883@item
884Use @code{set architecture i8086} to dump 16 bit code. Then use
885@code{x/10i $cs*16+*eip} to dump the code at the PC position.
886@end enumerate
887
1a084f3d
FB
888@section Target OS specific information
889
890@subsection Linux
891
15a34c63
FB
892To have access to SVGA graphic modes under X11, use the @code{vesa} or
893the @code{cirrus} X11 driver. For optimal performances, use 16 bit
894color depth in the guest and the host OS.
1a084f3d 895
e3371e62
FB
896When using a 2.6 guest Linux kernel, you should add the option
897@code{clock=pit} on the kernel command line because the 2.6 Linux
898kernels make very strict real time clock checks by default that QEMU
899cannot simulate exactly.
900
7c3fc84d
FB
901When using a 2.6 guest Linux kernel, verify that the 4G/4G patch is
902not activated because QEMU is slower with this patch. The QEMU
903Accelerator Module is also much slower in this case. Earlier Fedora
904Core 3 Linux kernel (< 2.6.9-1.724_FC3) were known to incorporte this
905patch by default. Newer kernels don't have it.
906
1a084f3d
FB
907@subsection Windows
908
909If you have a slow host, using Windows 95 is better as it gives the
910best speed. Windows 2000 is also a good choice.
911
e3371e62
FB
912@subsubsection SVGA graphic modes support
913
914QEMU emulates a Cirrus Logic GD5446 Video
15a34c63
FB
915card. All Windows versions starting from Windows 95 should recognize
916and use this graphic card. For optimal performances, use 16 bit color
917depth in the guest and the host OS.
1a084f3d 918
e3371e62
FB
919@subsubsection CPU usage reduction
920
921Windows 9x does not correctly use the CPU HLT
15a34c63
FB
922instruction. The result is that it takes host CPU cycles even when
923idle. You can install the utility from
924@url{http://www.user.cityline.ru/~maxamn/amnhltm.zip} to solve this
925problem. Note that no such tool is needed for NT, 2000 or XP.
1a084f3d 926
e3371e62
FB
927@subsubsection Windows 2000 disk full problems
928
929Currently (release 0.6.0) QEMU has a bug which gives a @code{disk
930full} error during installation of some releases of Windows 2000. The
931workaround is to stop QEMU as soon as you notice that your disk image
932size is growing too fast (monitor it with @code{ls -ls}). Then
933relaunch QEMU to continue the installation. If you still experience
934the problem, relaunch QEMU again.
935
936Future QEMU releases are likely to correct this bug.
937
938@subsubsection Windows XP security problems
939
940Some releases of Windows XP install correctly but give a security
941error when booting:
942@example
943A problem is preventing Windows from accurately checking the
944license for this computer. Error code: 0x800703e6.
945@end example
946The only known workaround is to boot in Safe mode
947without networking support.
948
949Future QEMU releases are likely to correct this bug.
950
a0a821a4
FB
951@subsection MS-DOS and FreeDOS
952
953@subsubsection CPU usage reduction
954
955DOS does not correctly use the CPU HLT instruction. The result is that
956it takes host CPU cycles even when idle. You can install the utility
957from @url{http://www.vmware.com/software/dosidle210.zip} to solve this
958problem.
959
15a34c63 960@chapter QEMU PowerPC System emulator invocation
1a084f3d 961
15a34c63
FB
962Use the executable @file{qemu-system-ppc} to simulate a complete PREP
963or PowerMac PowerPC system.
1a084f3d 964
15a34c63 965QEMU emulates the following PowerMac peripherials:
1a084f3d 966
15a34c63
FB
967@itemize @minus
968@item
969UniNorth PCI Bridge
970@item
971PCI VGA compatible card with VESA Bochs Extensions
972@item
9732 PMAC IDE interfaces with hard disk and CD-ROM support
974@item
975NE2000 PCI adapters
976@item
977Non Volatile RAM
978@item
979VIA-CUDA with ADB keyboard and mouse.
1a084f3d
FB
980@end itemize
981
52c00a5f
FB
982QEMU emulates the following PREP peripherials:
983
984@itemize @minus
985@item
15a34c63
FB
986PCI Bridge
987@item
988PCI VGA compatible card with VESA Bochs Extensions
989@item
52c00a5f
FB
9902 IDE interfaces with hard disk and CD-ROM support
991@item
992Floppy disk
993@item
15a34c63 994NE2000 network adapters
52c00a5f
FB
995@item
996Serial port
997@item
998PREP Non Volatile RAM
15a34c63
FB
999@item
1000PC compatible keyboard and mouse.
52c00a5f
FB
1001@end itemize
1002
15a34c63
FB
1003QEMU uses the Open Hack'Ware Open Firmware Compatible BIOS available at
1004@url{http://site.voila.fr/jmayer/OpenHackWare/index.htm}.
1005
52c00a5f
FB
1006You can read the qemu PC system emulation chapter to have more
1007informations about QEMU usage.
1008
15a34c63
FB
1009@c man begin OPTIONS
1010
1011The following options are specific to the PowerPC emulation:
1012
1013@table @option
1014
1015@item -prep
1016Simulate a PREP system (default is PowerMAC)
1017
1018@item -g WxH[xDEPTH]
1019
1020Set the initial VGA graphic mode. The default is 800x600x15.
1021
1022@end table
1023
1024@c man end
1025
1026
52c00a5f
FB
1027More information is available at
1028@url{http://jocelyn.mayer.free.fr/qemu-ppc/}.
1029
e80cfcfc
FB
1030@chapter Sparc System emulator invocation
1031
1032Use the executable @file{qemu-system-sparc} to simulate a JavaStation
1033(sun4m architecture). The emulation is far from complete.
1034
1035QEMU emulates the following sun4m peripherials:
1036
1037@itemize @minus
1038@item
1039IOMMU
1040@item
1041TCX Frame buffer
1042@item
1043Lance (Am7990) Ethernet
1044@item
1045Non Volatile RAM M48T08
1046@item
1047Slave I/O: timers, interrupt controllers, Zilog serial ports
1048@end itemize
1049
1050QEMU uses the Proll, a PROM replacement available at
1051@url{http://people.redhat.com/zaitcev/linux/}.
1052
1f673135 1053@chapter QEMU User space emulator invocation
386405f7 1054
1f673135 1055@section Quick Start
df0f11a0 1056
1f673135
FB
1057In order to launch a Linux process, QEMU needs the process executable
1058itself and all the target (x86) dynamic libraries used by it.
386405f7 1059
1f673135 1060@itemize
386405f7 1061
1f673135
FB
1062@item On x86, you can just try to launch any process by using the native
1063libraries:
386405f7 1064
1f673135
FB
1065@example
1066qemu-i386 -L / /bin/ls
1067@end example
386405f7 1068
1f673135
FB
1069@code{-L /} tells that the x86 dynamic linker must be searched with a
1070@file{/} prefix.
386405f7 1071
1f673135 1072@item Since QEMU is also a linux process, you can launch qemu with qemu (NOTE: you can only do that if you compiled QEMU from the sources):
386405f7 1073
1f673135
FB
1074@example
1075qemu-i386 -L / qemu-i386 -L / /bin/ls
1076@end example
386405f7 1077
1f673135
FB
1078@item On non x86 CPUs, you need first to download at least an x86 glibc
1079(@file{qemu-runtime-i386-XXX-.tar.gz} on the QEMU web page). Ensure that
1080@code{LD_LIBRARY_PATH} is not set:
df0f11a0 1081
1f673135
FB
1082@example
1083unset LD_LIBRARY_PATH
1084@end example
1eb87257 1085
1f673135 1086Then you can launch the precompiled @file{ls} x86 executable:
1eb87257 1087
1f673135
FB
1088@example
1089qemu-i386 tests/i386/ls
1090@end example
1091You can look at @file{qemu-binfmt-conf.sh} so that
1092QEMU is automatically launched by the Linux kernel when you try to
1093launch x86 executables. It requires the @code{binfmt_misc} module in the
1094Linux kernel.
1eb87257 1095
1f673135
FB
1096@item The x86 version of QEMU is also included. You can try weird things such as:
1097@example
1098qemu-i386 /usr/local/qemu-i386/bin/qemu-i386 /usr/local/qemu-i386/bin/ls-i386
1099@end example
1eb20527 1100
1f673135 1101@end itemize
1eb20527 1102
1f673135 1103@section Wine launch
1eb20527 1104
1f673135 1105@itemize
386405f7 1106
1f673135
FB
1107@item Ensure that you have a working QEMU with the x86 glibc
1108distribution (see previous section). In order to verify it, you must be
1109able to do:
386405f7 1110
1f673135
FB
1111@example
1112qemu-i386 /usr/local/qemu-i386/bin/ls-i386
1113@end example
386405f7 1114
1f673135
FB
1115@item Download the binary x86 Wine install
1116(@file{qemu-XXX-i386-wine.tar.gz} on the QEMU web page).
386405f7 1117
1f673135
FB
1118@item Configure Wine on your account. Look at the provided script
1119@file{/usr/local/qemu-i386/bin/wine-conf.sh}. Your previous
1120@code{$@{HOME@}/.wine} directory is saved to @code{$@{HOME@}/.wine.org}.
386405f7 1121
1f673135 1122@item Then you can try the example @file{putty.exe}:
386405f7 1123
1f673135
FB
1124@example
1125qemu-i386 /usr/local/qemu-i386/wine/bin/wine /usr/local/qemu-i386/wine/c/Program\ Files/putty.exe
1126@end example
386405f7 1127
1f673135 1128@end itemize
fd429f2f 1129
1f673135 1130@section Command line options
1eb20527 1131
1f673135
FB
1132@example
1133usage: qemu-i386 [-h] [-d] [-L path] [-s size] program [arguments...]
1134@end example
1eb20527 1135
1f673135
FB
1136@table @option
1137@item -h
1138Print the help
1139@item -L path
1140Set the x86 elf interpreter prefix (default=/usr/local/qemu-i386)
1141@item -s size
1142Set the x86 stack size in bytes (default=524288)
386405f7
FB
1143@end table
1144
1f673135 1145Debug options:
386405f7 1146
1f673135
FB
1147@table @option
1148@item -d
1149Activate log (logfile=/tmp/qemu.log)
1150@item -p pagesize
1151Act as if the host page size was 'pagesize' bytes
1152@end table
386405f7 1153
15a34c63
FB
1154@node compilation
1155@chapter Compilation from the sources
1156
7c3fc84d
FB
1157@section Linux/Unix
1158
1159@subsection Compilation
1160
1161First you must decompress the sources:
1162@example
1163cd /tmp
1164tar zxvf qemu-x.y.z.tar.gz
1165cd qemu-x.y.z
1166@end example
1167
0443eaf6
FB
1168If you want to use the optional QEMU Accelerator Module, then download
1169it and install it in qemu-x.y.z/:
1170@example
1171tar zxvf /tmp/kqemu-x.y.z.tar.gz
1172@end example
1173
7c3fc84d
FB
1174Then you configure QEMU and build it (usually no options are needed):
1175@example
1176./configure
1177make
1178@end example
1179
1180Then type as root user:
1181@example
1182make install
1183@end example
1184to install QEMU in @file{/usr/local}.
1185
1186@node kqemu_install
1187@subsection QEMU Accelerator Installation
1188
1189If you use x86 Linux, the compilation of the QEMU Accelerator Kernel
1190Module (KQEMU) is automatically activated provided you have the
1191necessary kernel headers. If nonetheless the compilation fails, you
1192can disable its compilation with the @option{--disable-kqemu} option.
1193
1194If you are using a 2.6 host kernel, then all the necessary kernel
1195headers should be already installed. If you are using a 2.4 kernel,
1196then you should verify that properly configured kernel sources are
1197installed and compiled. On a Redhat 9 distribution for example, the
1198following must be done:
1199@example
12001) Install the kernel-source-xxx package
12012) cd /usr/src/linux-xxx
12023) make distclean
12034) Copy /boot/config-vvv in .config (use uname -r to know your configuration name 'vvv')
12045) Edit the Makefile to change the EXTRAVERSION line to match your
1205 current configuration name:
1206 EXTRAVERSION = -custom
1207to
1208 EXTRAVERSION = -8 # This is an example, it can be -8smp too
12095) make menuconfig # Just save the configuration
12106) make dep bzImage
1211@end example
15a34c63 1212
7c3fc84d
FB
1213The installation of KQEMU is not fully automatic because it is highly
1214distribution dependent. When launching
1215@example
1216make install
1217@end example
1218
1219KQEMU is installed in /lib/modules/@var{kernel_version}/misc. The
1220device @file{/dev/kqemu} is created with read/write access rights for
1221everyone. If you fear security issues, you can restrict the access
1222rights of @file{/dev/kqemu}.
1223
1224If you want that KQEMU is installed automatically at boot time, you can add
1225
1226@example
1227# Load the KQEMU kernel module
1228/sbin/modprobe kqemu
1229@end example
1230
1231in @file{/etc/rc.d/rc.local}.
1232
1233If your distribution uses udev (like Fedora), the @file{/dev/kqemu} is
1234not created automatically (yet) at every reboot. You can add the
1235following in @file{/etc/rc.d/rc.local}:
1236
1237@example
1238# Create the KQEMU device
0443eaf6 1239mknod /dev/kqemu c 250 0
7c3fc84d
FB
1240chmod 666 /dev/kqemu
1241@end example
1242
1243@subsection Tested tool versions
1244
1245In order to compile QEMU succesfully, it is very important that you
1246have the right tools. The most important one is gcc. I cannot guaranty
1247that QEMU works if you do not use a tested gcc version. Look at
1248'configure' and 'Makefile' if you want to make a different gcc
1249version work.
1250
1251@example
1252host gcc binutils glibc linux distribution
1253----------------------------------------------------------------------
1254x86 3.2 2.13.2 2.1.3 2.4.18
1255 2.96 2.11.93.0.2 2.2.5 2.4.18 Red Hat 7.3
1256 3.2.2 2.13.90.0.18 2.3.2 2.4.20 Red Hat 9
1257
1258PowerPC 3.3 [4] 2.13.90.0.18 2.3.1 2.4.20briq
1259 3.2
1260
1261Alpha 3.3 [1] 2.14.90.0.4 2.2.5 2.2.20 [2] Debian 3.0
1262
1263Sparc32 2.95.4 2.12.90.0.1 2.2.5 2.4.18 Debian 3.0
1264
1265ARM 2.95.4 2.12.90.0.1 2.2.5 2.4.9 [3] Debian 3.0
1266
1267[1] On Alpha, QEMU needs the gcc 'visibility' attribute only available
1268 for gcc version >= 3.3.
1269[2] Linux >= 2.4.20 is necessary for precise exception support
1270 (untested).
1271[3] 2.4.9-ac10-rmk2-np1-cerf2
1272
1273[4] gcc 2.95.x generates invalid code when using too many register
1274variables. You must use gcc 3.x on PowerPC.
1275@end example
15a34c63
FB
1276
1277@section Windows
1278
1279@itemize
1280@item Install the current versions of MSYS and MinGW from
1281@url{http://www.mingw.org/}. You can find detailed installation
1282instructions in the download section and the FAQ.
1283
1284@item Download
1285the MinGW development library of SDL 1.2.x
1286(@file{SDL-devel-1.2.x-mingw32.tar.gz}) from
1287@url{http://www.libsdl.org}. Unpack it in a temporary place, and
1288unpack the archive @file{i386-mingw32msvc.tar.gz} in the MinGW tool
1289directory. Edit the @file{sdl-config} script so that it gives the
1290correct SDL directory when invoked.
1291
1292@item Extract the current version of QEMU.
1293
1294@item Start the MSYS shell (file @file{msys.bat}).
1295
1296@item Change to the QEMU directory. Launch @file{./configure} and
1297@file{make}. If you have problems using SDL, verify that
1298@file{sdl-config} can be launched from the MSYS command line.
1299
1300@item You can install QEMU in @file{Program Files/Qemu} by typing
1301@file{make install}. Don't forget to copy @file{SDL.dll} in
1302@file{Program Files/Qemu}.
1303
1304@end itemize
1305
1306@section Cross compilation for Windows with Linux
1307
1308@itemize
1309@item
1310Install the MinGW cross compilation tools available at
1311@url{http://www.mingw.org/}.
1312
1313@item
1314Install the Win32 version of SDL (@url{http://www.libsdl.org}) by
1315unpacking @file{i386-mingw32msvc.tar.gz}. Set up the PATH environment
1316variable so that @file{i386-mingw32msvc-sdl-config} can be launched by
1317the QEMU configuration script.
1318
1319@item
1320Configure QEMU for Windows cross compilation:
1321@example
1322./configure --enable-mingw32
1323@end example
1324If necessary, you can change the cross-prefix according to the prefix
1325choosen for the MinGW tools with --cross-prefix. You can also use
1326--prefix to set the Win32 install path.
1327
1328@item You can install QEMU in the installation directory by typing
1329@file{make install}. Don't forget to copy @file{SDL.dll} in the
1330installation directory.
1331
1332@end itemize
1333
1334Note: Currently, Wine does not seem able to launch
1335QEMU for Win32.
1336
1337@section Mac OS X
1338
1339The Mac OS X patches are not fully merged in QEMU, so you should look
1340at the QEMU mailing list archive to have all the necessary
1341information.
1342
This page took 0.293093 seconds and 4 git commands to generate.