add coalesced_pio's struct and KVM_CAP_COALESCED_PIO header.
Signed-off-by: Peng Hao
Reviewed-by: Eduardo Habkost
---
accel/kvm/kvm-all.c | 4 ++--
linux-headers/linux/kvm.h | 11 +--
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/accel/kvm/kvm-all.c b/accel/kvm
Signed-off-by: Peng Hao
Reviewed-by: Eduardo Habkost
---
accel/kvm/kvm-all.c | 57 +++
include/exec/memory.h | 4 ++--
memory.c | 4 ++--
3 files changed, 57 insertions(+), 8 deletions(-)
diff --git a/accel/kvm/kvm-all.c b/accel
Signed-off-by: Peng Hao
Reviewed-by: Eduardo Habkost
---
hw/timer/mc146818rtc.c | 8
1 file changed, 8 insertions(+)
diff --git a/hw/timer/mc146818rtc.c b/hw/timer/mc146818rtc.c
index 6f1f723..b19ef51 100644
--- a/hw/timer/mc146818rtc.c
+++ b/hw/timer/mc146818rtc.c
@@ -70,6 +70,7
der, improve compatibility.
Changes v3 --> v4
modify coalesced_mmio_{add|del} to coalesced_io_{add|del}
delete unnecessary macro define
Peng Hao (4):
target-i386: introduce coalesced_pio kvm header update
target-i386: add coalesced_pio API
target-i386: add rtc 0x70 port as coalesc
Signed-off-by: Peng Hao
---
accel/kvm/kvm-all.c | 57 +++
include/exec/memory.h | 4 ++--
memory.c | 4 ++--
3 files changed, 57 insertions(+), 8 deletions(-)
diff --git a/accel/kvm/kvm-all.c b/accel/kvm/kvm-all.c
index 4a3909d
consideration in changing coalesecd_mmio's
naming in kernel and qemu together.So maybe another patch does it.
Peng Hao (4):
target-i386: introduce coalesced_pio kvm header update
target-i386:add coalesced_pio API
target-i386: add rtc 0x70 port as coalesced_pio
target-i386: add i440fx 0xcf8 port
add coalesced_pio's struct and KVM_CAP_COALESCED_PIO header.
Signed-off-by: Peng Hao
---
accel/kvm/kvm-all.c | 4 ++--
linux-headers/linux/kvm.h | 5 +++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/accel/kvm/kvm-all.c b/accel/kvm/kvm-all.c
index eb7db92..4a3909d
Signed-off-by: Peng Hao
---
hw/pci-host/piix.c | 4
1 file changed, 4 insertions(+)
diff --git a/hw/pci-host/piix.c b/hw/pci-host/piix.c
index 0e60834..da73743 100644
--- a/hw/pci-host/piix.c
+++ b/hw/pci-host/piix.c
@@ -327,6 +327,10 @@ static void i440fx_pcihost_realize(DeviceState *dev
Signed-off-by: Peng Hao
---
hw/timer/mc146818rtc.c | 8
1 file changed, 8 insertions(+)
diff --git a/hw/timer/mc146818rtc.c b/hw/timer/mc146818rtc.c
index 6f1f723..b19ef51 100644
--- a/hw/timer/mc146818rtc.c
+++ b/hw/timer/mc146818rtc.c
@@ -70,6 +70,7 @@ typedef struct RTCState
Signed-off-by: Peng Hao
---
accel/kvm/kvm-all.c | 58 -
include/exec/memattrs.h | 2 +-
2 files changed, 53 insertions(+), 7 deletions(-)
diff --git a/accel/kvm/kvm-all.c b/accel/kvm/kvm-all.c
index eb7db92..830745e 100644
--- a/accel/kvm/kvm
consideration in changing coalesecd_mmio's
naming in kernel and qemu together.So maybe another patch does it.
Peng Hao (4):
target-i386: introduce coalesced_pio kvm header update
target-i386: add coalesced_pio API
target-i386: add rtc 0x70 port as coalesced_pio
target-i386: add i440fx 0xcf8
add coalesced_pio's struct and KVM_CAP_COALESCED_PIO.
Signed-off-by: Peng Hao
---
linux-headers/linux/kvm.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h
index 98f389a..747b473 100644
--- a/linux-headers/linux
Signed-off-by: Peng Hao
---
hw/timer/mc146818rtc.c | 8
1 file changed, 8 insertions(+)
diff --git a/hw/timer/mc146818rtc.c b/hw/timer/mc146818rtc.c
index 6f1f723..1ef5f77 100644
--- a/hw/timer/mc146818rtc.c
+++ b/hw/timer/mc146818rtc.c
@@ -70,6 +70,7 @@ typedef struct RTCState
Signed-off-by: Peng Hao
---
hw/pci-host/piix.c | 4
1 file changed, 4 insertions(+)
diff --git a/hw/pci-host/piix.c b/hw/pci-host/piix.c
index 0e60834..da73743 100644
--- a/hw/pci-host/piix.c
+++ b/hw/pci-host/piix.c
@@ -327,6 +327,10 @@ static void i440fx_pcihost_realize(DeviceState *dev
Signed-off-by: Peng Hao
---
hw/pci-bridge/dec.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/hw/pci-bridge/dec.c b/hw/pci-bridge/dec.c
index 84492d5..ab39185 100644
--- a/hw/pci-bridge/dec.c
+++ b/hw/pci-bridge/dec.c
@@ -31,16 +31,6 @@
#include "hw/pci/pci_bridge.h"
and set s->open_source=NULL.
Signed-off-by: Peng Hao <peng.h...@zte.com.cn>
---
chardev/char-pty.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/chardev/char-pty.c b/chardev/char-pty.c
index 89315e6..da0f286 100644
--- a/chardev/char-pty.c
+++ b/chardev/c
Samples Samples% Time% Min Time Max Time Avg time
0x70:POUT 10632.02%29.47%0us 10us 1.57us (+- 7.38%)
the patch is a part of optimizing rtc 0x70 port access. Another is in
kernel.
Signed-off-by: Peng Hao <peng.h...@zte.com.cn>
---
accel/kvm/kvm-all.c
Samples Samples% Time% Min Time Max Time Avg time
0x70:POUT 10632.02%29.47%0us 10us 1.57us (+- 7.38%)
the patch is a part of optimizing rtc 0x70 port access. Another is in
kernel.
Signed-off-by: Peng Hao <peng.h...@zte.com.cn>
---
accel/kvm/kvm-all.c
-by: Peng Hao <peng.h...@zte.com.cn>
Reviewed-by: Liu Yi <liu.y...@zte.com.cn>
---
accel/kvm/kvm-all.c | 17 +
linux-headers/linux/kvm.h | 3 ++-
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/accel/kvm/kvm-all.c b/accel/kvm/kvm-all.c
index 46ce479..68
SET_STATE,
add KVM_VCPUEVENT_VALID_SMM in events.flags.I think it is better to
modify in qemu.
Signed-off-by: Peng Hao <peng.h...@zte.com.cn>
---
target/i386/kvm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/i386/kvm.c b/target/i386/kvm.c
index a6613e1.
and REG_A_UIP will not vary.At last windows kernel will repeat to
check REG_A_UIP all the time.
Signed-off-by: Peng Hao <peng.h...@zte.com.cn>
Signed-off-by: Liu Yi <liu.y...@zte.com.cn>
---
hw/timer/mc146818rtc.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --gi
and REG_A_UIP will not vary.At last windows kernel will repeat to
check REG_A_UIP all the time.
Signed-off-by: Peng Hao <peng.h...@zte.com.cn>
Signed-off-by: Liu Yi <liu.y...@zte.com.cn>
---
hw/timer/mc146818rtc.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --gi
and REG_A_UIP will not vary.At last windows kernel will repeat to
check REG_A_UIP all the time.
Signed-off-by: Peng Hao <peng.h...@zte.com.cn>
Signed-off-by: Liu Yi <liu.y...@zte.com.cn>
---
hw/timer/mc146818rtc.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --gi
may be more than
vhost slot limit.
Signed-off-by: Peng Hao <peng.h...@zte.com.cn>
Signed-off-by: Wang Yechao <wang.yechao...@zte.com.cn>
---
hw/mem/pc-dimm.c| 2 +-
include/sysemu/sysemu.h | 1 +
vl.c| 5 +
3 files changed, 7 insertions(+), 1 deletion(-)
of several dimms.
Signed-off-by: Peng Hao <peng.h...@zte.com.cn>
Signed-off-by: Wang Yechao <wang.yechao...@zte.com.cn>
---
hw/mem/pc-dimm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/mem/pc-dimm.c b/hw/mem/pc-dimm.c
index ea67b46..bb0fa08 100644
--- a/hw/mem/pc-dim
In the first line of run_agent,it has set ga_state = s,don't need
set ga_state = s again behind.
Signed-off-by: Peng Hao <peng.h...@zte.com.cn>
---
qga/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qga/main.c b/qga/main.c
index 405c129..dcd6104 100644
---
qemu call kvm_get_vcpu_events, and kernel return sipi_vector always 0,
never valid when reporting to user space. But qemu call kvm_put_vcpu_events
will make sipi_vector in kernel be 0. This will accidently modify sipi_vector
when sipi_vector in kernel is not 0.
Signed-off-by: Peng Hao <pen
Parallel device don't register be->chr_can_read function, but remote
disconnect event is handled in chr_read.So connected parallel device
can not detect remote disconnect event. The chardevs with chr_can_read=NULL
has the same problem.
Signed-off-by: Peng Hao <peng.h...@zte.com.cn>
qemu call kvm_get_vcpu_events, and kernel return sipi_vector always 0,
never valid when reporting to user space. But qemu call kvm_put_vcpu_events
will make sipi_vector in kernel be 0. This will accidently modify sipi_vector
when sipi_vector in kernel is not 0.
Signed-off-by: Peng Hao <pen
Parallel device don't register be->chr_can_read function, but remote
disconnect event is handled in chr_read.So connected parallel device
can not detect remote disconnect event. The chardevs with chr_can_read=NULL
has the same problem.
Signed-off-by: Peng Hao <peng.h...@zte.com.cn>
Parallel device don't register be->chr_can_read function, but remote disconnect
event is handled in chr_read.
So connected parallel device can not detect remote disconnect event.
Signed-off-by: Peng Hao <peng.h...@zte.com.cn>
Reviewed-by: Wang Yechao <wang.yechao...@zte.com.cn>
--
From: Hao Peng <peng.h...@zte.com.cn>
if audio device is opend for a long time in windows vm, there is a uint32_t
varaible reversal.
It will result to a dead loop.
Signed-off-by: Peng Hao <peng.h...@zte.com.cn>
Reviewed-by: Liu Yun <liu.y...@zte.com.cn>
Reviewed-by: Wang Y
vhost exists a call for g_file_get_contents, but not call g_free.
Signed-off-by: Peng Hao<peng.h...@zte.com.cn>
---
hw/virtio/vhost-backend.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/virtio/vhost-backend.c b/hw/virtio/vhost-backend.c
index 4e31de1..2c481d6 100644
--- a/hw/
101 - 133 of 133 matches
Mail list logo