Skip to content

Support userdata on QEMU s390x #825

Closed

Description

@tuan-hoang1

Feature Request

Environment

QEMU s390x

Desired Feature

Pass Ignition config file/string from host QEMU to FCOS guest.

Other Information

-fw_cfg and SMBIOS OEM string are not supported.
#656 (comment) suggests 2 approaches:

  • extra cdrom image containing the Ignition config
  • via network (like OpenStack)

Related

coreos/ignition-dracut#87
#666
#656

Activity

  1. ajeddeloh commented on Jul 15, 2019

    @ajeddeloh
    Contributor

    Sorry for taking so long to reply to this.

    via network (like OpenStack)

    This is separate from qemu. Qemu as a platform does not have any one way networking works.

    extra cdrom image containing the Ignition config

    We really dislike this. It's near impossible to differentiate between a disk that's slow to show up and a disk that will never show up. We do it where we have to (clouds where that's the only option) but we avoid it whenever possible.

    My knowledge of s390x is very limited right now, so unfortunately I don't have any counter-suggestions.

  2. lucab commented on Jul 16, 2019

    @lucab

    My additional 2¢: if this is specifically for qemu s390x and not for (generically) metal s390x, then we'd like to identify a viable qemu-provided back-channel to use for this.
    An implementation of fw_cfg for s390x (hypervisor and guest-kernel) is the cleanest thing that comes to my mind.

    EDIT: see coreos/mantle#1045 (comment)

  3. laenion commented on Jul 16, 2019

    @laenion
    Contributor

    Desired Feature

    Pass Ignition config file/string from host QEMU to FCOS guest.

    * extra cdrom image containing the Ignition config
    

    In pull request coreos/ignition-dracut#80 I've implemented something like this - mainly because we have to get rid of the hardcoded /boot dependency for openSUSE, which usually does not contain a separate boot partition. While doing so I made the partition containing the user config configurable - and the device could also be a cdrom device if desired.

  4. tuan-hoang1 commented on Oct 18, 2019

    @tuan-hoang1
    ContributorAuthor

    The temporary solution atm is to use guestfish. We would need a better way to deal with this.

  5. lucab commented on Dec 18, 2019

    @lucab

    Potentially relevant here, there seems to be a virtio-ccw hypervisor back-channel: https://www.ibm.com/support/knowledgecenter/linuxonibm/com.ibm.linux.z.lkdd/lkdd_c_ccwdd.html.

    I think this is a mechanism similar to what we are using on zvm, so we could try to follow the same path for qemu too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions