[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] Install KVM Virtual machine with virt-install on a LVM partition

Le 26. 04. 12 11:33, Richard W.M. Jones a écrit :
On Thu, Apr 26, 2012 at 11:08:45AM +0200, Arno Gaboury wrote:

What does this do?


According to the wiki libvirt (http://wiki.libvirt.org/page/Virtio):

Virtio is a Linux standard for network and disk device drivers where just the guest's device driver "knows" it is running in a virtual environment, and cooperates with the hypervisor. This enables guests to get high performance network and disk operations, and gives most of the performance benefits of paravirtualization.

and KVM official website (http://www.linux-kvm.org/page/Virtio)

QEMU defaults to user-mode networking (slirp), which is available without prior setup and without administrative privileges on the host. It is also unfortunately very slow. To get high performance networking, switch to a bridged setup via the -net tap command line switches.

 qemu -net nic,model=virtio,mac=... -net tap,ifname=...
QEMU also defaults to the RTL8139 network interface card (NIC) model. Again this card is compatible with most guests, but does not offer the best performance. If your guest supports it, switch to the virtio model:

 qemu -net nic,model=virtio,mac=... -net tap,ifname=...

From Debain wiki (http://wiki.kartbuilding.net/index.php/KVM_Setup_on_Debian_Squeeze)

virt-install -d --name=lin01-quake --ram 512 --disk path=/dev/vg0/lin01-boot,bus=virtio,cache=none

They add this argument in the command.

Do you think it is an error? I don't fully undertsnad everything, so maybe this is not a good idea. But I see that when you use GUI wirt manager, under settings>VirtI0 Disk1>advanced option, you can choose for disk bus Virtio, USB,SCSI, IDE.

I thought it was so a good idea.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]