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

qemu: can't run kata-containers with qemu 2.8 #637

@flyflypeng

Description

@flyflypeng

I used to run kata-container with qemu stable-2.7, which is compiled from kata-container/qemu repo with the configuration by kata-containers/qemu#1.

And now, I want to try more higher qemu version such as qemu 2.8, so I compile qemu stable-2.8 with the same configuration as we used to compile qemu stable-2.7.After compilation, I get a new qemu-system-x86_64 executable binary file.Next, I configure the qemu binary path in the /usr/share/defaults/kata-containers/configuration.toml file, then run kata-container with following command:

docker run -itd --runtime kata-runtime ubuntu bash

However, I get the following error:

docker: Error response from daemon: oci runtime error: QMP command failed.

I lookup the kata-runtime log, and find the error info is:

 level=info msg="{\"arguments\":{\"options\":{\"driver\":\"raw\",\"file\":{\"driver\":\"file\",\"filename\":\"/dev/mapper/docker-8:1-5374032-047376e01b51785eaafb16e94f1e17fe1a144e1f752140486e1edd688c49b87a\"},\"id\":\"drive-bc6a82eff1f6242f0e396867b\"}},\"execute\":\"blockdev-add\"}" arch=amd64 command=create container=bc6a82eff1f6242f0e396867ba1958742175847706325452a5d458a5148d700a name=kata-runtime pid=153841 source=virtcontainers subsystem=qmp
level=info msg="{\"error\": {\"class\": \"GenericError\", \"desc\": \"Parameter 'driver' is missing\"}}" arch=amd64 command=create container=bc6a82eff1f6242f0e396867ba1958742175847706325452a5d458a5148d700a name=kata-runtime pid=153841 source=virtcontainers subsystem=qmp

Metadata

Metadata

Assignees

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