Difference between revisions of "Virtio"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
Example Virtual Machine using virtio:
 
Example Virtual Machine using virtio:
 
* <code>[[virt-install]] --autostart --check all=on --name YOUR_VM_MACHINE --memory VM_MEMORY --vcpus VM_CPUs --os-variant ubuntu18.04 --cdrom VM_INSTALLATION_MEDIA --disk /path/libvirt/VM_STORAGE_POOL_NAME/YOUR_VM_MACHINE.qcow2 --noautoconsole --wait TIME_TO_WAIT --network [[type=direct]],source=eno111,source_mode=bridge,model=[[virtio]]</code>
 
* <code>[[virt-install]] --autostart --check all=on --name YOUR_VM_MACHINE --memory VM_MEMORY --vcpus VM_CPUs --os-variant ubuntu18.04 --cdrom VM_INSTALLATION_MEDIA --disk /path/libvirt/VM_STORAGE_POOL_NAME/YOUR_VM_MACHINE.qcow2 --noautoconsole --wait TIME_TO_WAIT --network [[type=direct]],source=eno111,source_mode=bridge,model=[[virtio]]</code>
 +
 +
 +
 +
<address type='drive' controller='0' bus='0' target='0' unit='1'/>
  
  

Revision as of 07:34, 31 October 2020

Virtio[1] is the main platform for IO virtualization in KVM


Example Virtual Machine using virtio:

  • virt-install --autostart --check all=on --name YOUR_VM_MACHINE --memory VM_MEMORY --vcpus VM_CPUs --os-variant ubuntu18.04 --cdrom VM_INSTALLATION_MEDIA --disk /path/libvirt/VM_STORAGE_POOL_NAME/YOUR_VM_MACHINE.qcow2 --noautoconsole --wait TIME_TO_WAIT --network type=direct,source=eno111,source_mode=bridge,model=virtio


<address type='drive' controller='0' bus='0' target='0' unit='1'/>


<target dev='vda' bus='virtio'/>

Related terms

Activities

See also

  • https://www.linux-kvm.org/page/Virtio
  • Advertising: