Changeset 8cffdfa


Ignore:
Timestamp:
02/27/2023 07:32:06 AM (14 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.3, 12.0, 12.1, kea, ken/TL2024, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
1b293aec
Parents:
f1f1519
Message:

qemu: Tell how to build guest kernel with Virtio

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/virtualization/qemu.xml

    rf1f1519 r8cffdfa  
    479479      performance, but it requires a Virtio driver in guest kernel.  Use
    480480      it instead of a plain <option>-drive</option> if the guest kernel
    481       supports Virtio.  Note that if the guest kernel is Linux, the virtual
    482       disks using Virtio interface will be named <filename>vdx</filename>
    483       in the devtmpfs, instead of <filename>sdx</filename>.
     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>.
    484489    </para>
    485490
Note: See TracChangeset for help on using the changeset viewer.