Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Kata-runtime start failed on Arm host with GICv4 support #614

Closed
Weichen81 opened this issue Aug 21, 2018 · 1 comment
Closed

Kata-runtime start failed on Arm host with GICv4 support #614

Weichen81 opened this issue Aug 21, 2018 · 1 comment

Comments

@Weichen81
Copy link
Contributor

Description of problem

QEMU supports GICv2, GICv3 and host parameters for guest gic-version. The "host" parameter will let QEMU detect GIC version by itself. This parameter will work properly when host GIC version is GICv2 or GICv3. But the detection will failed when host GIC is GICv4 or higher:
"Unable to determine GIC version supported by host"

Expected result

kata-runtime start successfully

Actual result

"Unable to determine GIC version supported by host"


@Pennyzct

@Weichen81
Copy link
Contributor Author

Different GIC supports different QEMU parameters for virtual GIC and max VCPUs. So this issue also affects
#584

Weichen81 added a commit to Weichen81/kata-containers-runtime that referenced this issue Aug 21, 2018
QEMU supports GICv2, GICv3 and host parameters for guest
gic-version. The "host" parameter will let QEMU detect
GIC version by itself. This parameter will work properly
when host GIC version is GICv2 or GICv3. But the detection
will failed when host GIC is GICv4 or higher:
"Unable to determine GIC version supported by host"

In this case, we have to detect the host GIC version manually
and force QEMU to use GICv3 when host GIC is GICv4 or higher.

Fixes: kata-containers#614

Change-Id: Ie8fc9f39785852c18c24b4c9c1b23462814759d0
Signed-off-by: Wei Chen <[email protected]>
Signed-off-by: Penny Zheng <[email protected]>
Weichen81 added a commit to Weichen81/kata-containers-runtime that referenced this issue Aug 23, 2018
QEMU supports GICv2, GICv3 and host parameters for guest
gic-version. The "host" parameter will let QEMU detect
GIC version by itself. This parameter will work properly
when host GIC version is GICv2 or GICv3. But the detection
will failed when host GIC is GICv4 or higher:
"Unable to determine GIC version supported by host"

In this case, we have to detect the host GIC version manually
and force QEMU to use GICv3 when host GIC is GICv4 or higher.

Fixes: kata-containers#614

Signed-off-by: Wei Chen <[email protected]>
Signed-off-by: Penny Zheng <[email protected]>
Weichen81 added a commit to Weichen81/kata-containers-runtime that referenced this issue Aug 23, 2018
QEMU supports GICv2, GICv3 and host parameters for guest
gic-version. The "host" parameter will let QEMU detect
GIC version by itself. This parameter will work properly
when host GIC version is GICv2 or GICv3. But the detection
will failed when host GIC is GICv4 or higher:
"Unable to determine GIC version supported by host"

In this case, we have to detect the host GIC version manually
and force QEMU to use GICv3 when host GIC is GICv4 or higher.

Fixes: kata-containers#614

Signed-off-by: Wei Chen <[email protected]>
Signed-off-by: Penny Zheng <[email protected]>
lifupan pushed a commit to hyperhq/kata-runtime that referenced this issue Sep 17, 2018
QEMU supports GICv2, GICv3 and host parameters for guest
gic-version. The "host" parameter will let QEMU detect
GIC version by itself. This parameter will work properly
when host GIC version is GICv2 or GICv3. But the detection
will failed when host GIC is GICv4 or higher:
"Unable to determine GIC version supported by host"

In this case, we have to detect the host GIC version manually
and force QEMU to use GICv3 when host GIC is GICv4 or higher.

Fixes: kata-containers#614

Signed-off-by: Wei Chen <[email protected]>
Signed-off-by: Penny Zheng <[email protected]>
egernst pushed a commit to egernst/runtime that referenced this issue Feb 9, 2021
ci: Allow travis to use go install script
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant