memory usage.
Signed-off-by: Anthony Xu
---
cpus.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/cpus.c b/cpus.c
index 740b8dc..15c7a6a 100644
--- a/cpus.c
+++ b/cpus.c
@@ -1748,8 +1748,13 @@ void qemu_init_vcpu(CPUState *cpu)
/* If the target cpu hasn't s
when smm is disabled, smram is not used, so disable it
Signed-off-by: Anthony Xu
---
hw/pci-host/piix.c | 45 +++--
hw/pci-host/q35.c | 83 +-
kvm-all.c | 3 +-
target/i386/kvm.c | 2 +-
4 files changed, 70
If trace backend is set to TRACE_NOP, trace_get_vcpu_event_count
returns 0, cause bitmap_new call abort.
Signed-off-by: Anthony Xu
---
qom/cpu.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/qom/cpu.c b/qom/cpu.c
index f02e9c0..f9111a0 100644
--- a/qom/cpu.c
+++ b/qom
pc.rom depends on pam. When pam is disabled, pc.rom is useless
Signed-off-by: Anthony Xu
---
hw/i386/pc.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 9d154c2..455f7fe 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -1358,7
when pam is disabled, set pc.bios and isa.bios region as writeable,
and add isa.bios to system memory region.
Signed-off-by: Anthony Xu
---
hw/i386/pc.c | 2 +-
hw/i386/pc_sysfw.c | 30 +-
include/hw/i386/pc.h | 4 +++-
3 files changed, 25 insertions
by default PAM is enabled. when PAM is disabled,
*_init_pam and *_update_pam are dummy functions
Signed-off-by: Anthony Xu
---
hw/i386/pc.c | 18 ++
hw/pci-host/piix.c | 36
hw/pci-host/q35.c| 34
isa.bios is acctually disabled because it is under pci memory region
which has lower priority than pc.ram region.
Anthony Xu (4):
pam: refactor PAM related code
pam: Make PAM configurable
pam: disable pc.rom when pam is disabled
pam: setup pc.bios
hw/i386/pc.c | 33
split PAM SMRAM functions in piix.c
create mch_init_pam in q35.c
Signed-off-by: Anthony Xu
---
hw/pci-host/piix.c | 58 ++
hw/pci-host/q35.c | 23 +-
2 files changed, 55 insertions(+), 26 deletions(-)
diff --git a/hw/pci
If KVM provides VAPIC, don't set up kvmvapic.
Signed-off-by: Anthony Xu
---
hw/intc/apic_common.c | 5 -
include/sysemu/kvm.h | 1 +
kvm-all.c | 5 +
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/hw/intc/apic_common.c b/hw/intc/apic_common.c
index c3
move xen-mapcache.c to hw/i386/xen/
Signed-off -by: Anthony Xu
---
Makefile.target | 3 ---
default-configs/i386-softmmu.mak | 1 -
default-configs/x86_64-softmmu.mak | 1 -
hw/i386/xen/Makefile.objs| 2 +-
hw/i386/xen
move xen-common.c to hw/xen/
Signed-off -by: Anthony Xu
---
Makefile.target | 2 --
hw/xen/Makefile.objs| 2 +-
xen-common.c => hw/xen/xen-common.c | 0
stubs/Makefile.objs | 1 +
xen-common-stub.c => stubs/xen-common
move xen-hvm.c to hw/i386/xen/
Signed-off -by: Anthony Xu
---
Makefile.target| 3 +--
hw/i386/xen/Makefile.objs | 2 +-
hw/i386/xen/trace-events | 11 +++
xen-hvm.c => hw/i386/xen/xen-hvm.c | 2 +-
stubs/Makefile.objs|
move xen related files to corresponding xen directory
move xen-common.c to hw/xen/
move xen-hvm.c to hw/i386/xen/
move xen-mapcache.c to hw/i386/xen/
Signed-off -by: Anthony Xu
Makefile.target | 6 --
default-configs/i386-softmmu.mak
13 matches
Mail list logo