Changeset aa9028e


Ignore:
Timestamp:
11/15/2015 06:25:39 PM (8 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
3c39513
Parents:
2341740
Message:

Clarified qemu install instructions

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16659 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    r2341740 raa9028e  
    4848      <para>November 15th, 2015</para>
    4949      <itemizedlist>
     50        <listitem>
     51          <para>[bdubbs] - Clarified qemu install instructions. Fixes
     52          <ulink url="&blfs-ticket-root;7132">#7132</ulink>.</para>
     53        </listitem>
    5054        <listitem>
    5155          <para>[fernando] - Update to xmlto-0.0.27. Fixes
  • postlfs/virtualization/qemu.xml

    r2341740 raa9028e  
    151151    commands:</para>
    152152
    153 <screen><userinput>./configure --prefix=/usr                      \
    154             --sysconfdir=/etc                  \
    155             --libexecdir=/usr/lib/qemu         \
    156             $([ $(uname -m) = i686 ]           &amp;&amp;
    157             echo --target-list=i386-softmmu)   \
    158             $([ $(uname -m) = x86_64 ]         &amp;&amp;
    159             echo --target-list=x86_64-softmmu) \
     153    <note><para>Qemu is capable of running many targets.  The build process
     154    is also capable of building multiple targets at one time in a
     155    comma delimited list assigned to <option>--target-list</option>. Run
     156    <command>./configure --help</command> to get a complete list of
     157    available targets.</para></note>
     158
     159
     160<screen><userinput>if [ $(uname -m) = i686 ]; then
     161   QEMU_ARCH=i386-softmmu
     162else
     163   QEMU_ARCH=x86_64-softmmu
     164fi
     165
     166./configure --prefix=/usr            \
     167            --sysconfdir=/etc        \
     168            --target-list=$QEMU_ARCH \
    160169            --docdir=/usr/share/doc/qemu-&qemu-version; &amp;&amp;
     170unset QEMU_ARCH &amp;&amp;
     171
    161172make</userinput></screen>
    162173
     
    200211
    201212    <para>For convenience you may want to create a symbolic link to run
    202     <command>qemu-system-x86_64</command>:</para>
     213    the installed program. For instance:</para>
    203214
    204215    <screen role="root"><userinput>ln -sv qemu-system-x86_64 /usr/bin/qemu</userinput></screen>
     
    209220  <sect2 role="commands">
    210221    <title>Command Explanations</title>
    211 
    212     <para><parameter>$([ $(uname -m) = i686 ] &amp;&amp;
    213     echo --target-list=i386-softmmu)</parameter>: This switch
    214     tests and, if true, limits the build target to the i386 architecture.  For
    215     other hardware emulation see the --target-list list in
    216     <command>configure</command>'s help output.  Omitting the target option will
    217     build all architectures.</para>
    218 
    219     <para><parameter>$([ $(uname -m) = x86_64 ] &amp;&amp;
    220     echo --target-list=x86_64-softmmu)</parameter>: This switch
    221     tests and, if true, limits the build target to the x86_64 architecture.  For
    222     other hardware emulation see the --target-list list in
    223     <command>configure</command>'s help output.  Omitting the target option will
    224     build all architectures.</para>
    225222
    226223    <para>
     
    246243    <note><para>The following instructions assume you have created the optional
    247244    symbolic link, <userinput>qemu</userinput>.  Additionally, you must run
    248     <userinput>qemu</userinput> from an X Window System based terminal.</para></note>
     245    <userinput>qemu</userinput> from an X Window System based terminal
     246    (either locally or over ssh).</para></note>
    249247
    250248    <para>To install an operating system, download an iso of your choice or use
Note: See TracChangeset for help on using the changeset viewer.