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

Provisioning fails with QEMU 8.1 #30

Open
urisimchoni opened this issue Dec 25, 2023 · 2 comments
Open

Provisioning fails with QEMU 8.1 #30

urisimchoni opened this issue Dec 25, 2023 · 2 comments

Comments

@urisimchoni
Copy link

With upgrade of my system to Fedora 39 and qemu 8.1, provisioning of new vagrant w2k22 boxes using the windows-vagrant scripts stopped working. I've traced it to this qemu issue - https://gitlab.com/qemu-project/qemu/-/issues/2008

The powershell command "Get-CimInstance -Class Win32_ComputerSystemProduct" returns an empty string because of this issue, and this causes scripts to fail.

As a workaround, I change machine type on the windows-2022.pkr.hcl from "q35" to "q35,smbios-entry-point-type=32". I don't know how fast this will be fixed in qemu and backported to Linux distros. If it is not fixed, consider making this a permanent change.

@rgl
Copy link
Owner

rgl commented Dec 25, 2023

Good to known there is a workaround for the recent Fedora.

The only QEMU 8.1 that I've tested with was the QEMU flavor that ships with Proxmox 8.1.3 (the pve-qemu-kvm 8.1.2-6 package), and it works fine. I can install the VM using packer, launch a VM (using https://github.com/rgl/terraform-proxmox-windows-example), and inside the launched VM:

PS C:\Users\vagrant> Get-CimInstance -Class Win32_ComputerSystemProduct

IdentifyingNumber :
Name              : Standard PC (Q35 + ICH9, 2009)
Vendor            : QEMU
Version           : pc-q35-8.1
Caption           : Computer System Product

@urisimchoni
Copy link
Author

It's conceivable that Proxmox have patched their version of qemu to fix this, given that they reported the qemu issue. I've opened a fedora bug as well - https://bugzilla.redhat.com/show_bug.cgi?id=2255791

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