source: postlfs/virtualization/qemu.xml@ f5742d5

12.0 12.1 12.2 gimp3 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/for-12.3 xry111/llvm18 xry111/spidermonkey128 xry111/xf86-video-removal
Last change on this file since f5742d5 was 8cffdfa, checked in by Xi Ruoyao <xry111@…>, 19 months ago

qemu: Tell how to build guest kernel with Virtio

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