Signed-off-by: liguang
---
default-configs/arm-softmmu.mak |2 +
hw/timer/Makefile.objs |2 +
hw/timer/allwinner-a10-pit.c | 253 ++
include/hw/timer/allwinner-a10-pit.h | 57
4 files changed, 314 insertions(+), 0
Signed-off-by: liguang
---
default-configs/arm-softmmu.mak |1 +
hw/intc/Makefile.objs |1 +
hw/intc/allwinner-a10-pic.c | 217 +++
include/hw/intc/allwinner-a10-pic.h | 40 +++
4 files changed, 259 insertions(+), 0
lay a foundation for allwinner A10 SoC with a cortex-a8
processor, and will add more devices later.
v2: split timer and interrupt controller emulation into
their corresponding files.
v3:
1. change loader_start address
2. add 64-bit counter
3. fixup fail to clear interrup status
Signed-off-by: liguang
---
include/migration/vmstate.h |4
savevm.c| 31 +++
2 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h
index 9d09e60..f5d6e81 100644
--- a
Signed-off-by: liguang
---
default-configs/arm-softmmu.mak |1 +
hw/arm/Makefile.objs|1 +
hw/arm/allwinner-a10.c | 103 +++
include/hw/arm/allwinner-a10.h | 35 +
4 files changed, 140 insertions(+), 0 deletions
Signed-off-by: liguang
---
default-configs/arm-softmmu.mak |2 +
hw/timer/Makefile.objs |2 +
hw/timer/allwinner-a10-pit.c | 254 ++
include/hw/timer/allwinner-a10-pit.h | 59
4 files changed, 317 insertions(+), 0
Signed-off-by: liguang
---
hw/arm/Makefile.objs |2 +-
hw/arm/cubieboard.c | 69 ++
2 files changed, 70 insertions(+), 1 deletions(-)
create mode 100644 hw/arm/cubieboard.c
diff --git a/hw/arm/Makefile.objs b/hw/arm/Makefile.objs
index
Signed-off-by: liguang
Acked-by: Peter Crosthwaite
---
default-configs/arm-softmmu.mak |1 +
hw/arm/Makefile.objs|1 +
hw/arm/allwinner-a10.c | 103 +++
include/hw/arm/allwinner-a10.h | 35 +
4 files changed, 140
lay a foundation for allwinner A10 SoC with a cortex-a8
processor, and will add more devices later.
v2: split timer and interrupt controller emulation into
their corresponding files.
v3:
1. change loader_start address
2. add 64-bit counter
3. fixup fail to clear interrup status
Signed-off-by: liguang
---
include/migration/vmstate.h |4
savevm.c| 31 +++
2 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h
index 9d09e60..f5d6e81 100644
--- a
Signed-off-by: liguang
---
default-configs/arm-softmmu.mak |1 +
hw/intc/Makefile.objs |1 +
hw/intc/allwinner-a10-pic.c | 200 +++
include/hw/intc/allwinner-a10-pic.h | 40 +++
4 files changed, 242 insertions(+), 0
Signed-off-by: liguang
Reviewed-by: Peter Crosthwaite
---
default-configs/arm-softmmu.mak |2 +
hw/timer/Makefile.objs |2 +
hw/timer/allwinner-a10-pit.c | 254 ++
include/hw/timer/allwinner-a10-pit.h | 59
4 files
Signed-off-by: liguang
Acked-by: Peter Crosthwaite
---
hw/arm/Makefile.objs |2 +-
hw/arm/cubieboard.c | 69 ++
2 files changed, 70 insertions(+), 1 deletions(-)
create mode 100644 hw/arm/cubieboard.c
diff --git a/hw/arm/Makefile.objs b
lay a foundation for allwinner A10 SoC with a cortex-a8
processor, and will add more devices later.
v2: split timer and interrupt controller emulation into
their corresponding files.
v3:
1. change loader_start address
2. add 64-bit counter
3. fixup fail to clear interrup status i
From: Peter Maydell
Add support for defining a vmstate field which is an array
of pointers to structures, and use this to define a
VMSTATE_PTIMER_ARRAY() which allows an array of ptimer_state*
to be used by devices.
Signed-off-by: Peter Maydell
---
include/hw/ptimer.h |4
incl
Signed-off-by: liguang
Reviewed-by: Peter Crosthwaite
Reviewed-by: Peter Maydell
---
default-configs/arm-softmmu.mak |1 +
hw/intc/Makefile.objs |1 +
hw/intc/allwinner-a10-pic.c | 200 +++
include/hw/intc/allwinner-a10-pic.h
Signed-off-by: liguang
Reviewed-by: Peter Crosthwaite
---
default-configs/arm-softmmu.mak |2 +
hw/timer/Makefile.objs |2 +
hw/timer/allwinner-a10-pit.c | 254 ++
include/hw/timer/allwinner-a10-pit.h | 59
4 files
Signed-off-by: liguang
Reviewed-by: Peter Crosthwaite
---
default-configs/arm-softmmu.mak |1 +
hw/arm/Makefile.objs|1 +
hw/arm/allwinner-a10.c | 103 +++
include/hw/arm/allwinner-a10.h | 35 +
4 files changed
Signed-off-by: liguang
Reviewed-by: Peter Crosthwaite
---
hw/arm/Makefile.objs |2 +-
hw/arm/cubieboard.c | 69 ++
2 files changed, 70 insertions(+), 1 deletions(-)
create mode 100644 hw/arm/cubieboard.c
diff --git a/hw/arm/Makefile.objs
From: Peter Maydell
Add support for defining a vmstate field which is an array
of pointers to structures, and use this to define a
VMSTATE_PTIMER_ARRAY() which allows an array of ptimer_state*
to be used by devices.
Signed-off-by: Peter Maydell
Signed-off-by: liguang
---
include/hw/ptimer.h
Signed-off-by: liguang
Reviewed-by: Peter Crosthwaite
---
hw/arm/Makefile.objs |2 +-
hw/arm/cubieboard.c | 69 ++
tests/qom-test.c |1 +
3 files changed, 71 insertions(+), 1 deletions(-)
create mode 100644 hw/arm/cubieboard.c
Signed-off-by: liguang
---
MAINTAINERS |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 3e61ac8..73bb943 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -219,6 +219,13 @@ F: *win32*
ARM Machines
+Allwinner-a10
+M: Li
Signed-off-by: liguang
Reviewed-by: Peter Crosthwaite
Reviewed-by: Peter Maydell
---
default-configs/arm-softmmu.mak |1 +
hw/intc/Makefile.objs |1 +
hw/intc/allwinner-a10-pic.c | 200 +++
include/hw/intc/allwinner-a10-pic.h
Signed-off-by: liguang
Reviewed-by: Peter Crosthwaite
---
default-configs/arm-softmmu.mak |1 +
hw/arm/Makefile.objs|1 +
hw/arm/allwinner-a10.c | 103 +++
include/hw/arm/allwinner-a10.h | 35 +
4 files changed
state *
liguang (5):
hw/timer: add allwinner a10 timer
hw/intc: add allwinner A10 interrupt controller
hw/arm: add allwinner a10 SoC support
hw/arm: add cubieboard support
MAINTAINERS: add myself to maintain allwinner-a10
MAINTAINERS |7 +
default-configs/arm-softmm
Signed-off-by: liguang
Reviewed-by: Peter Crosthwaite
---
default-configs/arm-softmmu.mak |2 +
hw/timer/Makefile.objs |2 +
hw/timer/allwinner-a10-pit.c | 254 ++
include/hw/timer/allwinner-a10-pit.h | 58
4 files
sunxi series are SOCs from Allwinner,
including sunxi-4i/5i/6i/7i ...
Signed-off-by: liguang
---
hw/arm/Makefile.objs |2 +-
hw/arm/sunxi-soc.c | 30 ++
2 files changed, 31 insertions(+), 1 deletions(-)
create mode 100644 hw/arm/sunxi-soc.c
diff --git a/hw
this patch-set implemented a device-reduced
machine type for Allwinner's sunxi series SoC,
like sunxi-4i/5i/7i ...
now, It can support sunxi-4i with a cortex-a8 processor.
and will support more later, like sunxi-7i with cortex-a7
processor, and will add more devices.
reference:
http://linux-sun
Signed-off-by: liguang
---
hw/arm/sunxi-soc.c | 290
1 files changed, 290 insertions(+), 0 deletions(-)
diff --git a/hw/arm/sunxi-soc.c b/hw/arm/sunxi-soc.c
index f6849eb..1b369ba 100644
--- a/hw/arm/sunxi-soc.c
+++ b/hw/arm/sunxi-soc.c
Signed-off-by: liguang
---
hw/arm/sunxi-soc.c | 209
1 files changed, 209 insertions(+), 0 deletions(-)
diff --git a/hw/arm/sunxi-soc.c b/hw/arm/sunxi-soc.c
index 1b369ba..960539a 100644
--- a/hw/arm/sunxi-soc.c
+++ b/hw/arm/sunxi-soc.c
Signed-off-by: liguang
---
hw/arm/sunxi-soc.c | 72
1 files changed, 72 insertions(+), 0 deletions(-)
diff --git a/hw/arm/sunxi-soc.c b/hw/arm/sunxi-soc.c
index 960539a..0338e03 100644
--- a/hw/arm/sunxi-soc.c
+++ b/hw/arm/sunxi-soc.c
Signed-off-by: liguang
---
hw/arm/Makefile.objs |1 +
hw/arm/sunxi-soc.c | 113 ++
2 files changed, 114 insertions(+), 0 deletions(-)
create mode 100644 hw/arm/sunxi-soc.c
diff --git a/hw/arm/Makefile.objs b/hw/arm/Makefile.objs
index
this patch-set implemented a device-reduced
machine type for Allwinner's sunxi series SoC,
like sunxi-4i/5i/7i ...
now, It can support sunxi-4i with a cortex-a8 processor.
and will support more later, like sunxi-7i with cortex-a7,
and will add more devices.
V2: split timer and interrupt controll
Signed-off-by: liguang
---
default-configs/arm-softmmu.mak |2 +
hw/timer/Makefile.objs |1 +
hw/timer/sunxi-pit.c| 218 +++
include/hw/timer/sunxi-pit.h| 25 +
4 files changed, 246 insertions(+), 0 deletions(-)
create
Signed-off-by: liguang
---
MAINTAINERS |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 77edacf..232e1a1 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -284,6 +284,15 @@ M: Peter Maydell
S: Maintained
F: hw/*/stellaris*
+Sunxi
Signed-off-by: liguang
---
default-configs/arm-softmmu.mak |1 +
hw/intc/Makefile.objs |1 +
hw/intc/sunxi-pic.c | 297 +++
include/hw/intc/sunxi-pic.h | 27
4 files changed, 326 insertions(+), 0 deletions(-)
create
Signed-off-by: liguang
---
hw/arm/Makefile.objs |1 +
hw/arm/sunxi-soc.c | 113 ++
2 files changed, 114 insertions(+), 0 deletions(-)
create mode 100644 hw/arm/sunxi-soc.c
diff --git a/hw/arm/Makefile.objs b/hw/arm/Makefile.objs
index
Signed-off-by: liguang
---
MAINTAINERS |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 77edacf..232e1a1 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -284,6 +284,15 @@ M: Peter Maydell
S: Maintained
F: hw/*/stellaris*
+Sunxi
this patch-set implemented a device-reduced
machine type for Allwinner's sunxi series SoC,
like sunxi-4i/5i/7i ...
now, It can support sunxi-4i with a cortex-a8 processor.
and will support more later, like sunxi-7i with cortex-a7,
and will add more devices.
v2: split timer and interrupt controll
Signed-off-by: liguang
---
default-configs/arm-softmmu.mak |2 +
hw/timer/Makefile.objs |1 +
hw/timer/sunxi-pit.c| 260 +++
include/hw/timer/sunxi-pit.h| 26
4 files changed, 289 insertions(+), 0 deletions(-)
create
Signed-off-by: liguang
---
default-configs/arm-softmmu.mak |1 +
hw/intc/Makefile.objs |1 +
hw/intc/sunxi-pic.c | 301 +++
include/hw/intc/sunxi-pic.h | 27
4 files changed, 330 insertions(+), 0 deletions(-)
create
this patch-set implemented a device-reduced
machine type for Allwinner's sunxi series SoC,
like sunxi-4i/5i/7i ...
now, It can support sunxi-4i with a cortex-a8 processor.
and will support more later, like sunxi-7i with cortex-a7,
and will add more devices.
v2: split timer and interrupt controll
Signed-off-by: liguang
---
MAINTAINERS |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 77edacf..232e1a1 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -284,6 +284,15 @@ M: Peter Maydell
S: Maintained
F: hw/*/stellaris*
+Sunxi
Signed-off-by: liguang
---
hw/arm/Makefile.objs |1 +
hw/arm/sunxi-soc.c | 98 ++
2 files changed, 99 insertions(+), 0 deletions(-)
create mode 100644 hw/arm/sunxi-soc.c
diff --git a/hw/arm/Makefile.objs b/hw/arm/Makefile.objs
index
Signed-off-by: liguang
---
default-configs/arm-softmmu.mak |2 +
hw/timer/Makefile.objs |1 +
hw/timer/sunxi-pit.c| 295 +++
include/hw/timer/sunxi-pit.h| 37 +
4 files changed, 335 insertions(+), 0 deletions(-)
create
Signed-off-by: liguang
---
default-configs/arm-softmmu.mak |1 +
hw/intc/Makefile.objs |1 +
hw/intc/sunxi-pic.c | 238 +++
include/hw/intc/sunxi-pic.h | 20
4 files changed, 260 insertions(+), 0 deletions(-)
create
Signed-off-by: liguang
---
default-configs/arm-softmmu.mak |2 +
hw/timer/Makefile.objs |1 +
hw/timer/sunxi-pit.c| 276 +++
include/hw/timer/sunxi-pit.h| 37 +
4 files changed, 316 insertions(+), 0 deletions(-)
create
this patch-set implemented a device-reduced
machine type for Allwinner's sunxi series SoC,
like sunxi-4i/5i/7i ...
now, It can support sunxi-4i with a cortex-a8 processor.
and will support more later, like sunxi-7i with cortex-a7,
and will add more devices.
v2: split timer and interrupt controll
Signed-off-by: liguang
---
MAINTAINERS |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 77edacf..232e1a1 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -284,6 +284,15 @@ M: Peter Maydell
S: Maintained
F: hw/*/stellaris*
+Sunxi
Signed-off-by: liguang
---
hw/arm/Makefile.objs |1 +
hw/arm/sunxi-soc.c | 98 ++
2 files changed, 99 insertions(+), 0 deletions(-)
create mode 100644 hw/arm/sunxi-soc.c
diff --git a/hw/arm/Makefile.objs b/hw/arm/Makefile.objs
index
Signed-off-by: liguang
---
default-configs/arm-softmmu.mak |1 +
hw/intc/Makefile.objs |1 +
hw/intc/sunxi-pic.c | 247 +++
include/hw/intc/sunxi-pic.h | 20 +++
4 files changed, 269 insertions(+), 0 deletions(-)
create
Signed-off-by: liguang
---
include/hw/ptimer.h |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/hw/ptimer.h b/include/hw/ptimer.h
index 28fcaf1..a9b8f1d 100644
--- a/include/hw/ptimer.h
+++ b/include/hw/ptimer.h
@@ -27,6 +27,9 @@ void ptimer_stop(ptimer_state *s
Signed-off-by: liguang
---
hw/intc/sunxi-pic.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/intc/sunxi-pic.c b/hw/intc/sunxi-pic.c
index 5fd86f9..ea75f84 100644
--- a/hw/intc/sunxi-pic.c
+++ b/hw/intc/sunxi-pic.c
@@ -77,7 +77,7 @@ static void sunxi_pic_set_irq
Signed-off-by: liguang
---
default-configs/arm-softmmu.mak |1 +
hw/intc/Makefile.objs |1 +
hw/intc/sunxi-pic.c | 247 +++
include/hw/intc/sunxi-pic.h | 20 +++
4 files changed, 269 insertions(+), 0 deletions(-)
create
Signed-off-by: liguang
---
hw/arm/Makefile.objs |1 +
hw/arm/sunxi-soc.c | 98 ++
2 files changed, 99 insertions(+), 0 deletions(-)
create mode 100644 hw/arm/sunxi-soc.c
diff --git a/hw/arm/Makefile.objs b/hw/arm/Makefile.objs
index
Signed-off-by: liguang
---
include/hw/ptimer.h |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/hw/ptimer.h b/include/hw/ptimer.h
index 28fcaf1..a9b8f1d 100644
--- a/include/hw/ptimer.h
+++ b/include/hw/ptimer.h
@@ -27,6 +27,9 @@ void ptimer_stop(ptimer_state *s
Signed-off-by: liguang
---
default-configs/arm-softmmu.mak |2 +
hw/timer/Makefile.objs |1 +
hw/timer/sunxi-pit.c| 252 +++
include/hw/timer/sunxi-pit.h| 56 +
4 files changed, 311 insertions(+), 0 deletions
this patch-set implemented a device-reduced
machine type for Allwinner's sunxi series SoC,
like sunxi-4i/5i/7i ...
now, It can support sunxi-4i with a cortex-a8 processor.
and will support more later, like sunxi-7i with cortex-a7,
and will add more devices.
v2: split timer and interrupt controll
Signed-off-by: liguang
---
default-configs/arm-softmmu.mak |1 +
hw/intc/Makefile.objs |1 +
hw/intc/sunxi-pic.c | 218 +++
include/hw/intc/sunxi-pic.h | 40 +++
4 files changed, 260 insertions(+), 0 deletions
Signed-off-by: liguang
---
MAINTAINERS |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 77edacf..232e1a1 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -284,6 +284,15 @@ M: Peter Maydell
S: Maintained
F: hw/*/stellaris*
+Sunxi
Signed-off-by: liguang
---
default-configs/arm-softmmu.mak |2 +
hw/timer/Makefile.objs |1 +
hw/timer/sunxi-pit.c| 254 +++
include/hw/timer/sunxi-pit.h| 56 +
4 files changed, 313 insertions(+), 0 deletions
qemu-img will complain when qcow or qcow2
size overflow for 64 bits, report the right
message in this condition.
Signed-off-by: liguang
---
qemu-img.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/qemu-img.c b/qemu-img.c
index f17f187..a332467 100644
--- a/qemu
qemu-img will complain when qcow or qcow2
size overflow for 64 bits, report the right
message in this condition.
Signed-off-by: liguang
---
qemu-img.c | 16 +---
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/qemu-img.c b/qemu-img.c
index f17f187..2a45427 100644
qemu-img will complain when qcow or qcow2
size overflow for 64 bits, report the right
message in this condition.
Signed-off-by: liguang
---
qemu-img.c | 16 +---
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/qemu-img.c b/qemu-img.c
index f17f187..2a45427 100644
qemu-img will complain when qcow or qcow2
size overflow for 64 bits, report the right
message in this condition.
Signed-off-by: liguang
---
qemu-img.c | 21 +
1 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/qemu-img.c b/qemu-img.c
index f17f187..a81f45b
qemu-img will complain when qcow or qcow2
size overflow for 64 bits, report the right
message in this condition.
Signed-off-by: liguang
---
qemu-img.c |9 +++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/qemu-img.c b/qemu-img.c
index b41e670..d4ea800 100644
--- a
qemu-img will complain when qcow or qcow2
size overflow for 64 bits, report the right
message in this condition.
Signed-off-by: liguang
---
qemu-img.c |7 ++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/qemu-img.c b/qemu-img.c
index b41e670..d9434ad 100644
--- a/qemu
1.remove unused variable env
2.remove redundant error handling
Signed-off-by: liguang
---
target-i386/helper.c | 17 -
1 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/target-i386/helper.c b/target-i386/helper.c
index bf206cf..5686130 100644
--- a/target-i386
Signed-off-by: liguang
---
target-i386/cpu.h | 13 +
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index 90ef1ff..7f292e6 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -558,6 +558,19 @@
#define CPU_INTERRUPT_TPR
Signed-off-by: liguang
---
target-i386/helper.c | 28
1 files changed, 20 insertions(+), 8 deletions(-)
diff --git a/target-i386/helper.c b/target-i386/helper.c
index 9ca52a7..a506df0 100644
--- a/target-i386/helper.c
+++ b/target-i386/helper.c
@@ -1012,22
Signed-off-by: liguang
---
target-i386/cpu.h |2 ++
target-i386/helper.c | 24 +++-
target-i386/misc_helper.c |6 +++---
target-i386/seg_helper.c |6 +++---
4 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/target-i386/cpu.h b/target
1. define names of breakpoints in dr7
2. slightly refactor bits field of breakpoint
related functions.
Signed-off-by: liguang
---
target-i386/cpu.h |6
target-i386/helper.c | 59
target-i386/machine.c |2 +-
target
Signed-off-by: liguang
---
target-i386/cpu.h |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index 9abec3e..8ca25c8 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -996,9 +996,9 @@ int cpu_x86_handle_mmu_fault
Signed-off-by: liguang
---
target-i386/cpu.h |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index 90ef1ff..9abec3e 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -231,6 +231,13 @@
#define DR7_TYPE_SHIFT 16
Now, it's impossible to arrange devices into multi-pci-bus,
for example:
libvirt will complain about "bus != 0",
fortunately, qemu supports pci-to-pci bridge,
if we want to use multi-pci-bus, we can define
2 pci bridge controllers, then attach 1 to the other
as
Signed-off-by: liguang
---
src/qemu/qemu_command.c | 25 -
1 files changed, 20 insertions(+), 5 deletions(-)
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index 04a9512..0da32e0 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
Signed-off-by: liguang
---
src/conf/device_conf.c | 12 +++-
src/conf/device_conf.h |1 +
src/conf/domain_conf.c |5 -
src/conf/domain_conf.h |1 +
4 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/src/conf/device_conf.c b/src/conf/device_conf.c
index
tches.
Signed-off-by: liguang
---
target-i386/cpu.h | 19 ++-
target-i386/helper.c | 76 ++---
target-i386/machine.c |5 ++-
target-i386/misc_helper.c |4 +-
target-i386/seg_helper.c |9 +++--
5 files changed, 79 inser
the breakpoint related functions are a little
hard to read for their implicit dr7 bit filed
and not well organized logic, so try to define
more readable bit filed for dr7 and clarify
the breakpoint logic.
changes v4->v5
- fix some not well formated changes.
- split functional and non-functional c
implictly use of dr7 bit field is a little hard
to understand, so try to define them and use the
defined name.
Signed-off-by: liguang
---
target-i386/cpu.h |6 ++
target-i386/machine.c |5 +++--
target-i386/misc_helper.c |4 ++--
target-i386/seg_helper.c |9
logic of some original dr7 related functions
are not so readable, so try to clearify them.
Signed-off-by: liguang
---
target-i386/cpu.h| 13 -
target-i386/helper.c | 76 +
2 files changed, 63 insertions(+), 26 deletions(-)
diff
ignore *.patch, *.gcda, *.gcno
Signed-off-by: liguang
---
.gitignore |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index 27ad002..9c234a3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -80,6 +80,9 @@ fsdev/virtfs-proxy-helper.pod
*.swp
*.orig
Reviewed-by: Andreas Färber
Signed-off-by: liguang
---
hw/qdev.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/hw/qdev.c b/hw/qdev.c
index 689cd54..2bed9d8 100644
--- a/hw/qdev.c
+++ b/hw/qdev.c
@@ -116,11 +116,10 @@ DeviceState *qdev_create(BusState *bus, const
e.g.
$qemu-system-x86_64 -device port92
will report segment fault,
for port92_write try a un-allocated
assignment for a20_out.
so check before this assignment.
Signed-off-by: liguang
---
hw/i386/pc.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/hw/i386/pc.c b/hw
Signed-off-by: liguang
---
hw/i386/pc.c | 109 ++
1 files changed, 56 insertions(+), 53 deletions(-)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index ed7d9ba..b1e06fa 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -646,8 +646,8 @@ static
am disk"
that's misleading.
Signed-off-by: liguang
---
hw/i386/pc.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index b1e06fa..2b78dfc 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -683,8 +683,10 @@ static void load_linux(
e.g.
$qemu-system-x86_64 -device port92
will report segment fault,
for port92_write try a un-allocated
assignment for a20_out.
so check before this assignment.
Signed-off-by: liguang
---
hw/i386/pc.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/hw/i386/pc.c b/hw
as suggested by Andreas
Signed-off-by: liguang
---
hw/i386/pc.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index b881314..b0454eb 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -503,6 +503,11 @@ static void port92_realizefn
am disk"
that's misleading.
Signed-off-by: liguang
---
hw/i386/pc.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index b1e06fa..bfbb5fe 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -683,6 +683,9 @@ static void load_linux(
so, devices can connect power signal with power chip
Signed-off-by: liguang
---
hw/qdev-core.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/qdev-core.h b/hw/qdev-core.h
index 547fbc7..abbb570 100644
--- a/hw/qdev-core.h
+++ b/hw/qdev-core.h
@@ -121,6 +121,7
define struct IRQState in irq.c bring in
a annoying result, if you want dereference of
IRQState's member like opaque outside of
irq.c, compiler will complain:
"error: dereferencing pointer to incomplete type"
Signed-off-by: liguang
---
hw/irq.c |6 --
hw/irq.h |6
Signed-off-by: liguang
---
include/sysemu/sysemu.h |7 +--
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
index 6578782..83796b3 100644
--- a/include/sysemu/sysemu.h
+++ b/include/sysemu/sysemu.h
@@ -9,6 +9,7 @@
#include
run power_management temporarily,
later, if this approach is accepted,
will try to replace main_loop_should_exit()
Signed-off-by: liguang
---
vl.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/vl.c b/vl.c
index a14549e..731158a 100644
--- a/vl.c
+++ b/vl.c
@@ -2041,6
By now, all devices of QEMU do not have much more
power management consideration, for example, if
system do suspend, it will call all registered notifiers,
this was loosely required, and the code to do power management
state transition seems just do 'ugly emulation', rather than be
conscious with w
realize wakeup function for ICH9-LPC device
Signed-off-by: liguang
---
hw/acpi.c | 20 +---
hw/acpi.h |3 ++-
hw/acpi_ich9.c |2 +-
hw/ich9.h |2 ++
hw/lpc_ich9.c | 31 ++-
5 files changed, 44 insertions(+), 14
Signed-off-by: liguang
---
vl.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/vl.c b/vl.c
index aeed7f4..a14549e 100644
--- a/vl.c
+++ b/vl.c
@@ -171,6 +171,8 @@ int main(int argc, char **argv)
#include "ui/qemu-spice.h"
#include "qapi/string-
.
Signed-off-by: liguang
---
hw/Makefile.objs |1 +
hw/power.c | 178 ++
hw/power.h | 50 +++
3 files changed, 229 insertions(+), 0 deletions(-)
create mode 100644 hw/power.c
create mode 100644 hw/power.h
diff
load a ram disk"
that's misleading.
Signed-off-by: liguang
---
hw/i386/pc.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index ebbf059..6b29c3f 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -686,6 +686,8 @@ static void load_linux(
Signed-off-by: liguang
---
target-arm/translate.c | 17 -
target-i386/translate.c | 17 -
target-mips/translate.c | 16
3 files changed, 24 insertions(+), 26 deletions(-)
diff --git a/target-arm/translate.c b/target-arm/translate.c
index
when enable DEBUG_DEBUGCON, there are some message
printing issues, so fix them.
Li Guang (3)
debugcon: fix debug format specifiers
debugcon: beautify debugcon debug output
debugcon: add DPRINTF for debugcon debug
hw/char/debugcon.c | 22 +++--
1 files changed, 16 insert
201 - 300 of 345 matches
Mail list logo