Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • libvirt libvirt
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 121
    • Issues 121
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

GitLab 15.0 is launching on May 22! This version brings many exciting improvements, but also removes deprecated features and introduces breaking changes that may impact your workflow. To see what is being deprecated and removed, please visit Breaking changes in 15.0 and Deprecations.

  • libvirt
  • libvirtlibvirt
  • Issues
  • #168
Closed
Open
Created May 21, 2021 by ihsakashi@ihsakashi

libvirt doesn't work with apple silicon

Software environment

  • Operating system: macOS 11.3.1
  • Architecture: arm64
  • kernel version: 20.4.0
  • libvirt version: 7.3.0
  • Hypervisor and version: QEMU with HVF accel, 6.0.0 formula

Description of problem

error: internal error: undefined hardware architecture

In the logs, the host arch is none and not native. I also tried host-passthrough, host-model, and cortex-a72. I was able to create an ubuntu vm using QEMU just fine. libvirt is also unable to find qemu firmware paths, but I think that's for a separate issue.

Steps to reproduce

  1. Any QEMU with HVF accel
  2. Install libvirt with homebrew
  3. Setup domain xml
  4. virsh create ubuntu.xml

Additional information

libvirtd.log ubuntu.xml

Assignee
Assign to
Time tracking