blob: 7d7f15d140c823f017591017493feb71b92cfcb2 (
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
|
other: 0.962
graphic: 0.895
performance: 0.885
boot: 0.837
device: 0.801
socket: 0.776
semantic: 0.756
files: 0.723
vnc: 0.712
PID: 0.709
permissions: 0.650
network: 0.586
debug: 0.548
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.]
|