Changeset 855c1f7 for postlfs


Ignore:
Timestamp:
01/01/2016 07:39:22 PM (8 years ago)
Author:
Fernando de Oliveira <fernando@…>
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:
577d43d
Parents:
8a6a8a40
Message:
  • Update to xterm-321.
  • qemu-2.5.0: Alternative start command giving sound output, supporting vmware graphics card with possibility of new modelines and fixing problems with enable-kvm, between other additions.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/virtualization/qemu.xml

    r8a6a8a40 r855c1f7  
    281281<screen><userinput>qemu -enable-kvm vdisk.img -m 384</userinput></screen>
    282282
    283     <para>To add networking to the instance add "-net nic -net user" to the
    284     command above.  qemu provides a DHCP server for the VM and, depending on
     283    <para>You may have problem with <parameter>-enable-kvm</parameter>.  Also,
     284    you may want to define audio and video drivers, number of cpu cores and
     285    threads. An alternative command to install the operating system is (see qemu
     286    man page for the parameters definitions):</para>
     287
     288<screen><userinput>qemu -enable-kvm             \
     289     -cdrom /home/fernando/ISO/linuxmint-17.1-mate-32bit.iso \
     290     -boot order=d           \
     291     -m 1G,slots=3,maxmem=4G \
     292     -machine smm=off        \
     293     -soundhw es1370         \
     294     -cpu host               \
     295     -smp cores=4,threads=2  \
     296     -vga std                \
     297     vdisk.img</userinput></screen>
     298
     299    <para>One parameter not appearing in the qemu man page is
     300    <parameter>-machine smm=off</parameter>, and is used to allow
     301    <parameter>-enable-kvm</parameter> in some systems. In order to run the
     302    machine, you can alternatively run:</para>
     303
     304<screen><userinput>qemu -enable-kvm             \
     305     -machine smm=off        \
     306     -boot order=d           \
     307     -m 1G,slots=3,maxmem=4G \
     308     -soundhw es1370         \
     309     -cpu host               \
     310     -smp cores=4,threads=2  \
     311     -vga vmware             \
     312     -hda vdisk.img</userinput></screen>
     313
     314    <para>Sometimes, you want the machine to have different screen sizes than
     315    the ones natively offered by the virtual grahics card. The example below is
     316    for qemu vmware graphics card, which uses <xref
     317    linkend="xorg-vmmouse-driver"/> and is set to give maximum screen size of
     318    1600x900. As the <systemitem class="username">root</systemitem> user,
     319    issue:</para>
     320
     321<screen role="root"><userinput>cat &gt; /usr/share/X11/xorg.conf.d/20-vmware.conf &lt;&lt; "EOF"
     322<literal>Section "Monitor"
     323    Identifier  "Monitor0"
     324    # cvt 1600 900
     325    # 1600x900 59.95 Hz (CVT 1.44M9) hsync: 55.99 kHz; pclk: 118.25 MHz
     326    Modeline    "1600x900"  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync
     327          Option      "PreferredMode" "1600x900"
     328          HorizSync   1-200
     329          VertRefresh 1-200
     330EndSection
     331
     332Section "Device"
     333  Identifier    "VMware SVGA II Adapter"
     334  Option        "Monitor" "default"
     335  Driver        "vmware"
     336EndSection
     337
     338Section "Screen"
     339  Identifier    "Default Screen"
     340  Device        "VMware SVGA II Adapter"
     341  Monitor       "Monitor0"
     342
     343  SubSection    "Display"
     344    Depth       24
     345    Modes       "1600x900" "1440x900" "1366x768" "1280x720" "800x480"
     346  EndSubSection
     347
     348EndSection</literal>
     349EOF</userinput></screen>
     350
     351    <para>New sizes will be available besides the native ones. You need to
     352    restart X in order to have the new sizes available.</para>
     353
     354    <para><!--To add networking to the instance add "-net nic -net user" to the
     355    command above.  -->qemu provides a DHCP server for the VM and, depending on
    285356    the client system, sets up networking though the host.</para>
    286357
Note: See TracChangeset for help on using the changeset viewer.