Site Tools


chuleta_kvm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
chuleta_kvm [2022/03/29 20:26] – [Ubuntu + KVM + VNC] etfiatchuleta_kvm [2023/03/17 17:00] (current) – [Modos de red] etfiat
Line 56: Line 56:
   * El arranque correcto con vnc requiere quitar de la linea boot la opción "splash"   * El arranque correcto con vnc requiere quitar de la linea boot la opción "splash"
  
-==== KVM con bios uefi ====+==== KVM con BIOS uefi ====
  
 <code> <code>
 kvm -bios /usr/share/ovmf/OVMF.fd -m 2G cosa.img kvm -bios /usr/share/ovmf/OVMF.fd -m 2G cosa.img
 +</code>
 +
 +==== KVM con BIOS uefi nueva sintaxis ====
 +
 +<code>
 +cp /usr/share/OVMF/OVMF_VARS.fd .
 +kvm  -drive if=pflash,format=raw,readonly=on,file=/usr/share/ovmf/OVMF.fd \
 +     -drive if=pflash,format=raw,file=OVMF_VARS.fd  # requiere copia editable de OVFM_VARS.fd
 </code> </code>
 ==== Modos de red ==== ==== Modos de red ====
Line 65: Line 73:
  
 === User Networking === === User Networking ===
 +
 +== Redirección de puertos ==
 +<code>
 +qemu-system-x86_64  -net nic,model=rtl8139 -net user,hostfwd=tcp::3389-:3389,hostfwd=tcp::1992-:1992
 +</code>
  
 **Cuando usar:**     **Cuando usar:**    
chuleta_kvm.1648585601.txt.gz · Last modified: by etfiat