xapi-project / xen-api

The Xapi Project's XenAPI Server
http://xenproject.org/developers/teams/xapi.html
Other
346 stars 284 forks source link

e1000e emulation #4680

Open an0wak opened 2 years ago

an0wak commented 2 years ago

Hi All,

This is not really and issue more a question Not even sure this is the right place to post but I was told to ask the question here. Was originally posted under xcp-ng forum.

I am trying to nest ESXi7u3 under xcp-ng but found that xcp-ng only allows to present RTL8139 and e1000 to the VM. Wondering if it is possible to emulate e1000e?

Regards

edwintorok commented 2 years ago

I think e1000e would require PCI-Express emulation, and that in turn would require a Q35 device model. We're still on i440fx device model in our QEMU configuration so that won't work. I don't think there'd necessarily be a speed difference between e1000 and e1000e in terms of emulated network speed. Also note that nested virtualization is experimental and not supported from a security point of view.

an0wak commented 2 years ago

Thanks edwintorok,

Understand it's experimental - was not looking for speed, more support to be able to emulate it. Within KVM it is possible to specify an e1000e device. i.e virt-install ... --network network=ovs-network,model=e1000e

With xcp-ng, it would be nice to be able to specify the below, but only available options are RTL8139 and e1000 xe vm-param-set platform:nic_type="e1000e" uuid=

Appreciate your reply.