{"id":117491,"date":"2026-10-24T23:48:45","date_gmt":"2026-10-24T15:48:45","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/117491.html"},"modified":"2026-10-24T23:48:45","modified_gmt":"2026-10-24T15:48:45","slug":"windows-%e4%b8%8a%e4%bd%bf%e7%94%a8-qemu-%e5%ae%89%e8%a3%85-loongarch64-%e6%9e%b6%e6%9e%84%e9%93%b6%e6%b2%b3%e9%ba%92%e9%ba%9f-v10-sp1-2403-%e8%99%9a%e6%8b%9f%e6%9c%ba","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/117491.html","title":{"rendered":"Windows \u4e0a\u4f7f\u7528 QEMU \u5b89\u88c5 loongarch64 \u67b6\u6784\u94f6\u6cb3\u9e92\u9e9f V10 SP1 2403 \u865a\u62df\u673a"},"content":{"rendered":"<h2>Windows \u4e0a\u4f7f\u7528 QEMU \u5b89\u88c5 loongarch64 \u67b6\u6784\u94f6\u6cb3\u9e92\u9e9f V10 SP1 2403 \u865a\u62df\u673a&#xff08;\u5b8c\u6574\u5b9e\u5f55&#xff09;<\/h2>\n<p>\u672c\u6587\u8bb0\u5f55\u5728 Windows 11&#xff08;x86_64&#xff09;\u5bbf\u4e3b\u673a\u4e0a&#xff0c;\u7528 QEMU 11.0.0 \u5b89\u88c5\u5e76\u8fd0\u884c\u300c\u94f6\u6cb3\u9e92\u9e9f\u684c\u9762\u64cd\u4f5c\u7cfb\u7edf V10 SP1 2403 LoongArch64\u300d\u7684\u5168\u8fc7\u7a0b\u3002 \u5305\u62ec\u955c\u50cf\/\u56fa\u4ef6\u4e0b\u8f7d\u3001\u865a\u62df\u78c1\u76d8\u521b\u5efa\u3001\u542f\u52a8\u547d\u4ee4\u3001GRUB \u53c2\u6570\u3001\u5b89\u88c5\u540e\u53c2\u6570\u56fa\u5316\u3001\u907f\u5751\u4e0e\u9a8c\u8bc1\u3002 \u5168\u7a0b\u7eaf TCG \u8f6f\u4ef6\u6a21\u62df&#xff08;x86 \u5bbf\u4e3b\u65e0\u6cd5\u5bf9 LoongArch \u4f7f\u7528 KVM&#xff09;&#xff0c;\u5b9e\u6d4b\u53ef\u5b8c\u6210\u5b89\u88c5\u5e76\u8fdb\u5165\u684c\u9762\u3002<\/p>\n<hr \/>\n<h3>\u76ee\u5f55<\/h3>\n<ul>\n<li>\u4e00\u3001\u6700\u7ec8\u6548\u679c<\/li>\n<li>\u4e8c\u3001\u73af\u5883\u8bf4\u660e\u4e0e\u6240\u9700\u6750\u6599<\/li>\n<li>\u4e09\u3001\u4e0b\u8f7d\u955c\u50cf\u3001\u56fa\u4ef6\u548c QEMU<\/li>\n<li>\u56db\u3001\u5b89\u88c5 QEMU \u4e0e\u76ee\u5f55\u89c4\u5212<\/li>\n<li>\u4e94\u3001\u521b\u5efa\u865a\u62df\u78c1\u76d8<\/li>\n<li>\u516d\u3001\u542f\u52a8\u5b89\u88c5&#xff1a;\u5b8c\u6574\u547d\u4ee4\u4e0e\u53c2\u6570\u89e3\u91ca<\/li>\n<li>\u4e03\u3001\u5173\u952e\u4e00\u6b65&#xff1a;\u5728 GRUB \u4e2d\u8ffd\u52a0\u5185\u6838\u53c2\u6570<\/li>\n<li>\u516b\u3001\u8fdb\u5165\u5b89\u88c5\u5668\u5e76\u5b8c\u6210\u5b89\u88c5<\/li>\n<li>\u4e5d\u3001\u5b89\u88c5\u540e\u7684\u9996\u6b21\u542f\u52a8\u4e0e\u53c2\u6570\u56fa\u5316<\/li>\n<li>\u5341\u3001\u65e5\u5e38\u542f\u52a8\u811a\u672c<\/li>\n<li>\u5341\u4e00\u3001\u9a8c\u8bc1\u5b89\u88c5\u7ed3\u679c<\/li>\n<li>\u5341\u4e8c\u3001\u5e38\u89c1\u95ee\u9898&#xff08;\u8e29\u5751\u8bb0\u5f55&#xff09;<\/li>\n<li>\u5341\u4e09\u3001\u603b\u7ed3<\/li>\n<\/ul>\n<hr \/>\n<h3>\u4e00\u3001\u6700\u7ec8\u6548\u679c<\/h3>\n<p>\u5b89\u88c5\u5b8c\u6210\u5e76\u91cd\u542f\u540e&#xff0c;\u7cfb\u7edf\u6b63\u5e38\u8fdb\u5165\u94f6\u6cb3\u9e92\u9e9f\u684c\u9762&#xff0c;\u7ec8\u7aef\u4e2d\u6267\u884c arch \u4e0e lscpu \u8f93\u51fa\u5982\u4e0b&#xff1a;<\/p>\n<p>ky-loong&#064;ky-loong-pc:~$ arch<br \/>\nloongarch64<\/p>\n<p>ky-loong&#064;ky-loong-pc:~$ lscpu<br \/>\nArchitecture:        loongarch64<br \/>\nByte Order:          Little Endian<br \/>\nCPU(s):              4<br \/>\nOn-line CPU(s) list: 0-3<br \/>\nThread(s) per core:  1<br \/>\nCore(s) per socket:  4<br \/>\nSocket(s):           1<br \/>\nNUMA node(s):        1<br \/>\nCPU family:          Loongson-64bit<br \/>\nModel name:          Loongson-3A5000<br \/>\nBogoMIPS:            4000.00<br \/>\nL1d cache:           256 KiB<br \/>\nL1i cache:           256 KiB<br \/>\nL2 cache:            1 MiB<br \/>\nL3 cache:            16 MiB<br \/>\nNUMA node0 CPU(s):   0-3<br \/>\nFlags:               cpucfg lam ual fpu lsx lasx crc32<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261024154841-6adcd359e5c2c.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u53ef\u4ee5\u770b\u5230 Architecture \u4e3a loongarch64&#xff0c;CPU \u578b\u53f7\u88ab\u8bc6\u522b\u4e3a Loongson-3A5000&#xff0c;\u8bf4\u660e\u6574\u5957\u9f99\u82af\u751f\u6001&#xff08;\u56fa\u4ef6 &#043; \u5185\u6838 &#043; \u7528\u6237\u6001&#xff09;\u5df2\u7ecf\u5728 QEMU \u4e2d\u5b8c\u6574\u8dd1\u8d77\u6765\u4e86\u3002<\/p>\n<hr \/>\n<h3>\u4e8c\u3001\u73af\u5883\u8bf4\u660e\u4e0e\u6240\u9700\u6750\u6599<\/h3>\n<h4>2.1 \u5bbf\u4e3b\u673a\u73af\u5883<\/h4>\n<table>\n<tr>\u9879\u76ee\u914d\u7f6e<\/tr>\n<tbody>\n<tr>\n<td>\u64cd\u4f5c\u7cfb\u7edf<\/td>\n<td>Windows 11 Enterprise&#xff08;x86_64&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>CPU<\/td>\n<td>\u652f\u6301\u786c\u4ef6\u865a\u62df\u5316\u7684 x86_64 \u5904\u7406\u5668<\/td>\n<\/tr>\n<tr>\n<td>\u5185\u5b58<\/td>\n<td>\u5efa\u8bae 16 GB \u53ca\u4ee5\u4e0a&#xff08;\u5ba2\u6237\u673a\u5206\u914d 4 GB&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u78c1\u76d8<\/td>\n<td>\u9884\u7559\u81f3\u5c11 85 GB \u7a7a\u95f4&#xff08;\u865a\u62df\u78c1\u76d8 80 GB&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>QEMU<\/td>\n<td>11.0.0 Windows \u7248&#xff08;qemu-w64-setup-20260422.exe&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u52a0\u901f\u65b9\u5f0f<\/td>\n<td>\u7eaf TCG&#xff08;-accel tcg,thread&#061;multi&#xff09;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6ce8\u610f&#xff1a;LoongArch \u4e0e x86 \u6307\u4ee4\u96c6\u5b8c\u5168\u4e0d\u540c&#xff0c;Windows \u5bbf\u4e3b\u4e0a\u7684 QEMU \u6ca1\u6709 KVM \u53ef\u7528&#xff0c;\u53ea\u80fd\u8d70 TCG \u52a8\u6001\u7ffb\u8bd1&#xff0c;\u56e0\u6b64\u5b89\u88c5\u548c\u8fd0\u884c\u90fd\u4f1a\u660e\u663e\u6162\u4e8e\u540c\u67b6\u6784\u865a\u62df\u673a\u3002\u8fd9\u662f\u6b63\u5e38\u73b0\u8c61&#xff0c;\u4e0d\u662f\u914d\u7f6e\u9519\u8bef\u3002<\/p>\n<h4>2.2 \u9700\u8981\u7684\u6587\u4ef6<\/h4>\n<table>\n<tr>\u6587\u4ef6\u7528\u9014\u5927\u5c0f<\/tr>\n<tbody>\n<tr>\n<td>Kylin-Desktop-V10-SP1-2403-Release-20240506-loongarch64.iso<\/td>\n<td>\u9e92\u9e9f\u7cfb\u7edf\u5b89\u88c5\u955c\u50cf<\/td>\n<td>4,694,988,800 \u5b57\u8282&#xff08;\u7ea6 4.37 GB&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>QEMU_EFI.fd<\/td>\n<td>LoongArch \u5e73\u53f0 UEFI \u56fa\u4ef6<\/td>\n<td>4,194,304 \u5b57\u8282&#xff08;4 MB&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>qemu-w64-setup-20260422.exe<\/td>\n<td>Windows \u7248 QEMU \u5b89\u88c5\u5305<\/td>\n<td>\u7ea6 200 MB<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261024154842-6adcd35acae8c.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<hr \/>\n<h3>\u4e09\u3001\u4e0b\u8f7d\u955c\u50cf\u3001\u56fa\u4ef6\u548c QEMU<\/h3>\n<h4>3.1 \u94f6\u6cb3\u9e92\u9e9f V10 SP1 2403 LoongArch64 \u955c\u50cf<\/h4>\n<p>\u5b98\u65b9\u4e0b\u8f7d\u5730\u5740&#xff08;CDN \u76f4\u94fe&#xff09;&#xff1a;<\/p>\n<p>https:\/\/iso.kylinos.cn\/web_pungi\/download\/cdn\/5aVgLwmAlH4Y6CD3uIXP01noizhS8xGE\/Kylin-Desktop-V10-SP1-2403-Release-20240506-loongarch64.iso<\/p>\n<p>\u4e0b\u8f7d\u540e\u5efa\u8bae\u6838\u5bf9\u6587\u4ef6\u5927\u5c0f\u662f\u5426\u4e3a 4,694,988,800 \u5b57\u8282\u3002\u6587\u4ef6\u540d\u4e2d\u7684 2403 \u8868\u793a 2024 \u5e74 3 \u6708\u7248\u672c&#xff0c;20240506 \u662f\u6784\u5efa\u65e5\u671f&#xff0c;loongarch64 \u662f\u76ee\u6807\u67b6\u6784\u2014\u2014\u4e0d\u8981\u4e0b\u8f7d\u6210 arm64 \u6216 mips64el \u7248\u672c\u3002<\/p>\n<h4>3.2 LoongArch UEFI \u56fa\u4ef6<\/h4>\n<p>https:\/\/github.com\/loongson\/Firmware\/blob\/SubmitMultiArch\/LoongArchVirtMachine\/QEMU_EFI.fd<\/p>\n<p>\u5728 GitHub \u9875\u9762\u70b9\u51fb Download raw file \u4e0b\u8f7d&#xff0c;\u5f97\u5230 4 MB \u7684 QEMU_EFI.fd\u3002<\/p>\n<p>\u8fd9\u4e2a\u56fa\u4ef6\u662f QEMU LoongArch virt \u673a\u5668\u7684 UEFI \u73af\u5883&#xff0c;\u8d1f\u8d23\u521d\u59cb\u5316\u5185\u5b58\u3001PCIe\u3001virtio \u8bbe\u5907&#xff0c;\u7136\u540e\u52a0\u8f7d ISO \u4e2d\u7684 GRUB\u3002\u6ca1\u6709\u5b83&#xff0c;qemu-system-loongarch64.exe \u65e0\u6cd5\u542f\u52a8\u3002<\/p>\n<h4>3.3 QEMU for Windows<\/h4>\n<p>https:\/\/qemu.weilnetz.de\/w64\/qemu-w64-setup-20260422.exe<\/p>\n<p>\u8be5\u7f51\u7ad9\u63d0\u4f9b\u5b98\u65b9 QEMU \u7684 Windows \u7f16\u8bd1\u7248&#xff0c;\u5b89\u88c5\u5305\u81ea\u5e26 qemu-system-loongarch64.exe \u4ee5\u53ca\u5168\u90e8\u4f9d\u8d56 DLL&#xff0c;\u4e0d\u9700\u8981\u989d\u5916\u914d\u7f6e MSYS2 \u73af\u5883\u3002<\/p>\n<hr \/>\n<h3>\u56db\u3001\u5b89\u88c5 QEMU \u4e0e\u76ee\u5f55\u89c4\u5212<\/h3>\n<p>\u53cc\u51fb qemu-w64-setup-20260422.exe&#xff0c;\u4e00\u8def\u9ed8\u8ba4\u5b89\u88c5\u5373\u53ef\u3002\u672c\u6587\u5c06\u5176\u5b89\u88c5\u5230 E:\\\\qemu&#xff0c;\u5e76\u6309\u4e0b\u9762\u7684\u7ed3\u6784\u7ec4\u7ec7\u6587\u4ef6&#xff1a;<\/p>\n<p>E:\\\\qemu\\\\<br \/>\n\u251c\u2500 qemu-system-loongarch64.exe      # QEMU \u4e3b\u7a0b\u5e8f<br \/>\n\u251c\u2500 qemu-img.exe                     # \u78c1\u76d8\u955c\u50cf\u5de5\u5177<br \/>\n\u251c\u2500 bios\\\\<br \/>\n\u2502  \u2514\u2500 loongarch64\\\\<br \/>\n\u2502     \u2514\u2500 QEMU_EFI.fd                # LoongArch UEFI \u56fa\u4ef6<br \/>\n\u251c\u2500 soft\\\\<br \/>\n\u2502  \u2514\u2500 Kylin-Desktop-V10-SP1-2403-Release-20240506-loongarch64.iso<br \/>\n\u251c\u2500 qvm\\\\<br \/>\n\u2502  \u2514\u2500 kylin_loongarch64.img         # \u865a\u62df\u78c1\u76d8&#xff08;\u5f85\u521b\u5efa&#xff09;<br \/>\n\u2514\u2500 serial.log                       # \u5185\u6838\u4e32\u53e3\u65e5\u5fd7<\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u5728 E:\\\\qemu \u76ee\u5f55\u6253\u5f00 PowerShell \u6216 CMD&#xff0c;\u786e\u8ba4\u7a0b\u5e8f\u53ef\u7528&#xff1a;<\/p>\n<p>cd \/d E:\\\\qemu<br \/>\nqemu-system-loongarch64.exe &#8211;version<\/p>\n<p>\u9884\u671f\u8f93\u51fa&#xff1a;<\/p>\n<p>QEMU emulator version 11.0.0 (v11.0.0-12122-ga4bb4b10c9)<br \/>\nCopyright (c) 2003-2026 Fabrice Bellard and the QEMU Project Developers<\/p>\n<hr \/>\n<h3>\u4e94\u3001\u521b\u5efa\u865a\u62df\u78c1\u76d8<\/h3>\n<p>\u4f7f\u7528 QEMU \u81ea\u5e26\u7684 qemu-img.exe \u521b\u5efa\u4e00\u4e2a 80 GB \u7684 raw \u683c\u5f0f\u78c1\u76d8&#xff1a;<\/p>\n<p>cd \/d E:\\\\qemu<br \/>\nqemu-img.exe create -f raw E:\\\\qemu\\\\qvm\\\\kylin_loongarch64.img 80G<\/p>\n<p>\u8f93\u51fa&#xff1a;<\/p>\n<p>Formatting &#039;E:\\\\qemu\\\\qvm\\\\kylin_loongarch64.img&#039;, fmt&#061;raw size&#061;85899345920<\/p>\n<p>\u51e0\u70b9\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>raw \u683c\u5f0f&#xff1a;\u7ed3\u6784\u6700\u7b80\u5355&#xff0c;\u517c\u5bb9\u6027\u6700\u597d\u3002\u6587\u4ef6\u5927\u5c0f\u663e\u793a\u4e3a 80 GB&#xff0c;\u4f46\u5728 NTFS \u4e0a\u662f\u7a00\u758f\u6587\u4ef6&#xff0c;\u5b9e\u9645\u5360\u7528\u968f\u5199\u5165\u589e\u957f\u3002<\/li>\n<li>80 GB&#xff1a;\u9e92\u9e9f\u684c\u9762\u7248\u9ed8\u8ba4\u5b89\u88c5\u7ea6\u9700 20 GB \u4ee5\u4e0a&#xff0c;80 GB \u7559\u6709\u5145\u8db3\u4f59\u91cf\u3002<\/li>\n<li>\u5982\u679c\u60f3\u8282\u7701\u7a7a\u95f4&#xff0c;\u4e5f\u53ef\u4ee5\u6539\u7528 qcow2 \u683c\u5f0f&#xff0c;\u4f46\u672c\u6587\u6cbf\u7528\u5b9e\u6d4b\u901a\u8fc7\u7684 raw \u65b9\u6848\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>\u516d\u3001\u542f\u52a8\u5b89\u88c5&#xff1a;\u5b8c\u6574\u547d\u4ee4\u4e0e\u53c2\u6570\u89e3\u91ca<\/h3>\n<h4>6.1 \u5b8c\u6574\u542f\u52a8\u547d\u4ee4<\/h4>\n<p>\u5728 E:\\\\qemu \u76ee\u5f55\u4e0b\u6267\u884c\u4e0b\u9762\u8fd9\u6761\u547d\u4ee4&#xff08;\u5355\u884c&#xff0c;\u53ef\u76f4\u63a5\u590d\u5236\u5230 CMD \u6216 PowerShell&#xff09;&#xff1a;<\/p>\n<p>qemu-system-loongarch64.exe -m 4G -cpu la464-loongarch-cpu -smp 4 &#8211;accel tcg,thread&#061;multi,tb-size&#061;1024 -M virt -bios e:\\\\qemu\\\\bios\\\\loongarch64\\\\QEMU_EFI.fd -rtc base&#061;localtime -display sdl -device virtio-gpu-pci -device nec-usb-xhci -device usb-tablet -device usb-kbd -drive if&#061;virtio,file&#061;e:\\\\qemu\\\\qvm\\\\kylin_loongarch64.img,id&#061;hd0,format&#061;raw,media&#061;disk -device virtio-scsi-pci,id&#061;scsi -drive if&#061;none,file&#061;e:\\\\qemu\\\\soft\\\\Kylin-Desktop-V10-SP1-2403-Release-20240506-loongarch64.iso,id&#061;cdrom,media&#061;cdrom -device scsi-cd,drive&#061;cdrom,bus&#061;scsi.0 -netdev user,id&#061;n0,hostfwd&#061;tcp::2223-:22 -device virtio-net-pci,netdev&#061;n0 -serial file:e:\\\\qemu\\\\serial.log<\/p>\n<h4>6.2 \u53c2\u6570\u9010\u9879\u8bf4\u660e<\/h4>\n<table>\n<tr>\u53c2\u6570\u4f5c\u7528<\/tr>\n<tbody>\n<tr>\n<td>-m 4G<\/td>\n<td>\u5ba2\u6237\u673a\u5185\u5b58 4 GB\u3002TCG \u6a21\u5f0f\u4e0b 4 GB \u5df2\u8db3\u591f&#xff0c;\u52a0\u5230 8 GB \u6536\u76ca\u4e0d\u5927<\/td>\n<\/tr>\n<tr>\n<td>-cpu la464-loongarch-cpu<\/td>\n<td>\u6307\u5b9a LoongArch \u7684 LA464 \u5904\u7406\u5668\u6a21\u578b&#xff08;\u5bf9\u5e94\u9f99\u82af 3A5000&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>-smp 4<\/td>\n<td>4 \u4e2a vCPU\u3002\u5173\u952e\u63d0\u901f\u9879&#xff0c;\u4e0d\u5199\u5219\u53ea\u6709 1 \u4e2a vCPU&#xff0c;thread&#061;multi \u4f1a\u9000\u5316\u4e3a\u5355\u7ebf\u7a0b<\/td>\n<\/tr>\n<tr>\n<td>&#8211;accel tcg,thread&#061;multi,tb-size&#061;1024<\/td>\n<td>\u591a\u7ebf\u7a0b TCG &#043; 1 GB \u7ffb\u8bd1\u5757\u7f13\u5b58&#xff0c;\u663e\u8457\u63d0\u5347\u6a21\u62df\u6027\u80fd<\/td>\n<\/tr>\n<tr>\n<td>-M virt<\/td>\n<td>LoongArch \u865a\u62df\u673a\u578b<\/td>\n<\/tr>\n<tr>\n<td>-bios &#8230;\\\\QEMU_EFI.fd<\/td>\n<td>\u52a0\u8f7d LoongArch UEFI \u56fa\u4ef6<\/td>\n<\/tr>\n<tr>\n<td>-rtc base&#061;localtime<\/td>\n<td>\u5ba2\u6237\u673a\u4f7f\u7528\u672c\u5730\u65f6\u95f4&#xff0c;\u907f\u514d\u4e0e\u5bbf\u4e3b\u673a\u65f6\u533a\u4e0d\u4e00\u81f4<\/td>\n<\/tr>\n<tr>\n<td>-display sdl<\/td>\n<td>\u4f7f\u7528 SDL \u7a97\u53e3\u663e\u793a\u56fe\u5f62\u754c\u9762<\/td>\n<\/tr>\n<tr>\n<td>-device virtio-gpu-pci<\/td>\n<td>\u5fc5\u987b\u4f7f\u7528 virtio \u663e\u5361\u3002\u8be5\u5185\u6838\u6ca1\u6709 Bochs VGA \u9a71\u52a8&#xff0c;\u7528 -device VGA \u4f1a\u6c38\u4e45\u9ed1\u5c4f<\/td>\n<\/tr>\n<tr>\n<td>-device nec-usb-xhci &#043; usb-tablet &#043; usb-kbd<\/td>\n<td>USB 3.0 \u63a7\u5236\u5668\u3001\u7edd\u5bf9\u5b9a\u4f4d\u9f20\u6807\u3001\u952e\u76d8&#xff0c;\u4fdd\u8bc1\u56fe\u5f62\u754c\u9762\u64cd\u4f5c\u6b63\u5e38<\/td>\n<\/tr>\n<tr>\n<td>-drive if&#061;virtio,file&#061;&#8230;<\/td>\n<td>\u5b89\u88c5\u76ee\u6807\u78c1\u76d8&#xff0c;\u4f7f\u7528 virtio-blk&#xff0c;\u5b89\u88c5\u5668\u4e2d\u663e\u793a\u4e3a vda<\/td>\n<\/tr>\n<tr>\n<td>-device virtio-scsi-pci,id&#061;scsi<\/td>\n<td>SCSI \u63a7\u5236\u5668\u3002\u5fc5\u987b\u7528 -pci \u7248\u672c&#xff0c;\u4e0d\u80fd\u7528 virtio-scsi-device<\/td>\n<\/tr>\n<tr>\n<td>-drive if&#061;none,file&#061;&#8230;iso,id&#061;cdrom,media&#061;cdrom<\/td>\n<td>\u6302\u8f7d\u5b89\u88c5 ISO<\/td>\n<\/tr>\n<tr>\n<td>-device scsi-cd,drive&#061;cdrom,bus&#061;scsi.0<\/td>\n<td>\u628a ISO \u4f5c\u4e3a SCSI \u5149\u9a71\u6302\u5230\u63a7\u5236\u5668\u4e0a<\/td>\n<\/tr>\n<tr>\n<td>-netdev user,id&#061;n0,hostfwd&#061;tcp::2223-:22<\/td>\n<td>\u7528\u6237\u6001\u7f51\u7edc&#xff0c;\u5e76\u628a\u5bbf\u4e3b\u673a 2223 \u7aef\u53e3\u8f6c\u53d1\u5230\u5ba2\u6237\u673a 22 \u7aef\u53e3&#xff0c;\u65b9\u4fbf SSH<\/td>\n<\/tr>\n<tr>\n<td>-device virtio-net-pci,netdev&#061;n0<\/td>\n<td>virtio \u7f51\u5361<\/td>\n<\/tr>\n<tr>\n<td>-serial file:e:\\\\qemu\\\\serial.log<\/td>\n<td>\u628a\u865a\u62df\u4e32\u53e3\u8f93\u51fa\u5199\u5165\u6587\u4ef6&#xff0c;\u5b89\u88c5\/\u542f\u52a8\u5f02\u5e38\u65f6\u7528\u4e8e\u6392\u969c<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6267\u884c\u540e&#xff0c;QEMU \u4f1a\u6253\u5f00\u4e00\u4e2a SDL \u7a97\u53e3&#xff0c;\u5148\u663e\u793a LoongArch UEFI \u56fa\u4ef6\u7684\u542f\u52a8\u4fe1\u606f&#xff0c;\u968f\u540e\u8fdb\u5165\u9e92\u9e9f\u7684 GRUB \u83dc\u5355\u3002<\/p>\n<hr \/>\n<h3>\u4e03\u3001\u5173\u952e\u4e00\u6b65&#xff1a;\u5728 GRUB \u4e2d\u8ffd\u52a0\u5185\u6838\u53c2\u6570<\/h3>\n<h4>7.1 \u4e3a\u4ec0\u4e48\u8981\u52a0\u53c2\u6570<\/h4>\n<p>\u8fd9\u4e2a\u9e92\u9e9f\u955c\u50cf\u643a\u5e26\u7684\u662f\u9762\u5411\u9f99\u82af 3A5000 \u6574\u673a\u7684\u677f\u7ea7\u5185\u6838&#xff08;Linux 5.4.18-110-generic #99-KYLINOS&#xff09;\u3002\u5185\u6838\u521d\u59cb\u5316\u65f6\u4f1a\u65e0\u6761\u4ef6\u63a2\u6d4b NCT6102 Super I\/O\u3001LS7A \u786c\u4ef6\u76d1\u63a7\u7b49\u53ea\u5728\u771f\u5b9e\u4e3b\u677f\u4e0a\u5b58\u5728\u7684\u82af\u7247\u3002QEMU \u6ca1\u6709\u8fd9\u4e9b\u786c\u4ef6&#xff0c;\u9a71\u52a8\u8bfb\u56de\u65e0\u6548\u503c\u540e\u4f1a\u89e6\u53d1\u5730\u5740\u9519\u5f02\u5e38&#xff08;ADE&#xff09;&#xff0c;\u5bfc\u81f4 PID 1 \u6b7b\u4ea1\u5e76 panic\u3002<\/p>\n<p>\u66f4\u9ebb\u70e6\u7684\u662f&#xff1a;<\/p>\n<li>\u8be5\u5185\u6838\u5728 ACPI \u8def\u5f84\u4e0b\u6ca1\u6709\u6ce8\u518c\u4efb\u4f55\u771f\u5b9e\u63a7\u5236\u53f0&#xff0c;\u5c4f\u5e55\u548c\u4e32\u53e3\u90fd\u6ca1\u6709\u8f93\u51fa&#xff1b;<\/li>\n<li>\u5185\u6838\u91cc\u6ca1\u6709 Bochs VGA \u9a71\u52a8&#xff0c;\u6240\u4ee5 -device VGA \u6c38\u8fdc\u9ed1\u5c4f\u3002<\/li>\n<p>\u6700\u7ec8\u8868\u73b0\u5c31\u662f&#xff1a;\u9009\u62e9\u5b89\u88c5\u540e\u5c4f\u5e55\u5168\u9ed1&#xff0c;\u7b49\u518d\u4e45\u4e5f\u6ca1\u53cd\u5e94\u3002\u8fd9\u4e0d\u662f TCG \u592a\u6162&#xff0c;\u800c\u662f\u5185\u6838\u5df2\u7ecf panic\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261024154842-6adcd35ae31a4.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5178\u578b\u73b0\u8c61&#xff1a;QEMU \u7a97\u53e3\u6ca1\u6709\u4efb\u4f55\u7cfb\u7edf\u753b\u9762&#xff0c;\u53ea\u663e\u793a Display output is not active.&#xff08;\u6216\u8005\u7eaf\u9ed1&#xff09;&#xff0c;\u4e32\u53e3\u65e5\u5fd7\u91cc\u4e5f\u6ca1\u6709\u5185\u6838\u8f93\u51fa\u3002\u6b64\u65f6\u4e0d\u8981\u518d\u7b49\u4e86&#xff0c;\u6309\u4e0b\u9762\u7684\u65b9\u6848\u52a0\u53c2\u6570\u3002<\/p>\n<p>\u89e3\u51b3\u529e\u6cd5\u662f\u52a0\u4e09\u4e2a\u8981\u7d20&#xff0c;\u7f3a\u4e00\u4e0d\u53ef&#xff1a;<\/p>\n<table>\n<tr>\u8981\u7d20\u4f5c\u7528<\/tr>\n<tbody>\n<tr>\n<td>acpi&#061;off<\/td>\n<td>\u7981\u7528 ACPI&#xff0c;\u8ba9\u5185\u6838\u6539\u8d70 QEMU \u8bbe\u5907\u6811\u8def\u5f84&#xff0c;\u907f\u5f00\u677f\u7ea7\u786c\u4ef6\u63a2\u6d4b&#xff0c;\u540c\u65f6\u8ba9 8250 \u4e32\u53e3\u63a7\u5236\u53f0\u548c virtio \u8bbe\u5907\u6b63\u5e38\u6ce8\u518c<\/td>\n<\/tr>\n<tr>\n<td>initcall_blacklist&#061;nct6102_gpio_setup,loongson_ls7a_hwmon_init<\/td>\n<td>\u8df3\u8fc7\u4e24\u4e2a\u4f1a\u8bbf\u95ee\u4e0d\u5b58\u5728\u786c\u4ef6\u7684\u677f\u7ea7 initcall&#xff0c;\u907f\u514d ADE \u2192 panic<\/td>\n<\/tr>\n<tr>\n<td>-device virtio-gpu-pci<\/td>\n<td>\u5185\u6838\u7684 virtio_gpu \u6a21\u5757\u52a0\u8f7d\u540e\u63d0\u4f9b DRM \u5e27\u7f13\u51b2&#xff0c;\u56fe\u5f62\u754c\u9762\u624d\u80fd\u663e\u793a<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>7.2 \u5728 GRUB \u547d\u4ee4\u884c\u4e2d\u624b\u52a8\u542f\u52a8<\/h4>\n<p>ISO \u91cc\u7684 grub.cfg \u4f4d\u4e8e\u53ea\u8bfb\u7684\u5149\u76d8\u4e0a&#xff0c;\u83dc\u5355\u9879\u53c2\u6570\u65e0\u6cd5\u4fdd\u5b58\u4fee\u6539&#xff0c;\u6240\u4ee5\u6bcf\u6b21\u4ece ISO \u542f\u52a8\u90fd\u8981\u624b\u52a8\u6307\u5b9a\u4e00\u6b21\u3002<\/p>\n<p>\u770b\u5230\u9e92\u9e9f GRUB \u83dc\u5355\u540e&#xff1a;<\/p>\n<li>\u6309 c \u952e&#xff0c;\u8fdb\u5165 GRUB \u547d\u4ee4\u884c&#xff08;\u63d0\u793a\u7b26\u4e3a grub&gt;&#xff09;&#xff1b;<\/li>\n<li>\u4f9d\u6b21\u8f93\u5165\u4e0b\u9762\u4e09\u884c&#xff0c;\u6bcf\u884c\u4ee5\u56de\u8f66\u7ed3\u675f&#xff1a;<\/li>\n<p>linux (cd0)\/casper\/vmlinuz boot&#061;casper ignore_uuid locale&#061;zh_CN fsck.mode&#061;skip acpi&#061;off console&#061;ttyS0,115200 initcall_blacklist&#061;nct6102_gpio_setup,loongson_ls7a_hwmon_init<br \/>\ninitrd (cd0)\/casper\/initrd.img<br \/>\nboot<\/p>\n<p>\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>(cd0) \u662f\u5149\u9a71\u8bbe\u5907\u540d&#xff0c;\u4e0d\u786e\u5b9a\u65f6\u53ef\u5728 grub&gt; \u4e0b\u8f93\u5165 ls&#xff0c;\u4f1a\u5217\u51fa (memdisk) (cd0)\u3002<\/li>\n<li>\u7b2c\u4e09\u884c boot \u56de\u8f66\u540e\u5f00\u59cb\u52a0\u8f7d\u5185\u6838&#xff08;\u7ea6 7.6 MB&#xff09;\u548c initrd&#xff08;\u7ea6 142 MB&#xff09;&#xff0c;TCG \u4e0b\u9700\u8981\u51e0\u5206\u949f&#xff0c;\u671f\u95f4\u77ed\u6682\u9ed1\u5c4f\u5c5e\u6b63\u5e38\u3002<\/li>\n<li>\u5982\u679c\u66f4\u4e60\u60ef\u7f16\u8f91\u83dc\u5355\u9879&#xff1a;\u5728\u83dc\u5355\u4e0a\u6309 e&#xff0c;\u627e\u5230\u4ee5 linux \/casper\/vmlinuz \u5f00\u5934\u7684\u90a3\u4e00\u884c&#xff0c;\u5728\u672b\u5c3e\u8ffd\u52a0&#xff1a;<\/li>\n<\/ul>\n<p> acpi&#061;off console&#061;ttyS0,115200 initcall_blacklist&#061;nct6102_gpio_setup,loongson_ls7a_hwmon_init<\/p>\n<p>\u7136\u540e\u6309 Ctrl&#043;X \u542f\u52a8\u3002<\/p>\n<p>\u5c0f\u6280\u5de7&#xff1a;\u5982\u679c GRUB \u83dc\u5355\u4e00\u95ea\u800c\u8fc7&#xff0c;\u5f00\u673a\u540e\u7acb\u523b\u8fde\u6309 Esc \u5373\u53ef\u8c03\u51fa\u83dc\u5355&#xff0c;\u518d\u6309 e \u6216 c\u3002<\/p>\n<hr \/>\n<h3>\u516b\u3001\u8fdb\u5165\u5b89\u88c5\u5668\u5e76\u5b8c\u6210\u5b89\u88c5<\/h3>\n<p>\u53c2\u6570\u6b63\u786e\u65f6&#xff0c;\u7b49\u5f85\u7ea6 3~8 \u5206\u949f&#xff08;\u53d6\u51b3\u4e8e\u5bbf\u4e3b\u673a\u6027\u80fd&#xff09;&#xff0c;\u4f1a\u51fa\u73b0\u9e92\u9e9f\u5b89\u88c5\u5668\u7684\u8bed\u8a00\u9009\u62e9\u754c\u9762&#xff08;1280\u00d7800&#xff09;\u3002\u770b\u5230\u8fd9\u4e2a\u754c\u9762\u5c31\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>\u56fe\u5f62\u6808\u6b63\u5e38&#xff08;virtio-gpu \u5de5\u4f5c&#xff09;&#xff1b;<\/li>\n<li>\u5185\u6838\u6ca1\u6709 panic&#xff1b;<\/li>\n<li>\u4e32\u53e3\u63a7\u5236\u53f0\u5df2\u6ce8\u518c\u3002<\/li>\n<\/ul>\n<p>\u63a5\u4e0b\u6765\u6309\u5411\u5bfc\u64cd\u4f5c\u5373\u53ef&#xff1a;<\/p>\n<li>\u9009\u62e9\u8bed\u8a00&#xff08;\u4e2d\u6587\u7b80\u4f53&#xff09;&#xff1b;<\/li>\n<li>\u9009\u62e9\u65f6\u533a\u3001\u952e\u76d8\u5e03\u5c40&#xff1b;<\/li>\n<li>\u521b\u5efa\u7528\u6237&#xff08;\u672c\u6587\u5b9e\u6d4b\u7528\u6237\u540d\u4e3a ky-loong&#xff09;&#xff1b;<\/li>\n<li>\u5206\u533a\u9875\u9762\u9009\u62e9\u6574\u76d8\u5b89\u88c5&#xff0c;\u5b89\u88c5\u5668\u4f1a\u8bc6\u522b\u51fa\u4e00\u5757 virtio \u78c1\u76d8 vda&#xff08;\u5373 kylin_loongarch64.img&#xff09;&#xff1b;<\/li>\n<li>\u7b49\u5f85\u590d\u5236\u6587\u4ef6\u5e76\u5b8c\u6210\u5b89\u88c5&#xff0c;\u6700\u540e\u91cd\u542f\u3002<\/li>\n<p>\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u5982\u679c\u60f3\u89c2\u5bdf\u8fdb\u5ea6&#xff0c;\u53ef\u4ee5&#xff1a;<\/p>\n<ul>\n<li>\u67e5\u770b E:\\\\qemu\\\\serial.log \u4e2d\u7684\u5185\u6838\u65e5\u5fd7&#xff1b;<\/li>\n<li>\u5728 QEMU \u7a97\u53e3\u4e2d\u6309 Ctrl&#043;Alt&#043;F2 \u5207\u6362\u5230\u6587\u672c\u7ec8\u7aef\u3002<\/li>\n<\/ul>\n<p>\u6ce8\u610f&#xff1a;\u91cd\u542f\u524d\u8bf7\u5728 GRUB \u6216\u5b89\u88c5\u5668\u63d0\u793a\u65f6\u65ad\u5f00 ISO&#xff08;\u6216\u8005\u4e0b\u6b21\u542f\u52a8\u547d\u4ee4\u91cc\u5220\u6389\u5149\u9a71\u76f8\u5173\u53c2\u6570&#xff09;&#xff0c;\u5426\u5219\u53ef\u80fd\u53c8\u4ece\u5149\u76d8\u542f\u52a8\u3002<\/p>\n<hr \/>\n<h3>\u4e5d\u3001\u5b89\u88c5\u540e\u7684\u9996\u6b21\u542f\u52a8\u4e0e\u53c2\u6570\u56fa\u5316<\/h3>\n<h4>9.1 \u9996\u6b21\u542f\u52a8\u4ecd\u9700\u5e26\u53c2\u6570<\/h4>\n<p>\u5df2\u5b89\u88c5\u7cfb\u7edf\u7684\u5185\u6838\u4e0e ISO \u91cc\u7684\u5185\u6838\u5b8c\u5168\u76f8\u540c&#xff0c;\u677f\u7ea7\u9a71\u52a8 panic \u7684\u95ee\u9898\u4f9d\u65e7\u5b58\u5728\u3002\u56e0\u6b64\u5b89\u88c5\u540e\u7684\u7cfb\u7edf\u4e5f\u5fc5\u987b\u5e26\u540c\u6837\u7684\u5185\u6838\u53c2\u6570\u542f\u52a8&#xff0c;\u5426\u5219\u53c8\u4f1a\u9ed1\u5c4f\u3002<\/p>\n<p>\u9996\u6b21\u542f\u52a8\u5efa\u8bae&#xff1a;<\/p>\n<li>\u5f00\u673a\u540e\u7acb\u523b\u8fde\u6309 Esc \u8c03\u51fa GRUB \u83dc\u5355&#xff1b;<\/li>\n<li>\u9009\u4e2d\u9e92\u9e9f\u542f\u52a8\u9879&#xff0c;\u6309 e&#xff1b;<\/li>\n<li>\u627e\u5230 linux \u884c&#xff0c;\u5728\u884c\u672b\u8ffd\u52a0&#xff1a;<\/li>\n<p> acpi&#061;off initcall_blacklist&#061;nct6102_gpio_setup,loongson_ls7a_hwmon_init console&#061;ttyS0,115200 loglevel&#061;7<\/p>\n<li>\u6309 Ctrl&#043;X \u542f\u52a8&#xff0c;\u5373\u53ef\u8fdb\u5165\u684c\u9762\u3002<\/li>\n<p>\u4e0b\u56fe\u662f\u5b89\u88c5\u540e\u7cfb\u7edf\u7684 GRUB \u7f16\u8f91\u754c\u9762&#xff0c;\u53ef\u4ee5\u770b\u5230\u9ed8\u8ba4\u7684 linux \u884c\u53ea\u6709 quiet splash loglevel&#061;0&#xff0c;\u6ca1\u6709\u4efb\u4f55 QEMU \u9002\u914d\u53c2\u6570&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261024154843-6adcd35b4713e.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5728\u884c\u672b\u8ffd\u52a0\u53c2\u6570\u540e&#xff0c;\u5e94\u53d8\u6210\u4e0b\u9762\u8fd9\u6837&#xff08;acpi&#061;off \u548c initcall_blacklist&#061;&#8230; \u90fd\u5728\u540c\u4e00\u884c\u5185&#xff09;&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261024154843-6adcd35ba13d6.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>9.2 \u56fa\u5316\u53c2\u6570&#xff1a;\u4e00\u5b9a\u8981\u6539 EFI \u5206\u533a\u91cc\u7684 grub.cfg<\/h4>\n<p>\u8fd9\u662f\u672c\u6587\u6700\u5bb9\u6613\u8e29\u7684\u5751\u3002<\/p>\n<p>\u8be5\u955c\u50cf\u91cc\u5b58\u5728\u4e24\u4efd\u4e92\u4e0d\u76f8\u5e72\u7684 GRUB \u914d\u7f6e&#xff1a;<\/p>\n<table>\n<tr>\u4f4d\u7f6eupdate-grub \u662f\u5426\u66f4\u65b0\u542f\u52a8\u65f6\u662f\u5426\u4f7f\u7528<\/tr>\n<tbody>\n<tr>\n<td>\/boot \u5206\u533a&#xff08;ext4&#xff09;\u7684 \/grub\/grub.cfg<\/td>\n<td>\u2705 \u4f1a\u66f4\u65b0<\/td>\n<td>\u274c \u4e0d\u4f7f\u7528<\/td>\n<\/tr>\n<tr>\n<td>EFI \u5206\u533a&#xff08;FAT32&#xff09;\u7684 \/BOOT\/EFI\/grub.cfg<\/td>\n<td>\u274c \u4e0d\u4f1a\u66f4\u65b0<\/td>\n<td>\u2705 \u5b9e\u9645\u542f\u52a8\u7528\u7684\u5c31\u662f\u8fd9\u4efd<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6240\u4ee5&#xff0c;\u53ea\u5728 \/etc\/default\/grub \u91cc\u6539\u53c2\u6570\u518d\u6267\u884c update-grub&#xff0c;\u83dc\u5355\u91cc\u770b\u5230\u7684\u4ecd\u7136\u662f\u65e7\u53c2\u6570&#xff0c;\u91cd\u542f\u540e\u7167\u6837\u9ed1\u5c4f\u3002\u8fd9\u5c31\u662f\u300c\u53c2\u6570\u5df2\u7ecf\u56fa\u5316\u4e86\u5374\u8fd8\u662f\u9ed1\u5c4f\u300d\u7684\u771f\u6b63\u539f\u56e0\u3002<\/p>\n<p>\u8fdb\u5165\u7cfb\u7edf\u540e&#xff0c;\u6253\u5f00\u7ec8\u7aef\u6267\u884c&#xff1a;<\/p>\n<p><span class=\"token comment\"># 1) \u786e\u8ba4 EFI \u5206\u533a\u6302\u8f7d\u70b9\u548c\u914d\u7f6e\u6587\u4ef6\u771f\u5b9e\u8def\u5f84<\/span><br \/>\nlsblk <span class=\"token parameter variable\">-f<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">find<\/span> \/boot\/efi <span class=\"token parameter variable\">-iname<\/span> <span class=\"token string\">&#039;grub.cfg&#039;<\/span><\/p>\n<p><span class=\"token comment\"># 2) \u5907\u4efd\u771f\u6b63\u7684\u542f\u52a8\u914d\u7f6e<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">cp<\/span> \/boot\/efi\/boot\/EFI\/grub.cfg \/boot\/efi\/boot\/EFI\/grub.cfg.bak<\/p>\n<p><span class=\"token comment\"># 3) \u7ed9\u6240\u6709\u6b63\u5e38\u542f\u52a8\u9879\u7edf\u4e00\u8ffd\u52a0\u5185\u6838\u53c2\u6570<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">sed<\/span> <span class=\"token parameter variable\">-i<\/span> <span class=\"token string\">&#039;s\/quiet splash loglevel&#061;0\/quiet splash acpi&#061;off initcall_blacklist&#061;nct6102_gpio_setup,loongson_ls7a_hwmon_init console&#061;ttyS0,115200 loglevel&#061;7\/g&#039;<\/span> \/boot\/efi\/boot\/EFI\/grub.cfg<\/p>\n<p><span class=\"token comment\"># 4) \u6838\u5bf9\u6bcf\u6761 linux \u884c\u662f\u5426\u90fd\u5e26\u4e0a\u4e86\u53c2\u6570<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">grep<\/span> <span class=\"token parameter variable\">-n<\/span> <span class=\"token string\">&#039;^[[:space:]]*linux&#039;<\/span> \/boot\/efi\/boot\/EFI\/grub.cfg<\/p>\n<p>\u5178\u578b find \u7ed3\u679c\u5982\u4e0b&#xff1a;<\/p>\n<ul>\n<li>\/boot\/efi\/EFI\/kylin\/grub.cfg \u2014\u2014 \u7ea6 89 \u5b57\u8282&#xff0c;\u53ea\u662f\u4e00\u4e2a\u8df3\u8f6c\u6869&#xff0c;\u4e0d\u8981\u6539&#xff1b;<\/li>\n<li>\/boot\/efi\/boot\/EFI\/grub.cfg \u2014\u2014 \u7ea6 10.6 KB&#xff0c;\u771f\u6b63\u7684\u542f\u52a8\u83dc\u5355&#xff0c;\u6539\u8fd9\u4e2a\u3002<\/li>\n<\/ul>\n<p>vfat \u6587\u4ef6\u7cfb\u7edf\u5927\u5c0f\u5199\u4e0d\u654f\u611f&#xff0c;\/boot\/efi\/boot\/EFI\/grub.cfg \u4e0e \/boot\/efi\/BOOT\/EFI\/grub.cfg \u662f\u540c\u4e00\u4e2a\u6587\u4ef6&#xff0c;\u7528 ls -l \u770b\u5927\u5c0f\u5373\u53ef\u533a\u5206\u3002<\/p>\n<p>\u6062\u590d\u6a21\u5f0f\u90a3\u4e00\u884c\u4e0d\u542b quiet splash loglevel&#061;0&#xff0c;\u4e0a\u9762\u7684 sed \u4e0d\u4f1a\u6539\u5230\u5b83\u3002\u5982\u9700\u4e00\u5e76\u5904\u7406&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">sed<\/span> <span class=\"token parameter variable\">-i<\/span> <span class=\"token string\">&#039;s\/single nomodeset\/single nomodeset acpi&#061;off initcall_blacklist&#061;nct6102_gpio_setup,loongson_ls7a_hwmon_init console&#061;ttyS0,115200 loglevel&#061;7\/&#039;<\/span> \/boot\/efi\/boot\/EFI\/grub.cfg<\/p>\n<p>\u540c\u65f6\u5efa\u8bae\u628a \/etc\/default\/grub \u4e5f\u6539\u6210\u4e00\u81f4&#xff0c;\u907f\u514d\u4e24\u4efd\u914d\u7f6e\u4e92\u76f8\u8bef\u5bfc&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">cp<\/span> \/etc\/default\/grub \/etc\/default\/grub.bak<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">sed<\/span> <span class=\"token parameter variable\">-i<\/span> <span class=\"token string\">&#039;s\/^GRUB_CMDLINE_LINUX_DEFAULT&#061;.*\/GRUB_CMDLINE_LINUX_DEFAULT&#061;&#034;quiet splash acpi&#061;off initcall_blacklist&#061;nct6102_gpio_setup,loongson_ls7a_hwmon_init console&#061;ttyS0,115200&#034;\/&#039;<\/span> \/etc\/default\/grub<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">update-grub<\/span><\/p>\n<h4>9.3 \u9a8c\u8bc1\u53c2\u6570\u662f\u5426\u751f\u6548<\/h4>\n<p><span class=\"token function\">cat<\/span> \/proc\/cmdline<\/p>\n<p>\u9884\u671f\u8f93\u51fa\u5e94\u5305\u542b&#xff1a;<\/p>\n<p>&#8230; quiet splash acpi&#061;off initcall_blacklist&#061;nct6102_gpio_setup,loongson_ls7a_hwmon_init console&#061;ttyS0,115200 loglevel&#061;7 &#8230;<\/p>\n<p>\u7136\u540e\u5b8c\u6574\u91cd\u542f\u4e00\u6b21&#xff0c;\u4e0d\u8981\u6309 e \u4fee\u6539&#xff0c;\u786e\u8ba4\u80fd\u76f4\u63a5\u8fdb\u5165\u684c\u9762\u5373\u53ef\u3002<\/p>\n<p>\u6ce8\u610f&#xff1a;\u4ee5\u540e\u5185\u6838\u5347\u7ea7\u6216\u518d\u6b21\u6267\u884c update-grub \u65f6&#xff0c;EFI \u5206\u533a\u91cc\u7684\u90a3\u4efd grub.cfg \u4e0d\u4f1a\u88ab\u81ea\u52a8\u66f4\u65b0&#xff0c;\u9700\u8981\u91cd\u65b0\u6267\u884c 9.2 \u8282\u7b2c 3 \u6b65\u3002<\/p>\n<hr \/>\n<h3>\u5341\u3001\u65e5\u5e38\u542f\u52a8\u811a\u672c<\/h3>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u628a\u5149\u9a71\u76f8\u5173\u53c2\u6570\u53bb\u6389&#xff0c;\u6574\u7406\u6210\u4e00\u4e2a\u542f\u52a8\u811a\u672c\u3002\u5728 E:\\\\qemu\\\\qvm \u4e0b\u65b0\u5efa start_loongarch64.bat&#xff1a;<\/p>\n<p>&#064;echo off<br \/>\nchcp 936 &gt;nul<br \/>\nsetlocal<\/p>\n<p>REM &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nREM  \u94f6\u6cb3\u9e92\u9e9f V10 SP1 2403 (LoongArch64) \u65e5\u5e38\u542f\u52a8\u811a\u672c<br \/>\nREM  \u5173\u952e\u70b9&#xff1a;<br \/>\nREM    -cpu la464-loongarch-cpu   LoongArch \u5904\u7406\u5668\u6a21\u578b<br \/>\nREM    -device virtio-gpu-pci     \u5fc5\u987b\u4f7f\u7528 virtio \u663e\u5361<br \/>\nREM    -smp 4 &#043; tb-size&#061;1024      \u591a\u7ebf\u7a0b TCG \u63d0\u901f<br \/>\nREM    -serial file:&#8230;           \u4fdd\u5b58\u5185\u6838\u65e5\u5fd7&#xff0c;\u4fbf\u4e8e\u6392\u969c<br \/>\nREM  \u5185\u6838\u53c2\u6570\u5df2\u56fa\u5316\u5728 EFI \u5206\u533a\u7684 grub.cfg \u4e2d<br \/>\nREM &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/p>\n<p>set &#034;QEMU_EXE&#061;%~dp0..\\\\qemu-system-loongarch64.exe&#034;<br \/>\nset &#034;FIRMWARE&#061;%~dp0..\\\\bios\\\\loongarch64\\\\QEMU_EFI.fd&#034;<br \/>\nset &#034;DISK&#061;%~dp0kylin_loongarch64.img&#034;<br \/>\nset &#034;SERIAL_LOG&#061;%~dp0..\\\\serial.log&#034;<\/p>\n<p>if not exist &#034;%QEMU_EXE%&#034; (<br \/>\n    echo [\u9519\u8bef] \u627e\u4e0d\u5230 QEMU \u7a0b\u5e8f: %QEMU_EXE%<br \/>\n    pause<br \/>\n    exit \/b 1<br \/>\n)<br \/>\nif not exist &#034;%FIRMWARE%&#034; (<br \/>\n    echo [\u9519\u8bef] \u627e\u4e0d\u5230 LoongArch \u56fa\u4ef6: %FIRMWARE%<br \/>\n    pause<br \/>\n    exit \/b 1<br \/>\n)<br \/>\nif not exist &#034;%DISK%&#034; (<br \/>\n    echo [\u9519\u8bef] \u627e\u4e0d\u5230\u7cfb\u7edf\u78c1\u76d8: %DISK%<br \/>\n    pause<br \/>\n    exit \/b 1<br \/>\n)<\/p>\n<p>cd \/d &#034;%~dp0..&#034;<\/p>\n<p>echo \u6b63\u5728\u542f\u52a8 \u94f6\u6cb3\u9e92\u9e9f V10 SP1 2403 (LoongArch64) &#8230;<br \/>\necho \u63d0\u793a: \u7eaf TCG \u6a21\u62df\u542f\u52a8\u8f83\u6162&#xff0c;\u8bf7\u8010\u5fc3\u7b49\u5f85\u3002<br \/>\necho \u5185\u6838\u65e5\u5fd7: %SERIAL_LOG%<br \/>\necho.<\/p>\n<p>&#034;%QEMU_EXE%&#034; ^<br \/>\n  -M virt ^<br \/>\n  -cpu la464-loongarch-cpu ^<br \/>\n  -smp 4 ^<br \/>\n  -m 4G ^<br \/>\n  &#8211;accel tcg,thread&#061;multi,tb-size&#061;1024 ^<br \/>\n  -bios &#034;%FIRMWARE%&#034; ^<br \/>\n  -rtc base&#061;localtime ^<br \/>\n  -display sdl ^<br \/>\n  -device virtio-gpu-pci ^<br \/>\n  -device nec-usb-xhci ^<br \/>\n  -device usb-tablet ^<br \/>\n  -device usb-kbd ^<br \/>\n  -drive &#034;if&#061;virtio,file&#061;%DISK%,id&#061;hd0,format&#061;raw,media&#061;disk&#034; ^<br \/>\n  -netdev user,id&#061;n0,hostfwd&#061;tcp::2223-:22 ^<br \/>\n  -device virtio-net-pci,netdev&#061;n0 ^<br \/>\n  -serial &#034;file:%SERIAL_LOG%&#034;<\/p>\n<p>echo.<br \/>\necho \u865a\u62df\u673a\u5df2\u9000\u51fa\u3002<br \/>\npause<\/p>\n<p>\u65e5\u5e38\u4f7f\u7528\u53ea\u9700\u53cc\u51fb\u8fd9\u4e2a\u811a\u672c\u5373\u53ef\u3002SSH \u8fde\u63a5\u65b9\u5f0f&#xff1a;<\/p>\n<p>ssh -p 2223 ky-loong&#064;127.0.0.1<\/p>\n<p>\u524d\u63d0\u662f\u5ba2\u6237\u673a\u5185\u5df2\u5b89\u88c5\u5e76\u542f\u52a8 openssh-server\u3002<\/p>\n<hr \/>\n<h3>\u5341\u4e00\u3001\u9a8c\u8bc1\u5b89\u88c5\u7ed3\u679c<\/h3>\n<h4>11.1 \u4e32\u53e3\u65e5\u5fd7<\/h4>\n<p>E:\\\\qemu\\\\serial.log \u4e2d\u5e94\u51fa\u73b0\u7c7b\u4f3c\u5185\u5bb9&#xff1a;<\/p>\n<p>Kernel command line: &#8230; quiet splash acpi&#061;off initcall_blacklist&#061;nct6102_gpio_setup,loongson_ls7a_hwmon_init console&#061;ttyS0,115200 loglevel&#061;7 &#8230;<br \/>\nConsole: switching to colour frame buffer device 160&#215;50<br \/>\n[drm] pci: virtio-gpu-pci detected at 0000:00:01.0<br \/>\n[drm] Initialized virtio_gpu 0.1.0 0 for virtio0 on minor 0<br \/>\nvirtio_gpu virtio0: fb0: virtio_gpudrmfb frame buffer device<br \/>\nsystemd[1]: Detected architecture loongarch64.<br \/>\nsystemd[1]: Set hostname to &lt;kylin&gt;.<br \/>\nStarted Light Display Manager.<br \/>\nStarted Serial Getty on ttyS0<br \/>\nKylin V10 SP1 kylin ttyS0<br \/>\nkylin login:<\/p>\n<p>\u51e0\u4e2a\u5173\u952e\u6807\u5fd7&#xff1a;<\/p>\n<ul>\n<li>virtio_gpudrmfb frame buffer device&#xff1a;\u663e\u5361\u9a71\u52a8\u6b63\u5e38&#xff1b;<\/li>\n<li>Detected architecture loongarch64&#xff1a;\u7528\u6237\u6001\u5df2\u6b63\u5e38\u8fd0\u884c&#xff1b;<\/li>\n<li>kylin login:&#xff1a;\u7cfb\u7edf\u8fdb\u5165\u767b\u5f55\u754c\u9762&#xff1b;<\/li>\n<li>\u65e5\u5fd7\u4e2d\u4e0d\u518d\u51fa\u73b0 Kernel panic\u3002<\/li>\n<\/ul>\n<h4>11.2 \u684c\u9762\u4e0e CPU \u4fe1\u606f<\/h4>\n<p>\u8fdb\u5165\u684c\u9762\u540e\u6253\u5f00\u7ec8\u7aef&#xff1a;<\/p>\n<p>arch<br \/>\nlscpu<\/p>\n<p>\u5e94\u5206\u522b\u8f93\u51fa loongarch64 \u548c Loongson-3A5000 \u76f8\u5173\u4fe1\u606f&#xff0c;\u4e0e\u672c\u6587\u5f00\u5934\u7684\u622a\u56fe\u4e00\u81f4\u3002<\/p>\n<h4>11.3 \u78c1\u76d8\u8bc6\u522b<\/h4>\n<p>\u5b89\u88c5\u5668\u6216\u7cfb\u7edf\u4e2d\u5e94\u80fd\u770b\u5230 virtio \u78c1\u76d8&#xff1a;<\/p>\n<p>lsblk<\/p>\n<p>\u8bbe\u5907\u540d\u901a\u5e38\u662f vda&#xff0c;\u5bf9\u5e94\u5bbf\u4e3b\u673a\u7684 E:\\\\qemu\\\\qvm\\\\kylin_loongarch64.img\u3002<\/p>\n<hr \/>\n<h3>\u5341\u4e8c\u3001\u5e38\u89c1\u95ee\u9898&#xff08;\u8e29\u5751\u8bb0\u5f55&#xff09;<\/h3>\n<h4>Q1&#xff1a;\u542f\u52a8\u62a5 A &#039;virtio-bus&#039; bus was found but is full<\/h4>\n<p>\u5b8c\u6574\u62a5\u9519&#xff1a;<\/p>\n<p>qemu-system-loongarch64.exe: -device virtio-scsi-device: A &#039;virtio-bus&#039; bus was found but is full<\/p>\n<p>\u539f\u56e0&#xff1a;virtio-scsi-device \u662f\u4e0d\u5e26\u4f20\u8f93\u5c42\u7684 MMIO \u7248\u8bbe\u5907&#xff0c;\u9700\u8981\u6302\u5230\u540d\u4e3a virtio-bus \u7684\u603b\u7ebf\u4e0a&#xff0c;\u800c\u6bcf\u6761 virtio \u603b\u7ebf\u53ea\u6709\u4e00\u4e2a\u69fd\u4f4d\u3002LoongArch \u7684 virt \u673a\u5668\u4e0d\u63d0\u4f9b virtio-mmio&#xff0c;QEMU \u9012\u5f52\u67e5\u627e\u65f6\u547d\u4e2d\u7684\u662f\u9ed8\u8ba4\u7f51\u5361 virtio-net-pci \u5185\u90e8\u90a3\u6761\u5df2\u88ab\u5360\u6ee1\u7684\u603b\u7ebf\u3002<\/p>\n<p>\u89e3\u51b3&#xff1a;\u6539\u7528 PCI \u7248\u672c&#xff1a;<\/p>\n<p>-device virtio-scsi-pci,id&#061;scsi<br \/>\n-device scsi-cd,drive&#061;cdrom,bus&#061;scsi.0<\/p>\n<h4>Q2&#xff1a;\u62a5 No &#039;virtio-bus&#039; bus found for device &#039;virtio-scsi-device&#039;<\/h4>\n<p>\u540c\u6837\u662f\u7528\u4e86 MMIO \u7248 virtio \u8bbe\u5907\u3002LoongArch virt \u6ca1\u6709 virtio-mmio&#xff0c;\u6240\u6709 virtio \u8bbe\u5907\u90fd\u8981\u7528 -pci \u540e\u7f00\u3002<\/p>\n<h4>Q3&#xff1a;\u9009\u62e9\u5b89\u88c5\u540e\u4e00\u76f4\u9ed1\u5c4f&#xff0c;\u4e32\u53e3\u4e5f\u6ca1\u6709\u8f93\u51fa<\/h4>\n<p>\u8fd9\u662f\u672c\u6587\u7684\u6838\u5fc3\u5751&#xff0c;\u539f\u56e0\u4e0d\u662f\u6162&#xff0c;\u800c\u662f\u5185\u6838 panic&#xff1a;<\/p>\n<ul>\n<li>\u677f\u7ea7\u9a71\u52a8 nct6102_gpio_setup\u3001loongson_ls7a_hwmon_init \u8bbf\u95ee\u4e0d\u5b58\u5728\u7684\u786c\u4ef6&#xff0c;\u89e6\u53d1 ADE&#xff1b;<\/li>\n<li>\u5185\u6838\u6ca1\u6709\u6ce8\u518c\u63a7\u5236\u53f0&#xff0c;\u6240\u4ee5\u5c4f\u5e55\u548c\u4e32\u53e3\u90fd\u770b\u4e0d\u5230\u4efb\u4f55\u4fe1\u606f\u3002<\/li>\n<\/ul>\n<p>\u89e3\u51b3&#xff1a;acpi&#061;off &#043; initcall_blacklist&#061;nct6102_gpio_setup,loongson_ls7a_hwmon_init &#043; -device virtio-gpu-pci\u3002<\/p>\n<p>\u5982\u679c\u8df3\u8fc7\u7b2c\u4e00\u4e2a\u9a71\u52a8\u540e\u53c8\u5728\u53e6\u4e00\u4e2a\u9a71\u52a8 panic&#xff0c;\u5728 oops \u7684 Call Trace \u91cc\u627e\u5230\u51fd\u6570\u540d&#xff08;\u4e0d\u5e26 &#043;0x&#8230; \u504f\u79fb&#xff09;&#xff0c;\u8ffd\u52a0\u5230 initcall_blacklist&#061; \u4e2d&#xff0c;\u9017\u53f7\u5206\u9694\u3002<\/p>\n<h4>Q4&#xff1a;\u52a0\u4e86 console&#061;ttyS0,115200&#xff0c;\u4f46\u4e32\u53e3\u65e5\u5fd7\u4ecd\u7136\u6ca1\u6709\u5185\u6838\u8f93\u51fa<\/h4>\n<p>\u56e0\u4e3a\u6ca1\u52a0 acpi&#061;off \u65f6&#xff0c;\u5185\u6838\u8d70 ACPI \u8def\u5f84&#xff0c;8250 \u4e32\u53e3\u63a7\u5236\u53f0\u6ca1\u6709\u6ce8\u518c\u4e0a&#xff08;\u65e5\u5fd7\u91cc\u4f1a\u663e\u793a Console: colour dummy device 80&#215;25&#xff09;\u3002\u5fc5\u987b\u540c\u65f6\u52a0 acpi&#061;off&#xff0c;\u65e5\u5fd7\u91cc\u624d\u4f1a\u51fa\u73b0 console [ttyS0] enabled\u3002<\/p>\n<h4>Q5&#xff1a;\u5b89\u88c5\u540e\u6539\u4e86\u53c2\u6570\u5e76\u6267\u884c update-grub&#xff0c;\u91cd\u542f\u8fd8\u662f\u9ed1\u5c4f<\/h4>\n<p>update-grub \u53ea\u66f4\u65b0 \/boot \u5206\u533a\u91cc\u7684 \/grub\/grub.cfg&#xff0c;\u800c\u5b9e\u9645\u542f\u52a8\u8bfb\u53d6\u7684\u662f EFI \u5206\u533a\u7684 \/boot\/efi\/boot\/EFI\/grub.cfg\u3002\u8bf7\u6309 9.2 \u8282\u76f4\u63a5\u4fee\u6539\u8be5\u6587\u4ef6\u3002<\/p>\n<h4>Q6&#xff1a;-device VGA \u4e3a\u4ec0\u4e48\u4e0d\u884c<\/h4>\n<p>\u8be5\u5185\u6838\u6ca1\u6709 Bochs VGA \u9a71\u52a8&#xff08;\u5185\u6838\u955c\u50cf\u4e2d\u641c\u4e0d\u5230 bochs \u5173\u952e\u5b57&#xff09;&#xff0c;\u6240\u4ee5\u4f20\u7edf VGA \u8bbe\u5907\u53ea\u80fd\u5f97\u5230\u9ed1\u5c4f\u3002\u5fc5\u987b\u7528 -device virtio-gpu-pci&#xff0c;\u8ba9\u5185\u6838\u7684 virtio_gpu \u6a21\u5757\u63d0\u4f9b DRM \u5e27\u7f13\u51b2\u3002<\/p>\n<h4>Q7&#xff1a;\u865a\u62df\u673a\u975e\u5e38\u6162<\/h4>\n<p>LoongArch \u5728 x86 \u5bbf\u4e3b\u4e0a\u53ea\u80fd\u7eaf TCG \u6a21\u62df&#xff0c;\u6ca1\u6709 KVM\u3002\u53ef\u505a\u7684\u4f18\u5316&#xff1a;<\/p>\n<ul>\n<li>\u5fc5\u987b\u5199 -smp 4&#xff0c;\u5426\u5219\u53ea\u6709\u5355 vCPU&#xff1b;<\/li>\n<li>\u4f7f\u7528 &#8211;accel tcg,thread&#061;multi,tb-size&#061;1024&#xff1b;<\/li>\n<li>\u5185\u5b58 4 GB \u5373\u53ef&#xff0c;\u4e0d\u5fc5\u76f2\u76ee\u52a0\u5927&#xff1b;<\/li>\n<li>\u5173\u95ed\u5bbf\u4e3b\u673a\u4e0a\u5360\u7528 CPU \u7684\u5176\u4ed6\u7a0b\u5e8f\u3002<\/li>\n<\/ul>\n<h4>Q8&#xff1a;\u65e0\u6cd5\u5173\u673a \/ poweroff \u540e QEMU \u4e0d\u9000\u51fa<\/h4>\n<p>acpi&#061;off \u4e0b ACPI \u5173\u673a\u53ef\u80fd\u4e0d\u751f\u6548\u3002\u76f4\u63a5\u5728 Windows \u4fa7\u5173\u95ed QEMU \u7a97\u53e3\u5373\u53ef\u3002<\/p>\n<h4>Q9&#xff1a;\u542f\u52a8\u65e5\u5fd7\u91cc\u51fa\u73b0 parport_pc \u7684 ADE \u8c03\u7528\u6808<\/h4>\n<p>\u5b9e\u6d4b\u4e32\u53e3\u65e5\u5fd7\u4e2d\u53ef\u80fd\u51fa\u73b0\u4e00\u6761\u7c7b\u4f3c\u4e0b\u9762\u7684 trace&#xff1a;<\/p>\n<p>Kernel ade access[#1]:<br \/>\n&#8230;<br \/>\nCall Trace:<br \/>\n [&lt;&#8230;&gt;] parport_pc_probe_port&#043;0x460\/0x15d8 [parport_pc]<br \/>\n [&lt;&#8230;&gt;] parport_pc_init&#043;0x49c\/0x568 [parport_pc]<br \/>\n&#8230;<br \/>\nKylin V10 SP1 ky-loong-pc ttyS0<br \/>\nky-loong-pc login:<\/p>\n<p>\u8fd9\u662f\u7cfb\u7edf\u542f\u52a8\u540e\u671f\u52a0\u8f7d parport_pc \u6a21\u5757\u65f6\u63a2\u6d4b\u5e76\u53e3\u786c\u4ef6\u4ea7\u751f\u7684\u975e\u81f4\u547d\u5f02\u5e38&#xff0c;\u7cfb\u7edf\u4ecd\u80fd\u6b63\u5e38\u8fdb\u5165\u767b\u5f55\u754c\u9762\u548c\u684c\u9762\u3002\u82e5\u89c9\u5f97\u65e5\u5fd7\u5237\u5c4f&#xff0c;\u53ef\u4ee5\u5728 \/etc\/modprobe.d\/ \u4e2d\u628a parport_pc \u52a0\u5165\u9ed1\u540d\u5355&#xff0c;\u4f46\u4e0d\u5f71\u54cd\u4f7f\u7528&#xff0c;\u53ef\u5ffd\u7565\u3002<\/p>\n<h4>Q10&#xff1a;SSH \u8fde\u63a5 2223 \u7aef\u53e3\u88ab\u62d2\u7edd<\/h4>\n<p>\u68c0\u67e5\u542f\u52a8\u547d\u4ee4\u91cc\u662f\u5426\u5305\u542b&#xff1a;<\/p>\n<p>-netdev user,id&#061;n0,hostfwd&#061;tcp::2223-:22<\/p>\n<p>\u6ca1\u6709 hostfwd \u65f6\u5bbf\u4e3b\u673a\u4e0d\u4f1a\u76d1\u542c 2223 \u7aef\u53e3\u3002\u4e5f\u53ef\u4ee5\u5728 QEMU \u7a97\u53e3\u4e2d\u6309 Ctrl&#043;Alt&#043;2 \u8fdb\u5165 monitor&#xff0c;\u6267\u884c&#xff1a;<\/p>\n<p>hostfwd_add n0 tcp::2223-:22<\/p>\n<p>\u518d\u6309 Ctrl&#043;Alt&#043;1 \u8fd4\u56de\u56fe\u5f62\u754c\u9762\u3002<\/p>\n<h4>Q11&#xff1a;GRUB \u83dc\u5355\u4e00\u95ea\u800c\u8fc7&#xff0c;\u6765\u4e0d\u53ca\u64cd\u4f5c<\/h4>\n<p>\u5f00\u673a\u540e\u7acb\u523b\u8fde\u6309 Esc\u3002\u8c03\u51fa\u83dc\u5355\u540e\u518d\u6309 e&#xff08;\u7f16\u8f91&#xff09;\u6216 c&#xff08;\u547d\u4ee4\u884c&#xff09;\u3002<\/p>\n<h4>Q12&#xff1a;\u80fd\u5426\u7528 KVM \u52a0\u901f<\/h4>\n<p>\u4e0d\u80fd\u3002KVM \u53ea\u80fd\u5728\u540c\u67b6\u6784&#xff08;x86 \u5bbf\u4e3b\u8dd1 x86 \u5ba2\u6237\u673a&#xff09;\u65f6\u4f7f\u7528\u3002LoongArch \u5ba2\u6237\u673a\u5728 x86 \u5bbf\u4e3b\u4e0a\u53ea\u80fd TCG \u6a21\u62df\u3002<\/p>\n<hr \/>\n<h3>\u5341\u4e09\u3001\u603b\u7ed3<\/h3>\n<p>\u56de\u987e\u6574\u4e2a\u6d41\u7a0b&#xff0c;\u771f\u6b63\u5bb9\u6613\u5361\u4f4f\u7684\u53ea\u6709\u4e09\u70b9&#xff1a;<\/p>\n<li>virtio \u8bbe\u5907\u8981\u7528 PCI \u7248&#xff1a;virtio-scsi-pci\u3001virtio-gpu-pci\u3001virtio-net-pci&#xff0c;\u4e0d\u8981\u7528 MMIO \u7248&#xff1b;<\/li>\n<li>\u5b89\u88c5\u548c\u542f\u52a8\u90fd\u5fc5\u987b\u5e26\u5185\u6838\u53c2\u6570&#xff1a;acpi&#061;off \u548c initcall_blacklist&#061;nct6102_gpio_setup,loongson_ls7a_hwmon_init&#xff0c;\u5426\u5219\u677f\u7ea7\u9a71\u52a8\u4f1a\u8ba9\u5185\u6838 panic&#xff0c;\u8868\u73b0\u4e3a\u6c38\u4e45\u9ed1\u5c4f&#xff1b;<\/li>\n<li>\u56fa\u5316\u53c2\u6570\u8981\u6539 EFI \u5206\u533a\u7684 grub.cfg&#xff0c;update-grub \u6539\u7684\u90a3\u4efd\u4e0d\u751f\u6548\u3002<\/li>\n<p>\u5269\u4e0b\u7684\u5c31\u662f\u8010\u5fc3&#xff1a;TCG \u6a21\u62df\u9f99\u82af 3A5000 \u901f\u5ea6\u6709\u9650&#xff0c;\u5b89\u88c5\u8fc7\u7a0b\u53ef\u80fd\u9700\u8981\u51e0\u5341\u5206\u949f\u3002\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u4f60\u5c31\u80fd\u5728 Windows \u4e0a\u5f97\u5230\u4e00\u4e2a\u53ef\u7528\u7684 loongarch64 \u9e92\u9e9f\u684c\u9762\u73af\u5883&#xff0c;\u7528\u4e8e\u56fd\u4ea7\u5316\u8f6f\u4ef6\u9002\u914d\u3001\u4ea4\u53c9\u9a8c\u8bc1\u6216\u6559\u5b66\u6f14\u793a\u3002<\/p>\n<p>\u5982\u679c\u53ea\u662f\u60f3\u8981\u4e00\u4e2a\u80fd\u8dd1\u7684 LoongArch \u73af\u5883\u3001\u4e0d\u9650\u5b9a\u9e92\u9e9f\u7248\u672c&#xff0c;\u4e5f\u53ef\u4ee5\u8003\u8651 Arch Linux LoongArch \u7684 qcow2 \u955c\u50cf\u6216 Debian 12 loong64&#xff0c;\u5b83\u4eec\u5728 QEMU \u4e0a\u7684\u517c\u5bb9\u6027\u66f4\u597d\u3001\u5f00\u7bb1\u5373\u7528\u3002\u4f46\u5982\u679c\u4f60\u9700\u8981\u7684\u662f\u94f6\u6cb3\u9e92\u9e9f V10 SP1 2403 \u7684\u771f\u5b9e\u73af\u5883&#xff0c;\u672c\u6587\u8fd9\u5957\u65b9\u6848\u662f\u5b9e\u6d4b\u53ef\u884c\u7684\u3002<\/p>\n<hr \/>\n<h3>\u53c2\u8003\u94fe\u63a5<\/h3>\n<ul>\n<li>\u94f6\u6cb3\u9e92\u9e9f V10 SP1 2403 LoongArch64 ISO&#xff1a; https:\/\/iso.kylinos.cn\/web_pungi\/download\/cdn\/5aVgLwmAlH4Y6CD3uIXP01noizhS8xGE\/Kylin-Desktop-V10-SP1-2403-Release-20240506-loongarch64.iso<\/li>\n<li>LoongArch UEFI \u56fa\u4ef6&#xff08;loongson\/Firmware&#xff09;&#xff1a; https:\/\/github.com\/loongson\/Firmware\/blob\/SubmitMultiArch\/LoongArchVirtMachine\/QEMU_EFI.fd<\/li>\n<li>QEMU for Windows&#xff1a; https:\/\/qemu.weilnetz.de\/w64\/qemu-w64-setup-20260422.exe<\/li>\n<li>QEMU \u5b98\u65b9\u6587\u6863&#xff1a;https:\/\/www.qemu.org\/docs\/master\/<\/li>\n<\/ul>\n<hr \/>\n<p>\u6807\u7b7e\u5efa\u8bae&#xff1a;QEMU\u3001\u94f6\u6cb3\u9e92\u9e9f\u3001LoongArch\u3001\u9f99\u82af\u3001\u865a\u62df\u5316\u3001Linux\u3001Windows<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows \u4e0a\u4f7f\u7528 QEMU \u5b89\u88c5 loongarch64 \u67b6\u6784\u94f6\u6cb3\u9e92\u9e9f V10 SP1 2403 \u865a\u62df\u673a&#xff08;\u5b8c\u6574\u5b9e\u5f55&#xff09; \u672c\u6587\u8bb0\u5f55\u5728 Windows 11&#xff08;x86_64&#xff09;\u5bbf\u4e3b\u673a\u4e0a&#xff0c;\u7528 QEMU 11.0.0 \u5b89\u88c5\u5e76\u8fd0\u884c\u300c\u94f6\u6cb3\u9e92\u9e9f\u684c\u9762\u64cd\u4f5c\u7cfb\u7edf V10 SP1 2403 LoongArch64\u300d\u7684\u5168\u8fc7\u7a0b\u3002 \u5305\u62ec\u955c\u50cf\/\u56fa\u4ef6\u4e0b\u8f7d\u3001\u865a\u62df\u78c1\u76d8\u521b\u5efa\u3001\u542f\u52a8\u547d\u4ee4\u3001GRUB \u53c2\u6570\u3001\u5b89\u88c5\u540e\u53c2\u6570\u56fa\u5316\u3001\u907f\u5751\u4e0e\u9a8c\u8bc1\u3002 \u5168\u7a0b\u7eaf TCG<\/p>\n","protected":false},"author":2,"featured_media":117486,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[322,58,149],"topic":[],"class_list":["post-117491","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-kylin","tag-linux","tag-windows"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Windows \u4e0a\u4f7f\u7528 QEMU \u5b89\u88c5 loongarch64 \u67b6\u6784\u94f6\u6cb3\u9e92\u9e9f V10 SP1 2403 \u865a\u62df\u673a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/117491.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Windows \u4e0a\u4f7f\u7528 QEMU \u5b89\u88c5 loongarch64 \u67b6\u6784\u94f6\u6cb3\u9e92\u9e9f V10 SP1 2403 \u865a\u62df\u673a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"Windows \u4e0a\u4f7f\u7528 QEMU \u5b89\u88c5 loongarch64 \u67b6\u6784\u94f6\u6cb3\u9e92\u9e9f V10 SP1 2403 \u865a\u62df\u673a&#xff08;\u5b8c\u6574\u5b9e\u5f55&#xff09; \u672c\u6587\u8bb0\u5f55\u5728 Windows 11&#xff08;x86_64&#xff09;\u5bbf\u4e3b\u673a\u4e0a&#xff0c;\u7528 QEMU 11.0.0 \u5b89\u88c5\u5e76\u8fd0\u884c\u300c\u94f6\u6cb3\u9e92\u9e9f\u684c\u9762\u64cd\u4f5c\u7cfb\u7edf V10 SP1 2403 LoongArch64\u300d\u7684\u5168\u8fc7\u7a0b\u3002 \u5305\u62ec\u955c\u50cf\/\u56fa\u4ef6\u4e0b\u8f7d\u3001\u865a\u62df\u78c1\u76d8\u521b\u5efa\u3001\u542f\u52a8\u547d\u4ee4\u3001GRUB \u53c2\u6570\u3001\u5b89\u88c5\u540e\u53c2\u6570\u56fa\u5316\u3001\u907f\u5751\u4e0e\u9a8c\u8bc1\u3002 \u5168\u7a0b\u7eaf TCG\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/117491.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-24T15:48:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261024154841-6adcd359e5c2c.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/117491.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/117491.html\",\"name\":\"Windows \u4e0a\u4f7f\u7528 QEMU \u5b89\u88c5 loongarch64 \u67b6\u6784\u94f6\u6cb3\u9e92\u9e9f V10 SP1 2403 \u865a\u62df\u673a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-24T15:48:45+00:00\",\"dateModified\":\"2026-10-24T15:48:45+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/117491.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/117491.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/117491.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Windows \u4e0a\u4f7f\u7528 QEMU \u5b89\u88c5 loongarch64 \u67b6\u6784\u94f6\u6cb3\u9e92\u9e9f V10 SP1 2403 \u865a\u62df\u673a\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Windows \u4e0a\u4f7f\u7528 QEMU \u5b89\u88c5 loongarch64 \u67b6\u6784\u94f6\u6cb3\u9e92\u9e9f V10 SP1 2403 \u865a\u62df\u673a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/117491.html","og_locale":"zh_CN","og_type":"article","og_title":"Windows \u4e0a\u4f7f\u7528 QEMU \u5b89\u88c5 loongarch64 \u67b6\u6784\u94f6\u6cb3\u9e92\u9e9f V10 SP1 2403 \u865a\u62df\u673a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"Windows \u4e0a\u4f7f\u7528 QEMU \u5b89\u88c5 loongarch64 \u67b6\u6784\u94f6\u6cb3\u9e92\u9e9f V10 SP1 2403 \u865a\u62df\u673a&#xff08;\u5b8c\u6574\u5b9e\u5f55&#xff09; \u672c\u6587\u8bb0\u5f55\u5728 Windows 11&#xff08;x86_64&#xff09;\u5bbf\u4e3b\u673a\u4e0a&#xff0c;\u7528 QEMU 11.0.0 \u5b89\u88c5\u5e76\u8fd0\u884c\u300c\u94f6\u6cb3\u9e92\u9e9f\u684c\u9762\u64cd\u4f5c\u7cfb\u7edf V10 SP1 2403 LoongArch64\u300d\u7684\u5168\u8fc7\u7a0b\u3002 \u5305\u62ec\u955c\u50cf\/\u56fa\u4ef6\u4e0b\u8f7d\u3001\u865a\u62df\u78c1\u76d8\u521b\u5efa\u3001\u542f\u52a8\u547d\u4ee4\u3001GRUB \u53c2\u6570\u3001\u5b89\u88c5\u540e\u53c2\u6570\u56fa\u5316\u3001\u907f\u5751\u4e0e\u9a8c\u8bc1\u3002 \u5168\u7a0b\u7eaf TCG","og_url":"https:\/\/www.wsisp.com\/helps\/117491.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-24T15:48:45+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261024154841-6adcd359e5c2c.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"11 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/117491.html","url":"https:\/\/www.wsisp.com\/helps\/117491.html","name":"Windows \u4e0a\u4f7f\u7528 QEMU \u5b89\u88c5 loongarch64 \u67b6\u6784\u94f6\u6cb3\u9e92\u9e9f V10 SP1 2403 \u865a\u62df\u673a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-24T15:48:45+00:00","dateModified":"2026-10-24T15:48:45+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/117491.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/117491.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/117491.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Windows \u4e0a\u4f7f\u7528 QEMU \u5b89\u88c5 loongarch64 \u67b6\u6784\u94f6\u6cb3\u9e92\u9e9f V10 SP1 2403 \u865a\u62df\u673a"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/117491","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=117491"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/117491\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/117486"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=117491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=117491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=117491"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=117491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}