summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/707.toml
blob: 75fa65de417bea7b92f57ea0a42298396d4f58d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
id = 707
title = "The QEMU emulator incorrectly interprets the contents of the SLIC table. See attached image."
state = "closed"
created_at = "2021-11-04T11:48:38.643Z"
closed_at = "2022-02-06T18:02:25.090Z"
labels = ["ACPI", "Regression"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/707"
host-os = "(Fedora 35)"
host-arch = "(x86_64)"
qemu-version = "(QEMU emulator version 6.1.0 (qemu-6.1.0-9.fc35))"
guest-os = "(Windows 7 64-bit)"
guest-arch = "(x86_64)"
description = """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:

![windows_slic_read](/uploads/0dd986ab8345db8826c3d1f0655f65be/windows_slic_read.png)"""
reproduce = """Steps to Reproduce:

1. Install Fedora 34

2. Install virtualization group:
 
      dnf group install virtualization

4. Place SLIC binary image(slic.bin) into the direcrory /var/lib/libvirt/images

3. Create Virtual Machine with Virtual Machine Manager.

4. Modify xml description of virtual machine:
   `...
   <os>
      ...
      <acpi>
         <table type='slic'>/var/lib/libvirt/images/slic.bin</table>
      </acpi>
   </os>
   ...`

5. Install Microsoft Windows 7 64-bit into Virtual machine.

6. Place sertificate into Windows 7.

7. Run with admin rights:

       slmgr.vbs /ilc <sertificate>
       slmgr.vbs /ipk <key>

8. Windows 7 will be activated !

9. Save Virtual Machine Image and it's xml description anywere.

10. Install Fedora 35

11. Install virtualization group.

12. Place saved Virtual Machine Image and slic.bin into the directory /var/lib/libvirt/images/

13. Register virtual machine:

        virsh -c qemu:///system define <xml_file>

15. Run virtual machine - Windows 7 will lose it activation."""
additional = """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](/uploads/da94a96516c3dbe52803fb84738f434c/slic.bin)"""