The QEMU emulator incorrectly interprets the contents of the SLIC table. See attached image.
Host environment
- Operating system: (Fedora 35)
- OS/kernel version: (Linux version 5.14.15-300.fc35.x86_64)
- Architecture: (x86_64)
- QEMU flavor: (qemu-system-x86_64)
- QEMU version: (QEMU emulator version 6.1.0 (qemu-6.1.0-9.fc35))
- QEMU command line:
./qemu-system-x86_64 -acpitable sig=SLIC,file=/var/lib/libvirt/images/slic.bin
Emulated/Virtualized environment
- Operating system: (Windows 7 64-bit)
- Architecture: (x86_64)
Description of problem
The QEMU emulator incorrectly interprets the contents of the SLIC table.
The SLIC table read on pure hardware and in a virtual machine in the fedora 34 and 35:
Steps to reproduce
Steps to Reproduce:
-
Install Fedora 34
-
Install virtualization group:
dnf group install virtualization
-
Place SLIC binary image(slic.bin) into the direcrory /var/lib/libvirt/images
-
Create Virtual Machine with Virtual Machine Manager.
-
Modify xml description of virtual machine:
... <os> ... <acpi> <table type='slic'>/var/lib/libvirt/images/slic.bin</table> </acpi> </os> ...
-
Install Microsoft Windows 7 64-bit into Virtual machine.
-
Place sertificate into Windows 7.
-
Run with admin rights:
slmgr.vbs /ilc <sertificate> slmgr.vbs /ipk <key>
-
Windows 7 will be activated !
-
Save Virtual Machine Image and it's xml description anywere.
-
Install Fedora 35
-
Install virtualization group.
-
Place saved Virtual Machine Image and slic.bin into the directory /var/lib/libvirt/images/
-
Register virtual machine:
virsh -c qemu:///system define <xml_file>
-
Run virtual machine - Windows 7 will lose it activation.
Additional information
Fedora 34 has: kernel-5.14.15-200.fc34.x86_64, qemu-system-x86-5.2.0-8.fc34.x86_64
Fedora 35 has: kernel-5.14.15-300.fc35.x86_64, qemu-system-x86-6.1.0-9.fc35.x86_64
Slick Binary Image: slic.bin