美文网首页
Arch Linux在qemu-kvm中必须开启ACPI,否则进

Arch Linux在qemu-kvm中必须开启ACPI,否则进

作者: 帕博雷克斯丢丢 | 来源:发表于2023-08-13 02:19 被阅读0次
<domain type='kvm' id="1">
    <name>vm0x01</name>
    <uuid>4dea24b3-1d52-d8f3-2516-782e98a23fa1</uuid>
    <genid>915a7887-4603-42a1-b72c-95eb0a87761f</genid>
    <memory unit='MiB'>2048</memory>
    <vcpu>1</vcpu>
    <os>
        <type arch='x86_64' machine='pc'>hvm</type>
        <boot dev='cdrom' />
        <boot dev='hd' />
        <bootmenu enable='yes' />
    </os>
    <features>
        <acpi />
    </features>
    <cpu mode='host-model' />
    <clock offset='utc' />
    <devices>
        <emulator>/usr/bin/qemu-system-x86_64</emulator>
        <disk type='file' device='disk'>
            <driver name='qemu' type='qcow2' />
            <source file='/var/lib/libvirt/images/vm0x01.qcow2' />
            <target dev='vda' bus='virtio' />
        </disk>
        <disk type='file' device='cdrom'>
            <driver name='qemu' type='raw' />
            <source file="/var/lib/libvirt/images/archlinux-2023.05.03-x86_64.iso" />
            <target dev='hda' bus='sata' />
            <readonly />
        </disk>
        <interface type='bridge'>
            <source bridge='ovsbr1' />
            <virtualport type='openvswitch' />
            <mac address='52:54:00:9f:98:c9' />
        </interface>
        <graphics type='vnc' port='5900' autoport='yes' listen='10.10.10.3' />
        <video>
            <model type='qxl' vram='65536' heads='1' />
        </video>
        <rng model="virtio">
            <backend model="random">/dev/urandom</backend>
        </rng>
        <serial type='pty'>
            <target port='0' />
        </serial>
        <console type='pty'>
            <target type='serial' port='0' />
        </console>
    </devices>
</domain>

相关文章

网友评论

      本文标题:Arch Linux在qemu-kvm中必须开启ACPI,否则进

      本文链接:https://www.haomeiwen.com/subject/xgdfmdtx.html