Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


virtio support in generated libvirt xml #33

labisso opened this Issue · 4 comments

3 participants

David LaBissoniere Pierre Riteau John Bresnahan
David LaBissoniere

Kyle Fransham suggested enabling virtio for KVM instances in this workspace-user post:

This should be integrated. And more generally, can we make libvirt XML more of a template that can be edited by admins to suit their needs?

Pierre Riteau

Note that virtio requires specific guest drivers. We can't enable it by default without breaking support for many systems (old Linux distributions, Windows without the virtio drivers installed, other OSes...).

A middle ground would be to switch to e1000 instead of the default rtl8139.
e1000 has better performance than the default NIC, while having better support from the various OSes out there.

John Bresnahan

I made it so that the xml handed to libvirt is generated from a template. This would allow a site admin to modify the template with virtio if their system could handle it. This puts the configuration in the hands of the site admin but it makes it global for all users. Is that a reasonable solution to this?

David LaBissoniere

Sounds good to me. I expect virtio is a common need, so we should probably have a section in the admin reference guide explaining how to set that up specifically.

John Bresnahan

I added documentation to the admin/reference.html page.

John Bresnahan buzztroll closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.