blob: ac8a6af7b11342b57bc610da6665b3476dac70c0 (
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
|
device: 0.895
graphic: 0.784
instruction: 0.760
other: 0.742
boot: 0.731
network: 0.686
socket: 0.654
semantic: 0.652
vnc: 0.577
mistranslation: 0.523
KVM: 0.469
assembly: 0.129
Support more than 4G memory for guest with Intel HAXM acceleration
setup:
host: windows 7 professional 64bit
guest: centos 7
qemu 2.10.92
haxm 6.2.1
issue: when assign 4096M or more memory to the guest, I got following error message:
E:\qemuvm\vm-svr>qemu-system-x86_64 -accel hax -hda centos-1.vdi -m 4096
HAX is working and emulator runs in fast virt mode.
Failed to allocate 0 memory
hax_transaction_commit: Failed mapping @0x0000000000000000+0xc0000000 flags 00
hax_transaction_commit: Failed mapping @0x0000000100000000+0x40000000 flags 00
VCPU shutdown request
VCPU shutdown request
if I change memory to 4095M, guest VM boot up without issue
E:\qemuvm\vm-svr>qemu-system-x86_64 -accel hax -hda centos-1.vdi -m 4095
HAX is working and emulator runs in fast virt mode.
This is known limitation, I already raised a request on HAXM github site for fix this: https://github.com/intel/haxm/issues/13, and it got accepted will be fixed in next haxm release; however it seems there is also qemu side work (according to haxm dev), so I raise this for qemu side fix;
update:
according to haxm dev, they will submit a patch for qemu side of work;
Fix has been included here:
https://git.qemu.org/?p=qemu.git;a=commitdiff;h=7a5235c9e679c58be4
|