[Top][All Lists]

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

Re: [Qemu-devel] vio-net driver

From: Charles . Tsai-蔡清海-研究發展部
Subject: Re: [Qemu-devel] vio-net driver
Date: Wed, 6 Jun 2012 03:47:37 +0000

Hi Brian,

        Here are the information from our system.

        We launched the VM using the following XML file.
        The kernel version is
        The Qemu version is 1.0.0(we upgraded it. Default one is 0.14.1)

<domain type='kvm'>
    <type arch='x86_64' machine='pc'>hvm</type>
    <boot dev='network'/>
    <bootmenu enable='no'/>
  <clock offset='utc'/>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='none'/>
      <source file='/opt/cloudena/cloudena_boot/vms/monitor/monitor.img'/>
      <target dev='vda' bus='virtio'/>
    <interface type='bridge'>
      <mac address='00:00:00:00:00:02'/>
      <source bridge='deploy'/>
      <model type='virtio'/>
    <serial type='pty'>
      <source path='/dev/pts/12'/>
      <target port='0'/>
      <alias name='serial0'/>
    <console type='pty' tty='/dev/pts/12'>
      <source path='/dev/pts/12'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' listen=''/>
      <model type='cirrus' vram='9216' heads='1'/>
      <alias name='video0'/>
    <memballoon model='virtio'>
      <alias name='balloon0'/>

-----Original Message-----
From: Brian Jackson [mailto:address@hidden 
Sent: Wednesday, June 06, 2012 2:30 AM
To: address@hidden
Cc: Charles.Tsai-蔡清海-研究發展部
Subject: Re: [Qemu-devel] vio-net driver

On Tuesday, June 05, 2012 12:17:17 AM Charles.Tsai-蔡清海-研究發展部 wrote:
> We recently ran an Ubuntu 11.10 VM which was installed with VirtIO NIC 
> driver. The VirtIO net driver came from the Ubuntu's default package. 
> The VM we installed was configured as a bridge mode. When we ran the 
> Iperf test against the VM, the network interface of the VM was fairly 
> unstable.
> Sometimes, the network interface of the VM could not receive the 
> packets and we needed to bright the network interface down and up in 
> order to make it work. After we replaced the VirtIo Net driver with 
> ne2k driver and it worked quite stably now.

The normal answer is "update to the latest kernel (host and guest) and qemu/kvm.

> We know that the performance of virtIO is much better than ne2k in virtual
> environment. We would like to use virtio driver instead. If this is the
> virtio driver issue, can you tell us where to get the latest virtIO driver
> for Ubuntu VM? Otherwise, tell us how to make the virtio net driver work
> in Ubuntu VM if you have ever had similar issue before.
> The version of Qemu installed in Ubuntu is 1.0

I have to imagine they are backporting 1.0 branch fixes to that, but even then  
nothing pops out in my memory about problems like that with 1.0. Older 
versions are a different story. You might try telling us host kernel version, 
guest kernel version (we don't all have a matrix for what random distro 
version has what kernel/qemu/kvm versions). Also, the command line used to run 
the guest is almost always a requirement for help.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]