source: postlfs/virtualization/qemu.xml@ 0863931d

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 0863931d was d5c360b4, checked in by Tim Tassonis <stuff@…>, 13 months ago

Update to qemu-8.0.2

  • Property mode set to 100644
File size: 28.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY qemu-download-http "https://download.qemu.org/qemu-&qemu-version;.tar.xz">
8 <!ENTITY qemu-download-ftp " ">
9 <!ENTITY qemu-md5sum "15ee0d10f7a707ca22058da71c837a97">
10 <!ENTITY qemu-size "121 MB">
11 <!ENTITY qemu-buildsize "2.7 GB">
12 <!ENTITY qemu-time "1.6 SBU (add 1.4 SBU for tests, both using parallelism=4)">
13]>
14
15<sect1 id="qemu" xreflabel="qemu-&qemu-version;">
16 <?dbhtml filename="qemu.html"?>
17
18
19 <title>qemu-&qemu-version;</title>
20
21 <indexterm zone="qemu">
22 <primary sortas="a-qemu">qemu</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to qemu</title>
27
28 <para>
29 <application>qemu</application> is a full virtualization solution for
30 Linux on x86 hardware containing virtualization extensions (Intel VT or
31 AMD-V).
32 </para>
33
34 &lfs113_checked;
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&qemu-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&qemu-download-ftp;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download MD5 sum: &qemu-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &qemu-size;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Estimated disk space required: &qemu-buildsize;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &qemu-time;
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect3">Qemu Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Required</bridgehead>
73 <para role="required">
74 <xref linkend="glib2"/>, and
75 <xref linkend="x-window-system"/>
76 </para>
77
78 <bridgehead renderas="sect4">Recommended</bridgehead>
79 <para role="recommended">
80 <xref linkend="alsa-lib"/>,
81 <xref linkend="libslirp"/>, and
82 <xref linkend="sdl2"/>
83 </para>
84
85 <bridgehead renderas="sect4">Optional</bridgehead>
86 <para role="optional">
87 Depending on the sound system, various packages in <xref linkend="alsa"/>,
88 <xref linkend="python3"/>,
89 <xref linkend="pulseaudio"/>,
90 <xref linkend="bluez"/>,
91 <xref linkend="curl"/>,
92 <xref linkend="cyrus-sasl"/>,
93 <xref linkend="gnutls"/>,
94 <xref linkend="gtk2"/>,
95 <xref linkend="gtk3"/>,
96 <xref linkend="libusb"/>,
97 <xref linkend="libgcrypt"/>,
98 <xref linkend="libssh2"/>,
99 <xref linkend="lzo"/>,
100 <xref linkend="nettle"/>,
101 <xref linkend="mesa"/>,
102 <xref role="nodep" linkend="vte"/> or <xref linkend="vte2"/>, and
103<!-- libcacard has been a standalone project since qemu-2.5.-->
104 <ulink url="https://gitlab.freedesktop.org/spice/libcacard">libcacard</ulink>
105 </para>
106
107 <bridgehead renderas="sect4">Optional (Runtime)</bridgehead>
108 <para role="runtime">
109 &logind;
110 </para>
111
112 <bridgehead renderas="sect4">Optional (for building the documentation)</bridgehead>
113 <para role="optional">
114 <xref linkend="sphinx_rtd_theme"/>
115 </para>
116
117 <note>
118 <para>
119 This optional dependencies list is not comprehensive. See the output of
120 <command>./configure --help</command> for a more complete list.
121 </para>
122 </note>
123
124 <para condition="html" role="usernotes">User Notes:
125 <ulink url="&blfs-wiki;/qemu"/></para>
126
127 </sect2>
128
129 <sect2 id='qemu-prereq'>
130 <title>KVM Prerequisites</title>
131
132 <para>
133 Before building <application>qemu</application>, check to see if
134 your processor supports Virtualization Technology (VT):
135 </para>
136
137 <screen><userinput>grep -E '^flags.*(vmx|svm)' /proc/cpuinfo</userinput></screen>
138
139 <para>
140 If you get any output, you have VT technology (vmx for Intel
141 processors and svm for AMD processors). You then need to go into your
142 system BIOS and ensure it is enabled. After enabling, reboot back to your
143 LFS instance.
144 </para>
145
146 </sect2>
147
148 <sect2 role="kernel" id='qemu-kernel'>
149 <title>Kernel Configuration</title>
150
151 <para>
152 Enable the following options in the kernel configuration and
153 recompile the kernel if necessary:
154 </para>
155
156<screen><literal>[*] Virtualization: ---&gt; [CONFIG_VIRTUALIZATION]
157 &lt;*/M&gt; Kernel-based Virtual Machine (KVM) support [CONFIG_KVM]
158 &lt;*/M&gt; KVM for Intel (and compatible) processors support [CONFIG_KVM_INTEL]
159 &lt;*/M&gt; KVM for AMD processors support [CONFIG_KVM_AMD]</literal></screen>
160
161 <indexterm zone="qemu qemu-kernel">
162 <primary sortas="d-qemu">qemu</primary>
163 </indexterm>
164
165 <para>
166 The Intel or AMD settings are not both required, but the one matching
167 your system processor is required.
168 </para>
169
170 <para>
171 To use the <quote>bridge</quote> network device, as explained below,
172 check that <xref linkend='bridgeutils'/> is installed
173 and the following options in the kernel configuration are enabled:
174 </para>
175
176<screen><literal>[*] Networking support ---&gt; [CONFIG_NET]
177 Networking options ---&gt;
178 &lt;*/M&gt; 802.1d Ethernet Bridging [CONFIG_BRIDGE]
179Device Drivers ---&gt;
180 [*] Network device support ---&gt; [CONFIG_NETDEVICES]
181 &lt;*/M&gt; Universal TUN/TAP device driver support [CONFIG_TUN]</literal></screen>
182
183 </sect2>
184
185 <sect2 role="installation">
186 <title>Installation of qemu</title>
187<!-- group kvm is created in lfs chapter 7 even for sysv
188 <para revision="sysv">
189 You will need a dedicated group that will contain users (other than root)
190 allowed to access the KVM device. Create this group by running the
191 following command as the
192 <systemitem class="username">root</systemitem> user:
193 </para>
194
195<screen role="root" revision="sysv"><userinput>groupadd -g 61 kvm</userinput></screen>
196-->
197 <para>
198 The udev rule of LFS only allows the &root; user, the users owning
199 a local login session supported by the optional runtime dependency
200 &logind;, or the users in the
201 <systemitem class="groupname">kvm</systemitem> group to use the KVM
202 device. As the &root; user, add any non-&root; users that might use
203 the KVM device either without &logind; installed or remotely (via a
204 SSH connection) to the
205 <systemitem class="groupname">kvm</systemitem> group:
206 </para>
207
208<screen role="root"><userinput>usermod -a -G kvm <replaceable>&lt;username&gt;</replaceable></userinput></screen>
209
210 <para>
211 Install <application>qemu</application> by running the following
212 commands:
213 </para>
214
215 <note>
216 <para>
217 Qemu is capable of running many targets. The build process
218 is also capable of building multiple targets at one time in a
219 comma delimited list assigned to <option>--target-list</option>. Run
220 <command>./configure --help</command> to get a complete list of
221 available targets.
222 </para>
223 </note>
224
225
226<screen><userinput>if [ $(uname -m) = i686 ]; then
227 QEMU_ARCH=i386-softmmu
228else
229 QEMU_ARCH=x86_64-softmmu
230fi
231
232
233mkdir -vp build &amp;&amp;
234cd build &amp;&amp;
235
236../configure --prefix=/usr \
237 --sysconfdir=/etc \
238 --localstatedir=/var \
239 --target-list=$QEMU_ARCH \
240 --audio-drv-list=alsa \
241 --disable-pa \
242 --docdir=/usr/share/doc/qemu-&qemu-version; &amp;&amp;
243
244unset QEMU_ARCH &amp;&amp;
245
246make</userinput></screen>
247
248 <para>
249 <application>qemu</application> uses <command>ninja</command> as
250 a subprocess when building. To run the tests, issue:
251 <command>ninja test</command>. Two migration tests are known to fail.
252 </para>
253
254 <para>
255 Now, as the &root; user:
256 </para>
257
258<screen role="root"><userinput>make install</userinput></screen>
259<!-- now in LFS
260 <para>
261 You will also need to add an Udev rule so that the KVM device gets correct
262 permissions. As the &root; user, issue:
263 </para>
264
265<screen role="root"><userinput>cat > /etc/udev/rules.d/65-kvm.rules &lt;&lt; "EOF"
266<literal>KERNEL=="kvm", GROUP="kvm", MODE="0660"</literal>
267EOF</userinput></screen>
268-->
269 <para>
270 Change the permissions and ownership of a helper script, which is needed
271 when using the <quote>bridge</quote> network device (see below). Again
272 as the &root; user, issue:
273 </para>
274
275 <note>
276 <para>
277 You need to add any users who might use the <quote>bridge</quote>
278 network device into the
279 <systemitem class="groupname">kvm</systemitem> group even if
280 &logind; is installed.
281 </para>
282 </note>
283
284<screen role="root"><userinput>chgrp kvm /usr/libexec/qemu-bridge-helper &amp;&amp;
285chmod 4750 /usr/libexec/qemu-bridge-helper</userinput></screen>
286
287 <note>
288 <para>
289 For convenience you may want to create a symbolic link to run
290 the installed program. For instance (as the &root; user):
291 </para>
292
293<screen role="root"><userinput>ln -sv qemu-system-`uname -m` /usr/bin/qemu</userinput></screen>
294 </note>
295
296 </sect2>
297
298 <sect2 role="commands">
299 <title>Command Explanations</title>
300
301 <para>
302 <parameter>--audio-drv-list=alsa --disable-pa</parameter>: This switch
303 sets the audio driver to ALSA. See below for enabling other audio drivers.
304 </para>
305
306 <para>
307 <option>--audio-drv-list=pa --disable-alsa</option>: This switch sets
308 the audio driver to pulseaudio. For other drivers see the
309 --audio-drv-list choices in the output of
310 <command>./configure --help</command>. The default audio driver is OSS.
311 To enable support for both alsa and pulseaudio, use
312 <option>--audio-drv-list=alsa,pa</option>.
313 </para>
314
315 </sect2>
316
317 <sect2 role="using">
318 <title>Using Qemu</title>
319
320 <para>
321 Since using qemu means using a virtual computer, the steps to set up
322 the virtual machine are in close analogy with those to set up a real
323 computer. You'll need to decide about CPU, memory, disk, USB devices,
324 network card(s), screen size, etc. Once the <quote>hardware</quote> is
325 decided, you'll have for example to choose how to connect the machine
326 to internet, and/or to install an OS. In the following, we show basic
327 ways of performing those steps. But qemu is much more than this, and it
328 is strongly advised to read the qemu documentation in
329 <filename>/usr/share/doc/qemu-&qemu-version;/qemu-doc.html</filename>.
330 </para>
331
332 <note>
333 <para>
334 It is standard practice to name the computer running qemu
335 <quote>host</quote> and the emulated machine running under qemu the
336 <quote>guest</quote>. We'll use those notations in the following.
337 </para>
338 </note>
339
340 <note>
341 <para>
342 The following instructions assume the optional symbolic link,
343 <filename>qemu</filename>, has been created. Additionally,
344 <command>qemu</command> should be run in a graphical environment.
345 But it is possible to use qemu <quote>headless</quote> or through
346 SSH. See the documentation for the various possibilities.
347 </para>
348 </note>
349
350 <bridgehead renderas="sect3">Disk</bridgehead>
351 <para>
352 A virtual disk may be set up in the following way:
353 </para>
354
355<screen><userinput>VDISK_SIZE=<replaceable>50G</replaceable>
356VDISK_FILENAME=<replaceable>vdisk.img</replaceable>
357qemu-img create -f qcow2 $VDISK_FILENAME $VDISK_SIZE</userinput></screen>
358
359 <para>
360 The virtual disk size and filename should be adjusted as desired. The
361 actual size of the file will be less than specified, but will expand as
362 needed, so it is safe to put a high value.
363 </para>
364
365 <bridgehead renderas="sect3">Operating System</bridgehead>
366 <para>
367 To install an operating system, download an iso image from your preferred
368 Linux distribution. For the purposes of this example, we'll use
369 <filename>Fedora-16-x86_64-Live-LXDE.iso</filename> in the current
370 directory. Run the following:
371 </para>
372
373<screen><userinput>qemu -enable-kvm \
374 -drive file=$VDISK_FILENAME \
375 -cdrom Fedora-16-x86_64-Live-LXDE.iso \
376 -boot d \
377 -m <replaceable>1G</replaceable></userinput></screen>
378
379 <para>
380 Follow the normal installation procedures for the chosen distribution.
381 The <parameter>-boot</parameter> option specifies the boot order of
382 drives as a string of drive letters. Valid drive letters are: a, b
383 (floppy 1 and 2), c (first hard disk), d (first CD-ROM). The
384 <parameter>-m</parameter> option is the amount of memory to use for the
385 virtual machine. The choice depends on the load of the host. Modern
386 distributions should be comfortable with 1GB.
387 The <parameter>-enable-kvm</parameter> option allows hardware
388 acceleration. Without this switch, the emulation is much slower.
389 </para>
390
391 <bridgehead renderas="sect3">Defining the virtual hardware</bridgehead>
392 <para>
393 The virtual machine hardware is defined by the qemu command line.
394 An example command is given below:
395 </para>
396
397<screen><userinput>qemu -enable-kvm \
398 -smp 4 \
399 -cpu host \
400 -m 1G \
401 -drive file=$VDISK_FILENAME \
402 -cdrom grub-img.iso \
403 -boot order=c,once=d,menu=on \
404 -net nic,netdev=net0 \
405 -netdev user,id=net0 \
406 -device ac97 \
407 -vga std \
408 -serial mon:stdio \
409 -name "fedora-16"</userinput></screen>
410
411 <bridgehead renderas="sect3">Meaning of the command line options</bridgehead>
412 <para>
413 <parameter>-enable-kvm</parameter>: enable full KVM virtualization
414 support. On some hardware, it may be necessary to add the undocumented
415 <option>-machine smm=off</option> option in order to enable KVM.
416 </para>
417
418 <para>
419 <parameter>-smp &lt;N&gt;</parameter>: enable symmetric multiprocessing
420 with &lt;N&gt; CPUs.
421 </para>
422
423 <para>
424 <parameter>-cpu &lt;model&gt;</parameter>: simulate CPU &lt;model&gt;.
425 the list of supported models can be obtained with <option>-cpu
426 help</option>.
427 </para>
428
429 <para>
430 <parameter>-drive file=&lt;filename&gt;</parameter>: defines a virtual
431 disk whose image is stored in <filename>&lt;filename&gt;</filename>.
432 </para>
433
434 <para>
435 <parameter>-cdrom grub-img.iso</parameter>: defines an iso formatted file
436 to use as a cdrom. Here we use a grub rescue disk, which may turn handy
437 when something goes wrong at boot time.
438 </para>
439
440 <para>
441 <parameter>-boot order=c,once=d,menu=on</parameter>: defines the boot
442 order for the virtual BIOS.
443 </para>
444
445 <para>
446 <parameter>-net nic,netdev=&lt;netid&gt;</parameter>: defines a network
447 card connected to the network device with id &lt;netid&gt;.
448 </para>
449
450 <para>
451 <parameter>-netdev user,id=&lt;netid&gt;</parameter>: defines the
452 network <quote>user</quote> device. This is a virtual local network
453 with addresses 10.0.2.0/24, where the host has address 10.0.2.2 and
454 acts as a gateway to internet, and with a name server at address
455 10.0.2.3, and an smb server at address 10.0.2.4. A builtin DHCP server
456 can allocate addresses between 10.0.2.15 and 10.0.2.31.
457 </para>
458
459 <para>
460 <parameter>-soundhw &lt;model&gt;</parameter>: defines the soundcard
461 model. The list may be obtained with <option>-soundhw help</option>.
462 </para>
463
464 <para>
465 <parameter>-vga &lt;type&gt;</parameter>: defines the type of VGA card
466 to emulate. For <parameter>-vga std</parameter>, if you are building
467 a Linux kernel for the guest, it's recommended to enable
468 <option>CONFIG_DRM_BOCHS</option> (as a part of the kernel or a kernel
469 module) to drive all the features of the emulated VGA card, and
470 <option>CONFIG_FB</option> to display the Linux console on it. The
471 other <option>&lt;type&gt;</option> values are not tested by the
472 editors and may require additional dependencies.
473 </para>
474
475 <para>
476 <parameter>-serial mon:stdio</parameter>: sends the serial port of the
477 guest (<filename>/dev/ttyS0</filename> on linux guests), multiplexed with
478 the qemu monitor, to the standard input and output of the qemu
479 process.
480 </para>
481
482 <para>
483 <parameter>-name &lt;name&gt;</parameter>: sets the name of the guest.
484 This name is displayed in the guest window caption. It may be useful
485 if you run several guests at the same time.
486 </para>
487
488 <para>
489 <option>-pflash /usr/share/qemu/edk2-x86_64-code.fd</option>: Load a
490 pre-built EDK2 UEFI firmware, instead of the default PC BIOS. Use
491 this option if you want to boot the guest OS with UEFI.
492 </para>
493
494 <para>
495 <option>-drive file=&lt;filename&gt;,if=virtio</option>: Provide
496 Virtio interface to the guest kernel for accessing the disk image,
497 instead of simulating a real disk hardware. This can improve disk I/O
498 performance, but it requires a Virtio driver in guest kernel. Use
499 it instead of a plain <option>-drive</option> if the guest kernel
500 supports Virtio. To build a Linux kernel with Virtio support for the
501 guest, use
502 <command>make defconfig &amp;&amp; make kvm_guest.config</command> to
503 create an initial kernel configuration with the Virtio drives enabled,
504 then make your customization. And, if the guest kernel is Linux, the
505 virtual disks using Virtio interface will be named
506 <filename>vdx</filename> in the devtmpfs, instead of
507 <filename>sdx</filename>.
508 </para>
509
510 <para>
511 <option>-net nic,netdev=net0,model=virtio-net-pci</option>: Provide
512 Virtio interface to the guest kernel for accessing the network
513 interface, instead of simulating a real network interface card. This
514 can improve network I/O performance, but it requires a Virtio driver
515 in guest kernel. Use it instead of a plain <option>-net</option> if
516 the guest kernel supports Virtio.
517 </para>
518
519 <bridgehead renderas="sect3">Controlling the Emulated Display</bridgehead>
520 <para>
521 It may happen that the guest window displayed by qemu does not correspond
522 to the full capability of the emulated VGA card. For example, the vmware
523 card is 1600x900 capable, but only 1024x768 is displayed by default.
524 A suitable Xorg configuration on the guest allows to use the full size
525 (Note that the Xorg video driver to use is <xref
526 linkend="xorg-vmware-driver"/>):
527 </para>
528
529<screen role="root"><userinput>cat &gt; /usr/share/X11/xorg.conf.d/20-vmware.conf &lt;&lt; "EOF"
530<literal>Section "Monitor"
531 Identifier "Monitor0"
532 # cvt 1600 900
533 # 1600x900 59.95 Hz (CVT 1.44M9) hsync: 55.99 kHz; pclk: 118.25 MHz
534 Modeline "1600x900" 118.25 1600 1696 1856 2112 900 903 908 934 -hsync +vsync
535 Option "PreferredMode" "1600x900"
536 HorizSync 1-200
537 VertRefresh 1-200
538EndSection
539
540Section "Device"
541 Identifier "VMware SVGA II Adapter"
542 Option "Monitor" "default"
543 Driver "vmware"
544EndSection
545
546Section "Screen"
547 Identifier "Default Screen"
548 Device "VMware SVGA II Adapter"
549 Monitor "Monitor0"
550
551 SubSection "Display"
552 Depth 24
553 Modes "1600x900" "1440x900" "1366x768" "1280x720" "800x480"
554 EndSubSection
555
556EndSection</literal>
557EOF</userinput></screen>
558
559 <para>
560 New sizes will be available besides the native ones. You need to
561 restart X in order to have the new sizes available.
562 </para>
563
564 <bridgehead renderas="sect3">Networking</bridgehead>
565 <para>
566 The above solution for networking allows the guest to access the local
567 network through the host (and possibly to access internet through the
568 local routers), but the converse is not true. Not even the host can
569 access the guest, unless port forwarding is enabled. And in the case
570 several guests are running, they cannot communicate with each other.
571 Other network devices can be used for this purpose. For example, there
572 is the <quote>socket</quote> device, which allows several guests to
573 share a common virtual network. In the following, we describe in more
574 details how to set up the <quote>bridge</quote> device, which allows
575 the guests to appear as if connected to the local network. All the
576 commands below should be run as the <systemitem
577 class="username">root</systemitem> user.
578 </para>
579
580 <para revision="sysv">
581 Set up bridging with <xref linkend="bridgeutils"/>. Only the physical
582 interface(s) should be set up at boot. The virtual interface(s) will be
583 added as needed when qemu is started.
584 </para>
585
586 <para revision="systemd">
587 <!-- On SYS-V, IP_FORWARD is enabled by the bridge script. -->
588 Allow the host to forward IP packets:
589 </para>
590
591<screen role="root"
592 revision="systemd"><userinput>sysctl -w net.ipv4.ip_forward=1</userinput></screen>
593
594 <para revision="systemd">
595 To make this permanent, add the command to
596 <filename>/etc/sysctl.d/60-net-forward.conf:</filename>
597 </para>
598
599<screen role="root"
600 revision="systemd"><userinput>cat &gt;&gt; /etc/sysctl.d/60-net-forward.conf &lt;&lt; EOF
601<literal>net.ipv4.ip_forward=1</literal>
602EOF</userinput></screen>
603
604 <para>
605 Set up a required configuration file:
606 </para>
607
608<!-- /etc/qemu has not been installed by "make install" since version 2.4 -->
609<screen role="root"><userinput>install -vdm 755 /etc/qemu &amp;&amp;
610echo allow br0 &gt; /etc/qemu/bridge.conf</userinput></screen>
611
612 <para>
613 In the qemu command line above, replace the switch
614 <parameter>-netdev user,...</parameter> with
615 <parameter>-netdev bridge,...</parameter>.
616 </para>
617
618 </sect2>
619
620 <sect2 role="content">
621 <title>Contents</title>
622
623 <segmentedlist>
624 <segtitle>Installed Programs</segtitle>
625 <segtitle>Installed Library</segtitle>
626 <segtitle>Installed Directories</segtitle>
627
628 <seglistitem>
629 <seg>
630 elf2dmp,
631 qemu (symlink),
632 qemu-edid,
633 qemu-ga,
634 qemu-img,
635 qemu-io,
636 qemu-keymap,
637 qemu-nbd,
638 qemu-pr-helper,
639 qemu-storage-daemon, and
640 qemu-system-&lt;arch&gt;
641 </seg>
642 <seg>None</seg>
643 <seg>
644 /usr/share/qemu and
645 /usr/share/doc/qemu-&qemu-version; (optional)
646 </seg>
647 </seglistitem>
648 </segmentedlist>
649
650 <variablelist>
651 <bridgehead renderas="sect3">Short Description</bridgehead>
652 <?dbfo list-presentation="list"?>
653 <?dbhtml list-presentation="table"?>
654
655 <varlistentry id="elf2dmp">
656 <term><command>elf2dmp</command></term>
657 <listitem>
658 <para>
659 Converts files from elf to dmp format
660 </para>
661 <indexterm zone="qemu elf2dmp">
662 <primary sortas="b-elf2dmp">elf2dmp</primary>
663 </indexterm>
664 </listitem>
665 </varlistentry>
666<!--
667 <varlistentry id="ivshmem-client">
668 <term><command>ivshmem-client</command></term>
669 <listitem>
670 <para>
671 is a standalone client for using the ivshmem device
672 </para>
673 <indexterm zone="qemu ivshmem-client">
674 <primary sortas="b-ivshmem-client">ivshmem-client</primary>
675 </indexterm>
676 </listitem>
677 </varlistentry>
678
679 <varlistentry id="ivshmem-server">
680 <term><command>ivshmem-server</command></term>
681 <listitem>
682 <para>
683 is an example server for the ivshmem device
684 </para>
685 <indexterm zone="qemu ivshmem-server">
686 <primary sortas="b-ivshmem-server">ivshmem-server</primary>
687 </indexterm>
688 </listitem>
689 </varlistentry>
690-->
691 <varlistentry id="qemu-edid">
692 <term><command>qemu-edid</command></term>
693 <listitem>
694 <para>
695 is a test tool for the qemu EDID generator
696 </para>
697 <indexterm zone="qemu qemu-edid">
698 <primary sortas="b-qemu-edid">qemu-edid</primary>
699 </indexterm>
700 </listitem>
701 </varlistentry>
702
703 <varlistentry id="qemu-ga">
704 <term><command>qemu-ga</command></term>
705 <listitem>
706 <para>
707 implements support for QMP (QEMU Monitor Protocol) commands and
708 events that terminate and originate respectively within the guest
709 using an agent built as part of QEMU
710 </para>
711 <indexterm zone="qemu qemu-ga">
712 <primary sortas="b-qemu-ga">qemu-ga</primary>
713 </indexterm>
714 </listitem>
715 </varlistentry>
716
717 <varlistentry id="qemu-img">
718 <term><command>qemu-img</command></term>
719 <listitem>
720 <para>
721 provides commands to manage QEMU disk images
722 </para>
723 <indexterm zone="qemu qemu-img">
724 <primary sortas="b-qemu-img">qemu-img</primary>
725 </indexterm>
726 </listitem>
727 </varlistentry>
728
729 <varlistentry id="qemu-io">
730 <term><command>qemu-io</command></term>
731 <listitem>
732 <para>
733 is a diagnostic and manipulation program for (virtual) memory
734 media. It is still at an early stage of development
735 </para>
736 <indexterm zone="qemu qemu-io">
737 <primary sortas="b-qemu-io">qemu-io</primary>
738 </indexterm>
739 </listitem>
740 </varlistentry>
741
742 <varlistentry id="qemu-keymap">
743 <term><command>qemu-keymap</command></term>
744 <listitem>
745 <para>
746 generates qemu reverse keymaps from xkb keymaps,
747 which can be used with the qemu "-k" command line switch
748 </para>
749 <indexterm zone="qemu qemu-keymap">
750 <primary sortas="b-qemu-keymap">qemu-keymap</primary>
751 </indexterm>
752 </listitem>
753 </varlistentry>
754
755
756 <varlistentry id="qemu-nbd">
757 <term><command>qemu-nbd</command></term>
758 <listitem>
759 <para>
760 exports Qemu disk images using the QEMU Disk Network Block
761 Device (NBD) protocol
762 </para>
763 <indexterm zone="qemu qemu-nbd">
764 <primary sortas="b-qemu-nbd">qemu-nbd</primary>
765 </indexterm>
766 </listitem>
767 </varlistentry>
768
769 <varlistentry id="qemu-pr-helper">
770 <term><command>qemu-pr-helper</command></term>
771 <listitem>
772 <para>
773 Implements the persistent reservation helper for QEMU
774 </para>
775 <indexterm zone="qemu qemu-pr-helper">
776 <primary sortas="b-qemu-pr-helper">qemu-pr-helper</primary>
777 </indexterm>
778 </listitem>
779 </varlistentry>
780
781 <varlistentry id="qemu-storage-daemon">
782 <term><command>qemu-storage-daemon</command></term>
783 <listitem>
784 <para>
785 allows to modify disk images using the QEMU Monitor Protocol (QMP)
786 without running a VM
787 </para>
788 <indexterm zone="qemu qemu-storage-daemon">
789 <primary sortas="b-qemu-storage-daemon">qemu-storage-daemon</primary>
790 </indexterm>
791 </listitem>
792 </varlistentry>
793
794 <varlistentry id="qemu-system">
795 <term><command>qemu-system-x86_64</command></term>
796 <listitem>
797 <para>
798 is the QEMU PC System emulator
799 </para>
800 <indexterm zone="qemu qemu-system">
801 <primary sortas="b-qemu-system">qemu-system-x86_64</primary>
802 </indexterm>
803 </listitem>
804 </varlistentry>
805<!--
806 <varlistentry id="virtfs-proxy-helper">
807 <term><command>virtfs-proxy-helper</command></term>
808 <listitem>
809 <para>
810 creates a socket pair or a named socket. QEMU and the proxy helper
811 communicate using this socket. The QEMU proxy fs driver sends
812 filesystem requests to the proxy helper and receives the response
813 from it
814 </para>
815 <indexterm zone="qemu virtfs-proxy-helper">
816 <primary sortas="b-virtfs-proxy-helper">virtfs-proxy-helper</primary>
817 </indexterm>
818 </listitem>
819 </varlistentry>
820-->
821 </variablelist>
822
823 </sect2>
824
825</sect1>
Note: See TracBrowser for help on using the repository browser.