Revision 4c5b10b7 target-i386/kvm.c
b/target-i386/kvm.c | ||
---|---|---|
24 | 24 |
#include "cpu.h" |
25 | 25 |
#include "gdbstub.h" |
26 | 26 |
#include "host-utils.h" |
27 |
#include "hw/pc.h" |
|
27 | 28 |
|
28 | 29 |
#ifdef CONFIG_KVM_PARA |
29 | 30 |
#include <linux/kvm_para.h> |
... | ... | |
362 | 363 |
* as unavaible memory. FIXME, need to ensure the e820 map deals with |
363 | 364 |
* this? |
364 | 365 |
*/ |
366 |
/* |
|
367 |
* Tell fw_cfg to notify the BIOS to reserve the range. |
|
368 |
*/ |
|
369 |
if (e820_add_entry(0xfffbc000, 0x4000, E820_RESERVED) < 0) { |
|
370 |
perror("e820_add_entry() table is full"); |
|
371 |
exit(1); |
|
372 |
} |
|
365 | 373 |
return kvm_vm_ioctl(s, KVM_SET_TSS_ADDR, 0xfffbd000); |
366 | 374 |
} |
367 | 375 |
|
Also available in: Unified diff