Skip to content

Conversation

kimullaa
Copy link
Contributor

@kimullaa kimullaa commented May 1, 2025

qemu-system-x86_64 does not support "-machine virt". (this is only supported by arm,aarch64)
https://people.redhat.com/~cohuck/2022/01/05/qemu-machine-types.html

no virt

$ /opt/kata/bin/qemu-system-x86_64 --machine help
Supported machines are:
microvm              microvm (i386)
pc                   Standard PC (i440FX + PIIX, 1996) (alias of pc-i440fx-9.1)
pc-i440fx-9.1        Standard PC (i440FX + PIIX, 1996) (default)
pc-i440fx-9.0        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-8.2        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-8.1        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-8.0        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-7.2        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-7.1        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-7.0        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-6.2        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-6.1        Standard PC (i440FX + PIIX, 1996) (deprecated)
pc-i440fx-6.0        Standard PC (i440FX + PIIX, 1996) (deprecated)
pc-i440fx-5.2        Standard PC (i440FX + PIIX, 1996) (deprecated)
pc-i440fx-5.1        Standard PC (i440FX + PIIX, 1996) (deprecated)
pc-i440fx-5.0        Standard PC (i440FX + PIIX, 1996) (deprecated)
pc-i440fx-4.2        Standard PC (i440FX + PIIX, 1996) (deprecated)
pc-i440fx-4.1        Standard PC (i440FX + PIIX, 1996) (deprecated)
pc-i440fx-4.0        Standard PC (i440FX + PIIX, 1996) (deprecated)
pc-i440fx-3.1        Standard PC (i440FX + PIIX, 1996) (deprecated)
pc-i440fx-3.0        Standard PC (i440FX + PIIX, 1996) (deprecated)
pc-i440fx-2.9        Standard PC (i440FX + PIIX, 1996) (deprecated)
pc-i440fx-2.8        Standard PC (i440FX + PIIX, 1996) (deprecated)
pc-i440fx-2.7        Standard PC (i440FX + PIIX, 1996) (deprecated)
pc-i440fx-2.6        Standard PC (i440FX + PIIX, 1996) (deprecated)
pc-i440fx-2.5        Standard PC (i440FX + PIIX, 1996) (deprecated)
pc-i440fx-2.4        Standard PC (i440FX + PIIX, 1996) (deprecated)
pc-i440fx-2.12       Standard PC (i440FX + PIIX, 1996) (deprecated)
pc-i440fx-2.11       Standard PC (i440FX + PIIX, 1996) (deprecated)
pc-i440fx-2.10       Standard PC (i440FX + PIIX, 1996) (deprecated)
q35                  Standard PC (Q35 + ICH9, 2009) (alias of pc-q35-9.1)
pc-q35-9.1           Standard PC (Q35 + ICH9, 2009)
pc-q35-9.0           Standard PC (Q35 + ICH9, 2009)
pc-q35-8.2           Standard PC (Q35 + ICH9, 2009)
pc-q35-8.1           Standard PC (Q35 + ICH9, 2009)
pc-q35-8.0           Standard PC (Q35 + ICH9, 2009)
pc-q35-7.2           Standard PC (Q35 + ICH9, 2009)
pc-q35-7.1           Standard PC (Q35 + ICH9, 2009)
pc-q35-7.0           Standard PC (Q35 + ICH9, 2009)
pc-q35-6.2           Standard PC (Q35 + ICH9, 2009)
pc-q35-6.1           Standard PC (Q35 + ICH9, 2009) (deprecated)
pc-q35-6.0           Standard PC (Q35 + ICH9, 2009) (deprecated)
pc-q35-5.2           Standard PC (Q35 + ICH9, 2009) (deprecated)
pc-q35-5.1           Standard PC (Q35 + ICH9, 2009) (deprecated)
pc-q35-5.0           Standard PC (Q35 + ICH9, 2009) (deprecated)
pc-q35-4.2           Standard PC (Q35 + ICH9, 2009) (deprecated)
pc-q35-4.1           Standard PC (Q35 + ICH9, 2009) (deprecated)
pc-q35-4.0.1         Standard PC (Q35 + ICH9, 2009) (deprecated)
pc-q35-4.0           Standard PC (Q35 + ICH9, 2009) (deprecated)
pc-q35-3.1           Standard PC (Q35 + ICH9, 2009) (deprecated)
pc-q35-3.0           Standard PC (Q35 + ICH9, 2009) (deprecated)
pc-q35-2.9           Standard PC (Q35 + ICH9, 2009) (deprecated)
pc-q35-2.8           Standard PC (Q35 + ICH9, 2009) (deprecated)
pc-q35-2.7           Standard PC (Q35 + ICH9, 2009) (deprecated)
pc-q35-2.6           Standard PC (Q35 + ICH9, 2009) (deprecated)
pc-q35-2.5           Standard PC (Q35 + ICH9, 2009) (deprecated)
pc-q35-2.4           Standard PC (Q35 + ICH9, 2009) (deprecated)
pc-q35-2.12          Standard PC (Q35 + ICH9, 2009) (deprecated)
pc-q35-2.11          Standard PC (Q35 + ICH9, 2009) (deprecated)
pc-q35-2.10          Standard PC (Q35 + ICH9, 2009) (deprecated)
isapc                ISA-only PC
none                 empty machine
x-remote             Experimental remote machine

Fixes: #11229

qemu-system-x86_64 does not support "-machine virt".
(this is only supported by arm,aarch64)
<https://people.redhat.com/~cohuck/2022/01/05/qemu-machine-types.html>

Fixes: kata-containers#11229

Signed-off-by: Shunsuke Kimura <pbrehpuum@gmail.com>
@katacontainersbot katacontainersbot added the size/tiny Smallest and simplest task label May 1, 2025
Copy link
Member

@fidencio fidencio left a comment

Choose a reason for hiding this comment

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

lgtm, thanks @kimullaa!

Copy link
Member

@stevenhorsman stevenhorsman left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@fidencio fidencio merged commit 79ad68c into kata-containers:main May 2, 2025
318 of 366 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test size/tiny Smallest and simplest task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

machine_type=virt is not supported by qemu-system-x86_64
4 participants