blob: 58d4840eb3a9d4880521cf0e6f7b67fb69cb9858 (
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
i386: 0.899
graphic: 0.895
performance: 0.885
x86: 0.843
boot: 0.837
device: 0.801
user-level: 0.791
architecture: 0.787
socket: 0.776
semantic: 0.756
files: 0.723
vnc: 0.712
PID: 0.709
mistranslation: 0.671
ppc: 0.667
permissions: 0.650
TCG: 0.638
kernel: 0.635
hypervisor: 0.631
network: 0.586
arm: 0.578
debug: 0.548
risc-v: 0.537
register: 0.508
assembly: 0.508
VMM: 0.459
virtual: 0.410
peripherals: 0.395
KVM: 0.321
HAX on Windows, memory lease error
Today I tried to use QEMU on Windows 8.1 x64 with Intel HAX.
Command line: qemu-system-x86_64.exe -accel hax -m 8000 -hda /opt/disk/ubuntu.img -cdrom /opt/iso/ubuntu-17.04-server-amd64.iso
Host machine has 32Gb physical memory, I got error:
HAX is working and emulator runs in fast virt mode.
**
ERROR:A:/msys64/home/admin/git/qemu/target/i386/hax-mem.c:210:hax_process_section: assertion failed: (size <= UINT32_MAX)
When using -m 4000 (and below) everything is fine. But if I try use >4000 and <8000 I get crash with errors:
HAX is working and emulator runs in fast virt mode.
hax_transaction_commit: Failed mapping @0x0000000100000000+0x78800000 flags 00
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
It seems that HAX not working at all:
qemu-system-x86_64.exe -accel hax -fda /opt/iso/freedos.img
(with image of boot floppy from official FreeDOS site)
Crash on loading with:
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
qemu-system-x86_64.exe -accel hax -cdrom /opt/iso/ubuntu-17.04-server-amd64.iso, hang on:
Booting from DVD/CD...
ISOLINUX 6.03 20170128 ETCD
See https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-windows:
"QEMU or Android Emulator will fail to launch if the guest RAM size (specified with the -m option for QEMU or -memory for Android Emulator) exceeds 4095MB."
HAX is limited to a 32 bit memory size. There is no way to change that without breaking compatibility.
The main problem is that HAX currently doesn't work properly at all on my both Windows 8.1 and Mac OS X 10.12.6 machines.
I can give other examples if it is necessary
Looking through old bug tickets... is this still an issue with the latest version of QEMU? Or could we close this ticket nowadays?
[Expired for QEMU because there has been no activity for 60 days.]
|