Skip to content

Conversation

@cgwalters
Copy link
Member

This reverts commit ad728ab because
it apparently doesn't work on s390x/ppc64le:
#1288 (comment)

This reverts commit ad728ab because
it apparently doesn't work on s390x/ppc64le:
coreos#1288 (comment)
@cgwalters
Copy link
Member Author

I'll try to lower these into qemu.go at some point instead.

Ideally we use virtio-blk instead since we already support that but I think that will require supermin work. Or, perhaps we just don't use supermin at all.

@jlebon
Copy link
Member

jlebon commented Mar 27, 2020

/lgtm

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cgwalters, jlebon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

cachedisk=()
if [ -f "${workdir}/cache/cache.qcow2" ]; then
cachedisk=("-hdb" "${workdir}/cache/cache.qcow2")
cachedisk=("-drive" "if=none,id=drive-scsi0-0-0-1,discard=unmap,file=${workdir}/cache/cache.qcow2" \
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Random thought...do we still need the cache disk versus relying on a 9p mount? I may investigate this.
Would simplify things a lot if we had just one disk attached to the VM versus two.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was the original design, but we moved away from that because composing directly into 9p caused issues. And composing on the side and moving cache/data back and forth was a lot of overhead.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check out #124 (comment) and following.

@openshift-merge-robot openshift-merge-robot merged commit e9e7de7 into coreos:master Mar 27, 2020
@gustavold
Copy link
Contributor

FWIW, the issue on ppc64le was due to the driver ibmvscsi missing from the supermin initrd. I filed a bug against supermin at https://bugzilla.redhat.com/show_bug.cgi?id=1819019

I have not tested on s390x, so I don't know if they have the same issue.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants