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

Re: Some questions about virtio-net on Xen x86


  • To: Jiamei Xie <Jiamei.Xie@xxxxxxx>
  • From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • Date: Thu, 19 Aug 2021 15:16:07 +0100
  • Authentication-results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "Wei Chen" <Wei.Chen@xxxxxxx>, nd <nd@xxxxxxx>
  • Delivery-date: Thu, 19 Aug 2021 14:16:20 +0000
  • Ironport-hdrordr: A9a23:h9wRPa52f8CdsaffIAPXwMrXdLJyesId70hD6qhwISY1TiW9rb HIoB17726RtN9/Yh0dcLy7V5VoBEmsk6KdgrNhWItKPjOW21dARbsKheCJrgEIWReOlNK1vZ 0QCpSWY+eRMbEVt6jH3DU=
  • Ironport-sdr: 1nuZs55cE1zFjPE1nrB4OR/O/th4N64MRnf7aC6Zgldhzh0fgFZ8Z10iq6iLaTrK3hlchsSFtC yvo407OQAeUJgFwikh+c0wFdljtq24x12ZO4o5UJvLjlhHAH0KQ1rc84cYVe74Nj7S9A35Ya2U d/Y3ZS+XdUww5wVROCG05FXdfhI7Fa9ZSXvk4ZmgDJLjiJh+uIayNDvxz5/k9vnymNU53AzV0u C1Kk+/kclAx+9CjByVHA/EkqKYf/o7xSv30J39MR9hCbpo6FqSKesb6vMudFXIiNPDVK+YAswa w9ctSz/2LXYri6OwPyF9xIbW
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Thu, Aug 19, 2021 at 10:38:49AM +0000, Jiamei Xie wrote:
> Hi all,
> I tried to run virtio-net on X86 machine according to the Wiki page 
> https://wiki.xenproject.org/wiki/Virtio_On_Xen. 
> And I Encountered some confusing problems.
> 
> It seems eth0 is not virtio-net, properly a pv-net. I am really confused.
> 
>  I have the following questions:
> 1. Does Xen x86 still support virtio-net based on QEMU backend?

Well, we don't test it, and the libxl toolstack doesn't really help
getting virtio devices.

> 2. If yes, is there anything wrong in my guest config file?

The wiki state that you should add 'xen_emul_unplug=never' to the
guest kernel's command line. (That would be "extra" in your guest.cfg.)
I think that will prevent the virtio-net device from been unplug, and so
you will see the virtio-net device in the guest.

But since libxl create Xen PV device anyway, you'll still have the Xen
PV NIC, so two NICs with the same MAC.

I hope that help,

-- 
Anthony PERARD



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.