Changeset 1f1f2230


Ignore:
Timestamp:
10/07/2022 08:17:46 AM (2 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
plabs/python-mods, trunk
Children:
1e9ccfa
Parents:
d2c16a45
Message:

Add &root; user to some root commands in qemu

Also, remove some obsolete (commented-out) parts, reformat some
lines longer than 80 columns, and update the text here and there...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/virtualization/qemu.xml

    rd2c16a45 r1f1f2230  
    195195-->
    196196    <para>
    197       Add any users that might use the KVM device to that group:
     197      As the &root; user, add any users that might use the KVM device to that
     198      group:
    198199    </para>
    199200
     
    252253    <para>
    253254      You will also need to add an Udev rule so that the KVM device gets correct
    254       permissions:
     255      permissions. As the &root; user, issue:
    255256    </para>
    256257
     
    261262    <para>
    262263      Change the permissions and ownership of a helper script, which is needed
    263       when using the <quote>bridge</quote> network device (see below):
     264      when using the <quote>bridge</quote> network device (see below). Again
     265      as the &root; user, issue:
    264266    </para>
    265267
     
    270272      <para>
    271273        For convenience you may want to create a symbolic link to run
    272         the installed program. For instance:
     274        the installed program. For instance (as the &root; user):
    273275      </para>
    274276
     
    281283    <title>Command Explanations</title>
    282284
    283 <!-- Not used anymore
    284     <para>
    285       <command>sed ... util/memfd.c</command>: This command fixes a conflict
    286       introduced with glibc-2.27.
    287     </para>
    288 -->
    289     <para>
    290       <parameter>--audio-drv-list=alsa --disable-pa</parameter>: This switch sets the audio
    291       driver to ALSA. See below for enabling other audio drivers.
    292     </para>
    293 
    294     <para>
    295       <option>--audio-drv-list=pa --disable-alsa</option>: This switch sets the audio
    296       driver to pulseaudio. For other drivers see the --audio-drv-list list in
    297       <command>configure</command>'s help output. The default audio driver is
    298       OSS. To enable support for both alsa and pulseaudio, use
     285    <para>
     286      <parameter>--audio-drv-list=alsa --disable-pa</parameter>: This switch
     287      sets the audio driver to ALSA. See below for enabling other audio drivers.
     288    </para>
     289
     290    <para>
     291      <option>--audio-drv-list=pa --disable-alsa</option>: This switch sets
     292      the audio driver to pulseaudio. For other drivers see the
     293      --audio-drv-list choices in the output of
     294      <command>./configure --help</command>. The default audio driver is OSS.
     295      To enable support for both alsa and pulseaudio, use
    299296      <option>--audio-drv-list=alsa,pa</option>.
    300297    </para>
    301 
    302     <!-- this appears to be rejected in 4.1.0
    303          ERROR: unknown option \-\-with-gtkabi=3.0
    304     <para>
    305       <option>\-\-with-gtkabi=3.0</option>: builds with GTK+-3 if both GTK+-2
    306       and GTK+-3 are installed.
    307     </para> -->
    308298
    309299  </sect2>
     
    336326        The following instructions assume the optional symbolic link,
    337327        <filename>qemu</filename>, has been created. Additionally,
    338         <command>qemu</command> must be run from an X Window System based
    339         terminal (either locally or over ssh).
     328        <command>qemu</command> should be run in a graphical environment.
     329        But it is possible to use qemu <quote>headless</quote> or through
     330        SSH. See the documentation for the various possibilities.
    340331      </para>
    341332    </note>
     
    593584
    594585    <para>
    595       In the command above, replace the switch <parameter>-netdev user,...
    596       </parameter> with <parameter>-netdev bridge,id=net0</parameter>.
     586      In the qemu command line above, replace the switch
     587      <parameter>-netdev user,...</parameter> with
     588      <parameter>-netdev bridge,...</parameter>.
    597589    </para>
    598590
Note: See TracChangeset for help on using the changeset viewer.