virtcontainers: Revert "virtcontainers: Allow s390x appendVhostUserDevice"

This reverts commit 7f60911333.
Patch allowed other vhost user devices besides FS not supported on s390x
and failed to attach a CCW device number, which results in the
inavailability to use more devices after vhost-user-fs-ccw.

Signed-off-by: Jakob Naucke <jakob.naucke@ibm.com>
This commit is contained in:
Jakob Naucke
2021-04-26 17:52:01 +02:00
parent b20dff8027
commit adba4532a4
5 changed files with 26 additions and 6 deletions

View File

@@ -224,7 +224,7 @@ func testQemuArchBaseAppend(t *testing.T, structure interface{}, expected []govm
case config.VFIODev:
devices = qemuArchBase.appendVFIODevice(devices, s)
case config.VhostUserDeviceAttrs:
devices = qemuArchBase.appendVhostUserDevice(devices, s)
devices, err = qemuArchBase.appendVhostUserDevice(devices, s)
}
assert.NoError(err)