Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qemu-system-x86_64: warning: host doesn't support requested feature #172

Open
cc901109 opened this issue Dec 25, 2024 · 3 comments
Open

Comments

@cc901109
Copy link

Operating system

ubuntu 22.04 / k8s v1.28.12

Description

qemu-system-x86_64: warning: host doesn't support requested feature

Docker compose

using k8s yaml
kind: Deployment
apiVersion: apps/v1
metadata:
name: macos-v1
namespace: macos
creationTimestamp: '2024-12-25T02:22:10Z'
labels:
app: macos
version: v1
annotations:
deployment.kubernetes.io/revision: '3'
kubesphere.io/creator: admin
spec:
replicas: 1
selector:
matchLabels:
app: macos
version: v1
template:
metadata:
creationTimestamp: null
labels:
app: macos
version: v1
annotations:
kubesphere.io/creator: admin
kubesphere.io/imagepullsecrets: '{}'
logging.kubesphere.io/logsidecar-config: '{}'
spec:
volumes:
- name: storage
persistentVolumeClaim:
claimName: macos-pvc
- name: dev-kvm
hostPath:
path: /dev/kvm
type: ''
- name: dev-tun
hostPath:
path: /dev/net/tun
type: ''
containers:
- name: container-macos
image: 'dockurr/macos:latest'
ports:
- name: tcp-5900
containerPort: 5900
protocol: TCP
- name: tcp-8006
containerPort: 8006
protocol: TCP
- name: udp-5900
containerPort: 5900
protocol: UDP
env:
- name: VERSION
value: '15'
- name: RAM_SIZE
value: 4G
- name: CPU_CORES
value: '3'
- name: DISK_SIZE
value: 64G
resources:
limits:
cpu: '3'
memory: 5Gi
requests:
cpu: '1'
memory: 1Gi
volumeMounts:
- name: storage
mountPath: /storage
- name: dev-kvm
mountPath: /dev/kvm
- name: dev-tun
mountPath: /dev/net/tun
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
imagePullPolicy: IfNotPresent
securityContext:
capabilities:
add:
- NET_ADMIN
privileged: true
restartPolicy: Always
terminationGracePeriodSeconds: 120
dnsPolicy: ClusterFirst
serviceAccountName: default
serviceAccount: default
securityContext: {}
schedulerName: default-scheduler
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 25%
maxSurge: 25%
revisionHistoryLimit: 10
progressDeadlineSeconds: 600

Docker log

2024-12-25T10:50:55.816507520+08:00 ❯ Booting macOS using QEMU v9.2.0...

2024-12-25T10:50:55.854957528+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.fma [bit 12]

2024-12-25T10:50:55.854976695+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.movbe [bit 22]

2024-12-25T10:50:55.854979486+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.f16c [bit 29]

2024-12-25T10:50:55.854981551+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.rdrand [bit 30]

2024-12-25T10:50:55.854983536+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.fsgsbase [bit 0]

2024-12-25T10:50:55.854986226+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.bmi1 [bit 3]

2024-12-25T10:50:55.854988226+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.avx2 [bit 5]

2024-12-25T10:50:55.854990100+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.smep [bit 7]

2024-12-25T10:50:55.854992019+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.bmi2 [bit 8]

2024-12-25T10:50:55.854993926+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.erms [bit 9]

2024-12-25T10:50:55.854995720+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.invpcid [bit 10]

2024-12-25T10:50:55.855001754+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.abm [bit 5]

2024-12-25T10:50:55.855003746+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.0DH:EAX.xsavec [bit 1]

2024-12-25T10:50:55.855005745+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.0DH:EAX.xgetbv1 [bit 2]

2024-12-25T10:50:55.855980287+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.fma [bit 12]

2024-12-25T10:50:55.856101853+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.movbe [bit 22]

2024-12-25T10:50:55.856106262+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.f16c [bit 29]

2024-12-25T10:50:55.856108380+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.rdrand [bit 30]

2024-12-25T10:50:55.856121498+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.fsgsbase [bit 0]

2024-12-25T10:50:55.856124253+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.bmi1 [bit 3]

2024-12-25T10:50:55.856126353+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.avx2 [bit 5]

2024-12-25T10:50:55.856128379+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.smep [bit 7]

2024-12-25T10:50:55.856130241+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.bmi2 [bit 8]

2024-12-25T10:50:55.856132110+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.erms [bit 9]

2024-12-25T10:50:55.856134030+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.invpcid [bit 10]

2024-12-25T10:50:55.856146230+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.abm [bit 5]

2024-12-25T10:50:55.856148621+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.0DH:EAX.xsavec [bit 1]

2024-12-25T10:50:55.856150827+08:00 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.0DH:EAX.xgetbv1 [bit 2]

2024-12-25T10:50:56.907107837+08:00 BdsDxe: failed to load Boot0001 "UEFI Misc Device" from PciRoot(0x0)/Pci(0xA,0x0): Not Found

2024-12-25T10:50:56.910180796+08:00 BdsDxe: loading Boot0002 "UEFI Misc Device 2" from PciRoot(0x0)/Pci(0x5,0x0)

2024-12-25T10:50:56.912072823+08:00 BdsDxe: starting Boot0002 "UEFI Misc Device 2" from PciRoot(0x0)/Pci(0x5,0x0)

2024-12-25T10:50:57.016601425+08:00 OCS: No schema for Base at 1 index, context !

2024-12-25T10:50:57.017601233+08:00 OCS: No schema for Count at 3 index, context !

2024-12-25T10:50:57.018579709+08:00 OCS: No schema for Find at 5 index, context !

2024-12-25T10:50:57.019669904+08:00 OCS: No schema for Identifier at 6 index, context !

2024-12-25T10:50:57.020660059+08:00 OCS: No schema for Limit at 7 index, context !

2024-12-25T10:50:57.021654687+08:00 OCS: No schema for Mask at 8 index, context !

2024-12-25T10:50:57.022697599+08:00 OCS: No schema for Replace at 11 index, context !

2024-12-25T10:50:57.023810263+08:00 OCS: No schema for ReplaceMask at 12 index, context !

2024-12-25T10:50:57.024815501+08:00 OCS: No schema for Skip at 13 index, context !

2024-12-25T10:50:57.025864324+08:00 OCS: No schema for Base at 1 index, context !

2024-12-25T10:50:57.026862353+08:00 OCS: No schema for Count at 3 index, context !

2024-12-25T10:50:57.027834369+08:00 OCS: No schema for Find at 5 index, context !

2024-12-25T10:50:57.028921142+08:00 OCS: No schema for Identifier at 6 index, context !

2024-12-25T10:50:57.029905149+08:00 OCS: No schema for Limit at 7 index, context !

2024-12-25T10:50:57.030880437+08:00 OCS: No schema for Mask at 8 index, context !

2024-12-25T10:50:57.031925549+08:00 OCS: No schema for Replace at 11 index, context !

2024-12-25T10:50:57.033037704+08:00 OCS: No schema for ReplaceMask at 12 index, context !

2024-12-25T10:50:57.034026830+08:00 OCS: No schema for Skip at 13 index, context !

Screenshots (optional)

No response

@kroese
Copy link
Contributor

kroese commented Dec 25, 2024

It means your CPU is not compatible

@cc901109
Copy link
Author

cc901109 commented Dec 31, 2024

@kroese I chang one computer to try again.
When I using version 13, it's log:

but in version 14,it success.

@cc901109
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants