차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

linuxfromscratch:qemu [2025/12/06 13:05] – 만듦 baecylinuxfromscratch:qemu [2025/12/13 14:15] (현재) baecy
줄 1: 줄 1:
 ==== Qemu 명령줄 ==== ==== Qemu 명령줄 ====
  
-<code>qemu-system-x86_64 -accel whpx,kernel-irqchip=off -m 4G -smp 4 +lfs-12.4-vm.bat 
--drive file=temp_boot,index=0 -drive file=lfs-12.4,index=1 -drive file=lfs-swap,format=raw,index=2 + 
--device virtio-net-pci,netdev=vnet0 -netdev user,id=vnet0,hostfwd=tcp::2222-:22</code>+<code bat>qemu-system-x86_64 
 +-accel whpx,kernel-irqchip=off -m 4G -smp 4 ^ 
 +-device virtio-net-pci,netdev=vnet0 -netdev user,id=vnet0,hostfwd=tcp::2222-:22 
 +-drive if=virtio,index=0,media=disk,file=host_disk.qcow2 ^ 
 +-drive if=virtio,index=1,media=disk,file=lfs_disk.qcow2 ^ 
 +-drive if=virtio,index=2,media=disk,file=lfs_swap.qcow2 
 +</code>
  
   * 가상 CPU 설정    * 가상 CPU 설정 
줄 10: 줄 16:
     * -m 4G     * -m 4G
   * Storage 설정   * Storage 설정
-    * -drive file=<file_name>,format=<type>,index=<order>+    * -drive if=virtio,index=0,media=disk,file=host_disk.qcow2 ^ 
 +    * -drive if=virtio,index=1,media=disk,file=lfs_disk.qcow2 ^ 
 +    * -drive if=virtio,index=2,media=disk,file=lfs_swap.qcow2
   * Network 설정   * Network 설정
     * -device virtio-net-pci,netdev=vnet0     * -device virtio-net-pci,netdev=vnet0
     * -netdev user,id=vnet0,hostfwd=tcp::2222-:22     * -netdev user,id=vnet0,hostfwd=tcp::2222-:22
  • linuxfromscratch/qemu.txt
  • 마지막으로 수정됨: 2025/12/13 14:15
  • 저자 baecy