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
  • QEMU QEMU
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 646
    • Issues 646
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • QEMU
  • QEMUQEMU
  • Issues
  • #733
Closed
Open
Created Nov 17, 2021 by Helge Konetzka@hejko

Qemu Adventcalendar 2020 ELKS fails to run with error "qemu-system-x86_64: at most one isa-vga device is permitted"

Host environment

  • Operating system: Debian Linux
  • OS/kernel version: Linux rodrigo 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux
  • Architecture: x86
  • QEMU flavor: qemu-system-x86_64
  • QEMU version: 6.1.90 (git bisect determines commit 7852a77f)
  • QEMU command line (minimal):
qemu-system-x86_64  -machine isapc  -vga std

Emulated/Virtualized environment

  • Operating system: ELKS
  • OS/kernel version: Linux-like OS
  • Architecture: Intel IA16 architecture

Description of problem

Running ELKS from Qemu Advent calendar results in: qemu-system-x86_64: at most one isa-vga device is permitted

Steps to reproduce (with ELKS)

  1. Untar https://download.qemu.org/qemu-6.2.0-rc0.tar.xz
  2. Build qemu-system-x86_64
  3. Download https://www.qemu-advent-calendar.org/2020/download/day23.tar.gz
  4. Execute ELKS as described in run.sh

Additional information

A git bisect was performed to identify the culprit commit:

qemu$ git bisect good
binäre Suche: danach noch 1 Commit zum Testen übrig (ungefähr 1 Schritt)
[2b3a98255c90d8d2f9f87a73eb33371961508517] hw/display/xlnx_dp: fix an out-of-bounds read in xlnx_dp_read

qemu$ ./configure --target-list=x86_64-softmmu --disable-linux-user && make -j2

qemu$ build/qemu-system-x86_64 -machine isapc -vga std
qemu-system-x86_64: at most one isa-vga device is permitted

qemu$ git bisect bad
binäre Suche: danach noch 0 Commits zum Testen übrig (ungefähr 0 Schritte)
[7852a77f598635a67a222b6c1463c8b46098aed2] vga: don't abort when adding a duplicate isa-vga device

qemu$ cat .git/refs/bisect/bad
2b3a98255c90d8d2f9f87a73eb33371961508517

qemu$ git status
HEAD losgelöst bei 7852a77f59
Edited Dec 02, 2021 by Alex Bennée
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking