Changeset 2f6053d
- Timestamp:
- 03/17/2013 01:59:41 AM (11 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 00bf2c9
- Parents:
- 1f44775e
- Files:
-
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
general.ent
r1f44775e r2f6053d 198 198 199 199 <!-- Chapter 8 Virtualization --> 200 <!ENTITY qemu- kvm-version "1.2.0">200 <!ENTITY qemu-version "1.4.0"> 201 201 202 202 <!-- Part III --> -
introduction/welcome/changelog.xml
r1f44775e r2f6053d 48 48 <itemizedlist> 49 49 <listitem> 50 <para>[bdubbs] - Changed from qemu-kvm to qemu-1.4.0 which 51 now includes kvm options.</para> 52 </listitem> 53 <listitem> 50 54 <para>[krejzi] - Added Glamor EGL 0.5.0.</para> 51 55 </listitem> -
postlfs/virtualization/qemu.xml
r1f44775e r2f6053d 5 5 %general-entities; 6 6 7 <!ENTITY qemu- kvm-download-http "">8 <!ENTITY qemu- kvm-download-ftp "&sourceforge-repo2;/projects/kvm/files/qemu-kvm/&qemu-kvm-version;/qemu-kvm-&qemu-kvm-version;.tar.gz">9 <!ENTITY qemu- kvm-md5sum "d7b18b673c48abfee65a9c0245df0415">10 <!ENTITY qemu- kvm-size "6.5MB">11 <!ENTITY qemu- kvm-buildsize "151MB">12 <!ENTITY qemu- kvm-time "1.6SBU">7 <!ENTITY qemu-download-http "http://wiki.qemu.org/download/qemu-&qemu-version;.tar.bz2"> 8 <!ENTITY qemu-download-ftp " "> 9 <!ENTITY qemu-md5sum "78f13b774814b6b7ebcaf4f9b9204318"> 10 <!ENTITY qemu-size "10 MB"> 11 <!ENTITY qemu-buildsize "188 MB"> 12 <!ENTITY qemu-time "1.5 SBU"> 13 13 ]> 14 14 15 <sect1 id="qemu -kvm" xreflabel="qemu-kvm-&qemu-kvm-version;">16 <?dbhtml filename="qemu -kvm.html"?>15 <sect1 id="qemu" xreflabel="qemu-&qemu-version;"> 16 <?dbhtml filename="qemu.html"?> 17 17 18 18 <sect1info> … … 21 21 </sect1info> 22 22 23 <title>qemu- kvm-&qemu-kvm-version;</title>24 25 <indexterm zone="qemu -kvm">26 <primary sortas="a-qemu -kvm">qemu-kvm</primary>23 <title>qemu-&qemu-version;</title> 24 25 <indexterm zone="qemu"> 26 <primary sortas="a-qemu">qemu</primary> 27 27 </indexterm> 28 28 29 29 <sect2 role="package"> 30 <title>Introduction to qemu -kvm</title>31 32 <para><application>qemu -kvm</application> is a full virtualization solution30 <title>Introduction to qemu</title> 31 32 <para><application>qemu</application> is a full virtualization solution 33 33 for Linux on x86 hardware containing virtualization extensions (Intel VT or 34 34 AMD-V).</para> … … 39 39 <itemizedlist spacing="compact"> 40 40 <listitem> 41 <para>Download (HTTP): <ulink url="&qemu- kvm-download-http;"/></para>42 </listitem> 43 <listitem> 44 <para>Download (FTP): <ulink url="&qemu- kvm-download-ftp;"/></para>45 </listitem> 46 <listitem> 47 <para>Download MD5 sum: &qemu- kvm-md5sum;</para>48 </listitem> 49 <listitem> 50 <para>Download size: &qemu- kvm-size;</para>51 </listitem> 52 <listitem> 53 <para>Estimated disk space required: &qemu- kvm-buildsize;</para>54 </listitem> 55 <listitem> 56 <para>Estimated build time: &qemu- kvm-time;</para>41 <para>Download (HTTP): <ulink url="&qemu-download-http;"/></para> 42 </listitem> 43 <listitem> 44 <para>Download (FTP): <ulink url="&qemu-download-ftp;"/></para> 45 </listitem> 46 <listitem> 47 <para>Download MD5 sum: &qemu-md5sum;</para> 48 </listitem> 49 <listitem> 50 <para>Download size: &qemu-size;</para> 51 </listitem> 52 <listitem> 53 <para>Estimated disk space required: &qemu-buildsize;</para> 54 </listitem> 55 <listitem> 56 <para>Estimated build time: &qemu-time;</para> 57 57 </listitem> 58 58 </itemizedlist> … … 62 62 <listitem> 63 63 <para>Required Patch: <ulink 64 url="&patch-root;/qemu- kvm-&qemu-kvm-version;-fixes-1.patch"/></para>64 url="&patch-root;/qemu-&qemu-version;-fixes-1.patch"/></para> 65 65 </listitem> 66 66 </itemizedlist> 67 67 68 <bridgehead renderas="sect3">Qemu -kvmDependencies</bridgehead>68 <bridgehead renderas="sect3">Qemu Dependencies</bridgehead> 69 69 70 70 <bridgehead renderas="sect4">Required</bridgehead> … … 90 90 91 91 <para condition="html" role="usernotes">User Notes: 92 <ulink url="&blfs-wiki;/qemu -kvm"/></para>93 94 </sect2> 95 96 <sect2 id='qemu- kvm-prereq'>92 <ulink url="&blfs-wiki;/qemu"/></para> 93 94 </sect2> 95 96 <sect2 id='qemu-prereq'> 97 97 <title>KVM Prerequsites</title> 98 98 99 <para>Before building <application>qemu -kvm</application>, check to see if99 <para>Before building <application>qemu</application>, check to see if 100 100 your processor supports Virtualization Technology (VT):</para> 101 101 … … 109 109 </sect2> 110 110 111 <sect2 role="kernel" id='qemu-k vm-kernel'>111 <sect2 role="kernel" id='qemu-kernel'> 112 112 <title>Kernel Configuration</title> 113 113 … … 120 120 KVM for AMD processors support: M or Y</literal></screen> 121 121 122 <indexterm zone="qemu -kvm qemu-kvm-kernel">123 <primary sortas="d-qemu -kvm">kvm-qemu</primary>122 <indexterm zone="qemu qemu-kernel"> 123 <primary sortas="d-qemu">qemu</primary> 124 124 </indexterm> 125 125 … … 134 134 135 135 <sect2 role="installation"> 136 <title>Installation of qemu -kvm</title>136 <title>Installation of qemu</title> 137 137 138 138 <para>If <application>xorg</application> is not installed in … … 142 142 <screen><userinput>export LIBRARY_PATH=/opt/xorg/lib</userinput></screen> 143 143 144 <para>Install <application>qemu -kvm</application> by running the following144 <para>Install <application>qemu</application> by running the following 145 145 commands:</para> 146 146 147 <screen><userinput>patch -Np1 -i ../qemu-kvm-&qemu-kvm-version;-fixes-1.patch 148 ./configure --prefix=/usr && 149 LIBS_QGA=-lrt LIBS=-lrt make</userinput></screen> 150 151 <para>Testing the results is not automated. To run individual tests, change 152 to the <filename class='directory'>tests/</filename> directory, and examine 153 the <filename>Makefile</filename>. Each test may be run individually with 154 <command>make run-<test name></command>.</para> 147 <screen><userinput>patch -Np1 -i ../qemu-&qemu-version;-fixes-1.patch 148 ./configure --prefix=/usr \ 149 --sysconfdir=/etc \ 150 --target-list=x86_64-softmmu && 151 make</userinput></screen> 152 153 <para>To run the built in tests, run <command>make V=1 check</command>.</para> 155 154 156 155 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 157 156 158 157 <screen role="root"><userinput>make install</userinput></screen> 159 160 <note>< para>The main program <command>qemu-system-x86_64</command> doesn't158 159 <note><!--<para>The main program <command>qemu-system-x86_64</command> doesn't 161 160 make a distinction between i386 and x86_64 so even on an i386 system you 162 161 should use <emphasis>qemu-system-x86_64</emphasis></para> 162 --> 163 163 164 164 <para>For convenience you may want to create a symbolic link to run … … 173 173 <title>Command Explanations</title> 174 174 175 <para><parameter>LIBS_QGA=-lrt LIBS=-lrt make</parameter>: Ensure that 176 the link process searches the correct libraries for needed functions.</para> 175 <para><parameter>--target-list=x86_64-softmmu</parameter>: This option 176 limits the build target to the x86_64 architecture. For other 177 hardware emulation see the --target-list list in <command>configure</command>'s 178 help output. Omitting this option will build all architectures.</para> 177 179 178 180 </sect2> … … 181 183 182 184 <sect2 role="configuration"> 183 <title>Configuring qemu -kvm</title>185 <title>Configuring qemu</title> 184 186 185 187 <para>To generate an image, run:</para> … … 193 195 <note><para>The following instructions assume you have created the optional 194 196 symbolic link, <userinput>qemu</userinput>. Additionally, you must run 195 <userinput>qemu</userinput> as the <systemitem 196 class="username">root</systemitem> user command from an X-Windows based 197 terminal.</para></note> 197 <userinput>qemu</userinput> from an X-Windows based terminal.</para></note> 198 198 199 199 <para>To install an operating system, download an iso of your choice or use … … 203 203 directory. Run the following:</para> 204 204 205 <screen><userinput>qemu - hda vdisk.img\205 <screen><userinput>qemu -enable-kvm -hda vdisk.img \ 206 206 -cdrom Fedora-16-x86_64-Live-LXDE.iso \ 207 207 -boot d \ … … 209 209 210 210 <para>Follow the normal installation procedures for the chosen 211 distribution. The -boot option specifies the boot order of drives as a string 212 of drive letters. Valid drive letters are: a, b (floppy 1 and 2), c (first 213 hard disk), d (first CD-ROM). The -m option is the amount of memory to use 214 for the virtual machine. If you have sufficient memory (2G or more), 1G is 215 a reasonable value. For computers with 512MB of RAM it's safe to use -m 216 192, or even -m 128 (the default).</para> 211 distribution. The -boot option specifies the boot order of drives as a 212 string of drive letters. Valid drive letters are: a, b (floppy 1 and 2), c 213 (first hard disk), d (first CD-ROM). The -m option is the amount of memory 214 to use for the virtual machine. If you have sufficient memory (2G or 215 more), 1G is a reasonable value. For computers with 512MB of RAM it's safe 216 to use -m 192, or even -m 128 (the default). The -enable-kvm option allows 217 for hardware acceleeration. Without this switch, the emulation is 218 relatively slow.</para> 217 219 218 220 <para>To run the newly installed operating system, run:</para> 219 221 220 <screen><userinput>qemu vdisk.img -m 384</userinput></screen>222 <screen><userinput>qemu -enable-kvm vdisk.img -m 384</userinput></screen> 221 223 222 224 <para>To add networking to the instance add "-net nic -net user" to the … … 328 330 events that terminate and originate respectively within the guest 329 331 using an agent built as part of QEMU.</para> 330 <indexterm zone="qemu -kvmqemu-ga">332 <indexterm zone="qemu qemu-ga"> 331 333 <primary sortas="b-qemu-ga">qemu-ga</primary> 332 334 </indexterm> … … 338 340 <listitem> 339 341 <para>provides commands to manage QEMU disk images.</para> 340 <indexterm zone="qemu -kvmqemu-img">342 <indexterm zone="qemu qemu-img"> 341 343 <primary sortas="b-qemu-img">qemu-img</primary> 342 344 </indexterm> … … 349 351 <para>is a diagnostic and manipulation program for (virtual) memory 350 352 media. It is still at an early stage of development.</para> 351 <indexterm zone="qemu -kvmqemu-io">353 <indexterm zone="qemu qemu-io"> 352 354 <primary sortas="b-qemu-io">qemu-io</primary> 353 355 </indexterm> … … 360 362 <para>exports Qemu disk images using the QEMU Disk Network Block 361 363 Device (NBD) protocol.</para> 362 <indexterm zone="qemu -kvmqemu-nbd">364 <indexterm zone="qemu qemu-nbd"> 363 365 <primary sortas="b-qemu-nbd">qemu-nbd</primary> 364 366 </indexterm> … … 370 372 <listitem> 371 373 <para>is the QEMU PC System emulator.</para> 372 <indexterm zone="qemu -kvmqemu-system">374 <indexterm zone="qemu qemu-system"> 373 375 <primary sortas="b-qemu-system">qemu-system-x86_64</primary> 374 376 </indexterm> -
postlfs/virtualization/virtualization.xml
r1f44775e r2f6053d 22 22 processor.</para> 23 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qemu -kvm.xml"/>24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qemu.xml"/> 25 25 26 26 </chapter>
Note:
See TracChangeset
for help on using the changeset viewer.