Support paravirtualization

Bug #1600260 reported by Gustavo Niemeyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snappy
Fix Released
Medium
Oliver Grawert
initramfs-tools-ubuntu-core (Ubuntu)
Fix Released
Medium
Oliver Grawert

Bug Description

The initramfs being used with ubuntu-core images currently only works on full virtualization, with faked IDE/etc. That implies extra overhead. It should also support paravirtualization, with virtio SCSI/etc.

description: updated
Revision history for this message
Oliver Grawert (ogra) wrote :

we only need to put the module names into modules/ubuntu-core-rootfs in the initramfs-tools-ubuntu-core package ... do you happen to know the required module names for this feature ?

Changed in snappy:
status: New → Confirmed
Changed in initramfs-tools-ubuntu-core (Ubuntu):
status: New → Confirmed
Changed in snappy:
assignee: nobody → Oliver Grawert (ogra)
Changed in initramfs-tools-ubuntu-core (Ubuntu):
assignee: nobody → Oliver Grawert (ogra)
Changed in snappy:
importance: Undecided → Medium
Changed in initramfs-tools-ubuntu-core (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Gustavo Niemeyer (niemeyer) wrote :

virtio_scsi is the obvious one. Not sure if there's anything else necessary. Might be a good idea to catch up with the cloud image maintainers and ask.

Revision history for this message
Gustavo Niemeyer (niemeyer) wrote :

Also virtio_net, virtio_blk, virtio_pci.. these are builtin in the standard Ubuntu images, so probably also builtin there?

Revision history for this message
Seth Arnold (seth-arnold) wrote :

virtio-rng too, please. Thanks.

Revision history for this message
Mark Shuttleworth (sabdfl) wrote : Re: [Bug 1600260] Re: Support paravirtualization

On 08/07/16 18:52, Seth Arnold wrote:
> virtio-rng too, please. Thanks.

Shiver :)

Revision history for this message
Oliver Grawert (ogra) wrote :

@seth is -rng really needed inside the initrd ? (note that all modules are available later in the rootfs anyway and afaik we do not yet support snappy with full disk encryption, not even in VMs)

@gustavo i see 9pnet_virtio and caif_virtio (both networking apparently) when running find on a xenial kernel ... do we need any of this too ?

Revision history for this message
Oliver Grawert (ogra) wrote :

answering my last question myself ... given we have no netboot code at all ready in the snappy initrd, i guess we can skip the networking modules too for the moment (in the hope that we get to implement the split initrd before having netboot support and dont need it anyway in the generic initrd)

Revision history for this message
Oliver Grawert (ogra) wrote :

i have uploaded a fix now, the next kernel snaps on http://cdimage.ubuntu.com/ubuntu-core/xenial/daily-preinstalled/ should have the fixed initrd (20160714++)

Michael Vogt (mvo)
Changed in snappy:
status: Confirmed → Fix Released
Changed in initramfs-tools-ubuntu-core (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.