On 16/03/12 13:55, Kevin O'Connor wrote:
> On Thu, Mar 15, 2012 at 04:29:30PM +1300, Alexey Korolev wrote:
>> On 14/03/12 13:48, Kevin O'Connor wrote:
>>> On Tue, Mar 13, 2012 at 05:45:19PM +1300, Alexey Korolev wrote:
Added pci_region_entry structure and list operations to pciinit.c
List
Public bug reported:
Virtual audio driver for darwin is using deprecated APIs.
○ → ./configure --cc=/usr/bin/gcc --disable-darwin-user --disable-bsd-
user --disable-guest-agent
○ → make
.
.
.
CCaudio/noaudio.o
CCaudio/wavaudio.o
CCaudio/mixeng.o
CCaudio/coreaudio.o
audi
This patch clarifies VIRTIO_NET_S_LINK_UP as a read-only bit and
VIRTIO_NET_S_ANNOUNCE as a read-writable bit. Also introduce the write 1 to
clear semantics for all read-writable bits of config status field. This could
help to reduce the config status field updating race between host and guest and
Walk cpu's page table and collect all virtual address and physical address
mapping.
Then, add these mapping into memory mapping list. If the guest does not use
paging,
it will do nothing. Note: the I/O memory will be skipped.
Signed-off-by: Wen Congyang
---
Makefile.target |
The command's usage:
dump [-p] protocol [begin] [length]
The supported protocol can be file or fd:
1. file: the protocol starts with "file:", and the following string is
the file's path.
2. fd: the protocol starts with "fd:", and the following string is the
fd's name.
Note:
1. If you wa
The following patch also needs this API, so make it generally avialable
Signed-off-by: Wen Congyang
---
gdbstub.c |9 -
gdbstub.h |9 +
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/gdbstub.c b/gdbstub.c
index f4e97f7..7f8ac2f 100644
--- a/gdbstub.c
+++ b
Dump info contains: endian, class and architecture. The next
patch will use these information to create vmcore. Note: on
x86 box, the class is ELFCLASS64 if the memory is larger than 4G.
Signed-off-by: Wen Congyang
---
cpu-all.h |7 +++
dump.h | 23 +
The core file has register's value. But it does not include all registers value.
Store the cpu status into QEMU note, and the user can get more information
from vmcore. If you change QEMUCPUState, please count up QEMUCPUSTATE_VERSION.
Signed-off-by: Wen Congyang
---
cpu-all.h | 2
The core file contains register's value. These APIs write registers to
core file, and them will be called in the following patch.
Signed-off-by: Wen Congyang
---
Makefile.target |1 +
configure |4 +
cpu-all.h | 23 +
target-i386/arch_dump.c | 2
crash does not need the virtual address and physical address mapping, and the
mapping does not include the memory that is not referenced by the page table.
crash does not use the virtual address, so we can create the mapping for all
physical memory(virtual address is always 0). This patch provides
Add API to get all virtual address and physical address mapping.
If the guest doesn't use paging, the virtual address is equal to the phyical
address. The virtual address and physical address mapping is for gdb's user, and
it does not include the memory that is not referenced by the page table. So
The memory mapping list stores virtual address and physical address mapping.
The virtual address and physical address are contiguous in the mapping.
The folloing patch will use this information to create PT_LOAD in the vmcore.
Signed-off-by: Wen Congyang
---
Makefile.target |1 +
memory_map
This API will be used in the following patch.
Signed-off-by: Wen Congyang
---
cpu-common.h |2 ++
exec.c |9 +
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/cpu-common.h b/cpu-common.h
index dca5175..fcd50dc 100644
--- a/cpu-common.h
+++ b/cpu-common.h
@@
This API will be used in the following patch.
Signed-off-by: Wen Congyang
---
cpu-all.h |6 ++
target-i386/arch_memory_mapping.c |7 ++-
2 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/cpu-all.h b/cpu-all.h
index 390b55b..24c7f77 100644
---
Hi, all
'virsh dump' can not work when host pci device is used by guest. We have
discussed this issue here:
http://lists.nongnu.org/archive/html/qemu-devel/2011-10/msg00736.html
The last version is here:
http://lists.nongnu.org/archive/html/qemu-devel/2012-03/msg02536.html
We have determined to
On Mon, Mar 19, 2012 at 09:03:09PM +0100, Jan Kiszka wrote:
> On 2012-03-19 01:29, Kevin O'Connor wrote:
> > On Mon, Feb 27, 2012 at 04:25:09PM +0100, Jan Kiszka wrote:
> >>> EAX= EBX= ECX=c934 EDX=0068
> >>> ESI=6801 EDI= EBP=002b ESP=fff5
> >
> > I tra
This issue appears to be resolved in the *real* current git master, so
this bug can be closed. Now it's just a matter of getting rid of or
updating that mirror.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.ne
On Mon, Mar 19, 2012 at 11:33:10AM +, Stefan Hajnoczi wrote:
> On Mon, Mar 19, 2012 at 03:59:23PM +1100, David Gibson wrote:
> > Currently the virtio balloon device, when using the virtio-pci interface
> > advertises itself with PCI class code MEMORY_RAM. This is wrong; the
> > balloon is vagu
On Mon, Mar 19, 2012 at 11:52:49AM +0100, Andreas Färber wrote:
> Am 19.03.2012 05:57, schrieb David Gibson:
> > If the kernel page size is larger than TARGET_PAGE_SIZE, which
> > happens for example on ppc64 with kernels compiled for 64K pages,
> > the dirty tracking doesn't work.
> >
> > Cc: Avi
Is the GitHub mirror (http://wiki.qemu.org/Download) no long being
updated? It looks like it might not be given the last commit, so it
should really be fixed or removed from that download page and the mirror
deleted.
I used the GitHub mirror because when I tried to clone
git://git.qemu.org/qemu.gi
2012/3/19 Avi Kivity :
> On 03/19/2012 06:34 AM, Roy Tam wrote:
>> But I get "*** stack smashing detected ***: terminated" and crash
>> when booting BeOS 5.
>>
>
> Is that a regression? From what commit?
It seems to be a regression from 0.15.1.
1.0 (mingw) build fails to boot also (a fresh compi
On 03/19/2012 06:10 PM, Anthony Liguori wrote:
On 03/17/2012 05:45 PM, Rafael wrote:
Hi,
I had already started to work on supporting PNG dump output on
screendump when got to know there was another effort to do the same
(see Add PNG screendump thread from Daniel P. Berrange). Anyway, I'd
like
Some cpu's definitions define CPU_SAVE_VERSION, others not, but they have
defined cpu_save/load.
Signed-off-by: Juan Quintela
---
exec.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/exec.c b/exec.c
index 265e895..9389a61 100644
--- a/exec.c
+++ b/exec.c
@@ -657,7
They only contain vmstate cpu sections nowadays. Change name to reflect the
case.
Signed-off-by: Juan Quintela
---
Makefile.target|3 ++-
target-alpha/{machine.c => vmstate-cpu.c} |0
target-arm/{machine.c => vmstate-cpu.c}|0
target-cri
Adjust all callers.
Signed-off-by: Juan Quintela
---
hw/mips_timer.c |2 +-
target-mips/cpu.h|2 +-
target-mips/helper.c | 30 +-
target-mips/machine.c| 56 +-
target-mips/op_helper.c
Added sdr1_vmstate because storing the value requires calling ppc_store_sdr1().
The position when the function is called also changes (I think it is save).
Signed-off-by: Juan Quintela
---
target-ppc/cpu.h |5 +-
target-ppc/machine.c | 245 ++-
On 03/19/2012 05:50 PM, Luiz Capitulino wrote:
On Sat, 17 Mar 2012 19:45:56 -0300
Rafael wrote:
Hi,
I had already started to work on supporting PNG dump output on
screendump when got to know there was another effort to do the same
(see Add PNG screendump thread from Daniel P. Berrange). Anyw
Signed-off-by: Juan Quintela
---
target-lm32/cpu.h |2 --
target-lm32/machine.c | 14 ++
2 files changed, 2 insertions(+), 14 deletions(-)
diff --git a/target-lm32/cpu.h b/target-lm32/cpu.h
index a7d9546..136a911 100644
--- a/target-lm32/cpu.h
+++ b/target-lm32/cpu.h
@@ -20
On 03/19/2012 06:45 PM, Michael Roth wrote:
So IMO, returning arguments actually seems easier for both clients and the
server, and is more resilient to downstream changes. It does require a more
formal specification of the protocol though. Basically: "an option/field
may not be supported in older
bcond state was stored as int32, but it is target_ulong. Change migration state
to reflect that.
Signed-off-by: Juan Quintela
---
target-mips/cpu.h |2 +-
target-mips/machine.c | 10 --
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/target-mips/cpu.h b/target-m
This allows to sent a partial array where the size is another
structure field multiplied by a constant.
Signed-off-by: Juan Quintela
---
savevm.c |6 ++
vmstate.h | 35 +++
2 files changed, 29 insertions(+), 12 deletions(-)
diff --git a/savevm.c b/save
Have to define TLBSet struct.
Multidimensional arrays in C are a mess, just unroll them.
Signed-off-by: Juan Quintela
---
target-cris/cpu.h | 13 ++---
target-cris/machine.c | 138 +++--
2 files changed, 60 insertions(+), 91 deletions(-)
diff -
Signed-off-by: Juan Quintela
Acked-by: Richard Henderson
---
target-alpha/vmstate-cpu.c | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/target-alpha/vmstate-cpu.c b/target-alpha/vmstate-cpu.c
index 22c70f3..b94b1e5 100644
--- a/target-alpha/vmstate-cpu.c
+
Signed-off-by: Juan Quintela
---
savevm.c | 30 ++
vmstate.h |4
2 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/savevm.c b/savevm.c
index 09a2149..822f078 100644
--- a/savevm.c
+++ b/savevm.c
@@ -1112,6 +1112,36 @@ const VMStateInfo vmstate
On Fri, Mar 16, 2012 at 08:16:12PM +0100, Laszlo Ersek wrote:
> Stack entries in QmpOutputVisitor are navigation links (weak references),
> except the bottom (ie. least recently added) entry, which owns the root
> QObject [1]. Make qmp_output_visitor_cleanup() drop the stack entries,
> then release
On 03/19/2012 06:52 PM, Rusty Russell wrote:
On Mon, 19 Mar 2012 17:13:06 -0500, Anthony Liguori
wrote:
Maybe just make this a hidden option like x-miio?
x-violate-the-virtio-spec-to-trick-old-linux-drivers-into-working-on-power?
"To configure the device, we use the first I/O region of the
Signed-off-by: Juan Quintela
---
target-unicore32/cpu.h |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/target-unicore32/cpu.h b/target-unicore32/cpu.h
index a3f8589..be85250 100644
--- a/target-unicore32/cpu.h
+++ b/target-unicore32/cpu.h
@@ -134,8 +134,6 @@ int uc32_cp
Signed-off-by: Juan Quintela
---
savevm.c | 30 ++
vmstate.h |5 +
2 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/savevm.c b/savevm.c
index 12fb209..09a2149 100644
--- a/savevm.c
+++ b/savevm.c
@@ -1082,6 +1082,36 @@ const VMStateInfo vmstat
Signed-off-by: Juan Quintela
Acked-by: Edgar E. Iglesias
---
target-cris/vmstate-cpu.c | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/target-cris/vmstate-cpu.c b/target-cris/vmstate-cpu.c
index 1dbf8b5..47ac170 100644
--- a/target-cris/vmstate-cpu.c
+++ b
This is the second place that register cpu migration code, it is done
in general in cpu_exec_init(), just remove this call.
Signed-off-by: Juan Quintela
---
hw/mips_fulong2e.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/hw/mips_fulong2e.c b/hw/mips_fulong2e.c
index 3
Signed-off-by: Juan Quintela
---
target-alpha/machine.c |1 -
target-arm/machine.c |1 -
target-cris/machine.c |1 -
target-i386/machine.c |6 --
target-lm32/machine.c |1 -
target-mips/machine.c |3 ---
target-ppc/machine.c |2 --
target-sparc/machine.c |
We have an array of structs whose size is an int32 in the same struct that
depends on a test value to know if it is there or not.
Signed-off-by: Juan Quintela
---
vmstate.h | 10 ++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/vmstate.h b/vmstate.h
index 5c56f25..b8a
This repository contains all the changes:
git://repo.or.cz/qemu/quintela.git vmstate-cpus-v4
[v4]
- rebase to top
- adapt to vmstate.h change
- adapt to CPUState -> CPU$archState rename
- integrate arm changes in the meantime
- add QEMU contributors to the copyright notice of ppc & sparc
[v3
On Mon, Mar 19, 2012 at 08:29:28PM +0100, Paolo Bonzini wrote:
> I noticed that the QMP input visitor does not detect extra members inside
> structs. The outermost arguments struct is handled by the QMP type
> checker, but the nested ones go undetected. That could be a problem
> for complex comma
Signed-off-by: Juan Quintela
---
target-i386/machine.c | 16
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/target-i386/machine.c b/target-i386/machine.c
index 127c44f..c2a8872 100644
--- a/target-i386/machine.c
+++ b/target-i386/machine.c
@@ -11,7 +11,7 @@ stat
On 03/09/2012 01:27 PM, Liu, Jinsong wrote:
As for 'tsc deadline' feature exposing, my patch (as attached) just obey qemu
general cpuid exposing method, and also satisfied your target I think.
One question.
Why is TSC_DEADLINE not exposed in the cpuid allowed feature
bits in do_cpuid_ent() i
This is necessary for nicer make check integration.
Signed-off-by: Michael Roth
---
test-qmp-commands.c |3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/test-qmp-commands.c b/test-qmp-commands.c
index fa5a7bd..60cbf01 100644
--- a/test-qmp-commands.c
+++ b/test-qmp-comm
All the deps are here but the test was never added to the list of tests
for make check
Signed-off-by: Michael Roth
---
tests/Makefile |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tests/Makefile b/tests/Makefile
index 354fdbb..94ea342 100644
--- a/tests/Makefile
+++ b/
This was added by mistake a while back.
Signed-off-by: Michael Roth
---
tests/Makefile |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/Makefile b/tests/Makefile
index c78ade1..354fdbb 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -17,7 +17,7 @@ test-coroutin
Signed-off-by: Juan Quintela
---
savevm.c | 24
vmstate.h |4
2 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/savevm.c b/savevm.c
index 822f078..4c42076 100644
--- a/savevm.c
+++ b/savevm.c
@@ -1142,6 +1142,30 @@ const VMStateInfo vmstate_info_
We are going to define arrays of this type, so we need the integer type.
Signed-off-by: Juan Quintela
---
hw/hw.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/hw/hw.h b/hw/hw.h
index e5cb9bf..9dbac88 100644
--- a/hw/hw.h
+++ b/hw/hw.h
@@ -52,11 +52,13 @@ int qemu_boo
Signed-off-by: Juan Quintela
---
target-microblaze/cpu.h |2 --
target-microblaze/machine.c | 26 ++
2 files changed, 18 insertions(+), 10 deletions(-)
diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h
index 33b23c2..c7ea041 100644
--- a/target-micr
This way, we fix a bug (we were overwritten the 16 first registers on
load), and we don't need to check for ARM_FEATUR_VPF3, we always send
the 32 registers.
Signed-off-by: Juan Quintela
---
target-arm/cpu.h |2 +-
target-arm/machine.c | 22 ++
2 files changed, 3 in
This makes several changes:
- exports VMStateDescription vmstate_cpu non-static.
- makes sure that every cpu has a vmstate_cpu or cpu_save/load defined
- for the architecture that had nothing, it just register the cpu as
unmigratable.
- Depending on CPU_SAVE_VERSION we register old/new migration s
On Mon, 19 Mar 2012 17:13:06 -0500, Anthony Liguori
wrote:
> > Maybe just make this a hidden option like x-miio?
>
> x-violate-the-virtio-spec-to-trick-old-linux-drivers-into-working-on-power?
"To configure the device, we use the first I/O region of the PCI
device."
Meh, it does sound a little
Signed-off-by: Juan Quintela
---
target-mips/cpu.h |5 +-
target-mips/machine.c | 465 +++--
2 files changed, 182 insertions(+), 288 deletions(-)
diff --git a/target-mips/cpu.h b/target-mips/cpu.h
index d2773d6..2475d32 100644
--- a/target-mip
v2: Move license to BSD-like as in vl.c
v3: Change copyright dates
v4: add QEMU contributors
Signed-off-by: Juan Quintela
---
target-sparc/vmstate-cpu.c | 30 ++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/target-sparc/vmstate-cpu.c b/target-spar
Adjust all callers.
Signed-off-by: Juan Quintela
---
hw/mips_malta.c |4 ++--
target-mips/cpu.h|4 ++--
target-mips/machine.c| 12 ++--
target-mips/op_helper.c | 30 +-
target-mips/translate.c |6 +++--
We don't have any more CPU_SAVEVM_VERSION users, neither
cpu_save/load() ones.
Signed-off-by: Juan Quintela
---
exec.c|5 -
qemu-common.h |4
2 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/exec.c b/exec.c
index c0f9c2e..bb6474c 100644
--- a/exec.c
+++ b/e
v2: Move license to BSD-like as in vl.c
Add Fabrice copyright from vl.c
Signed-off-by: Juan Quintela
---
target-i386/vmstate-cpu.c | 28
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/target-i386/vmstate-cpu.c b/target-i386/vmstate-cpu.c
index
On Mon, Mar 19, 2012 at 05:38:54PM -0500, Anthony Liguori wrote:
> On 03/19/2012 05:29 PM, Michael Roth wrote:
> >On Mon, Mar 19, 2012 at 05:43:14PM -0300, Luiz Capitulino wrote:
> >>On Mon, 19 Mar 2012 15:30:26 -0500
> >>Anthony Liguori wrote:
> >>
> >>>On 03/19/2012 03:22 PM, Eric Blake wrote:
>
Signed-off-by: Juan Quintela
---
hw/sun4u.c | 20 --
target-sparc/cpu.h |9 +-
target-sparc/machine.c | 474
3 files changed, 283 insertions(+), 220 deletions(-)
diff --git a/hw/sun4u.c b/hw/sun4u.c
index 237e20c..c36861c 10
Signed-off-by: Juan Quintela
---
target-ppc/machine.c |8
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/target-ppc/machine.c b/target-ppc/machine.c
index 70e2582..d6c2ee4 100644
--- a/target-ppc/machine.c
+++ b/target-ppc/machine.c
@@ -32,7 +32,6 @@ void cpu_save(QEM
Use one subsection for each feature. This means that we don't need to
bump the version field each time that a new feature gets introduced.
Introduce cpsr_vmstate field, as I am not sure if I can "use"
uncached_cpsr for saving state.
Signed-off-by: Juan Quintela
---
target-arm/cpu.h |5
v2: Move license to BSD-like as in vl.c
v3: change copyright dates
v4: add Fabrice & QEMU contributors
Signed-off-by: Juan Quintela
---
target-ppc/vmstate-cpu.c | 30 ++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/target-ppc/vmstate-cpu.c b/targe
v2: Move license to BSD-like as in vl.c
Signed-off-by: Juan Quintela
---
target-mips/vmstate-cpu.c | 29 +
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/target-mips/vmstate-cpu.c b/target-mips/vmstate-cpu.c
index bbfa2a9..1e28b3f 100644
--- a/targe
On Mon, 19 Mar 2012, Andreas F?rber wrote:
> Am 19.03.2012 22:33, schrieb malc:
> > On Mon, 19 Mar 2012, Stefan Weil wrote:
> >
> >> The previous commit changed function tb_set_jmp_target1 and is needed
> >> for w64 hosts.
> >>
> >> This patch is not needed for w64, but it synchronizes tb_set_jmp
With this change, we sent arrays as arrays, making state description
much simpler. The change is incompatible, but as far as I know, sparc
don't care about migration compatibility beteween versions.
Signed-off-by: Juan Quintela
---
target-sparc/machine.c | 172 +++--
Signed-off-by: Juan Quintela
Acked-by: Andrzej Zaborowski
---
target-arm/vmstate-cpu.c | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/target-arm/vmstate-cpu.c b/target-arm/vmstate-cpu.c
index f8ccdd7..65ed6eb 100644
--- a/target-arm/vmstate-cpu.c
+++ b/ta
Signed-off-by: Juan Quintela
Acked-By: Michael Walle
---
target-lm32/vmstate-cpu.c | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/target-lm32/vmstate-cpu.c b/target-lm32/vmstate-cpu.c
index 132259d..3867189 100644
--- a/target-lm32/vmstate-cpu.c
+++ b/tar
Signed-off-by: Juan Quintela
---
target-i386/cpu.h |2 --
target-i386/machine.c | 12 +---
2 files changed, 1 insertions(+), 13 deletions(-)
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index a1ed3e7..b2eeb9b 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -964,
On 03/19/2012 05:29 PM, Michael Roth wrote:
On Mon, Mar 19, 2012 at 05:43:14PM -0300, Luiz Capitulino wrote:
On Mon, 19 Mar 2012 15:30:26 -0500
Anthony Liguori wrote:
On 03/19/2012 03:22 PM, Eric Blake wrote:
On 03/19/2012 01:56 PM, Anthony Liguori wrote:
For old clients that could be fine.
Hi Guys,
I'm trying to use some helper functions to instrument translated code, but
I'm getting some segfaults while doing it. Here are some code I've placed:
target-i386/helper.h
DEF_HELPER_1(foo, void, tl)
target-i386/op_helper.c
#ifdef TARGET_X86_64
void foo(target_ulong t0){
}
target-i386
On Mon, Mar 19, 2012 at 05:43:14PM -0300, Luiz Capitulino wrote:
> On Mon, 19 Mar 2012 15:30:26 -0500
> Anthony Liguori wrote:
>
> > On 03/19/2012 03:22 PM, Eric Blake wrote:
> > > On 03/19/2012 01:56 PM, Anthony Liguori wrote:
> > >>> For old clients that could be fine. But what about old serve
We've at least one UTF8 char in the qemu texi doc:
$ grep Tibor qemu-doc.texi
by Tibor "TS" Schütz.
$ man ./qemu.1 | grep Tibor
by Tibor "TS" SchA~Xtz.
This patch allows utf8 in man/pod docs.
Initially it was split into two parts and sent on 2012-02-02.
Resending it again (3rd time) n
Kernel 3.3 is released, and so is kvm-kmod-3.3 now as well. The
package is available from
http://sourceforge.net/projects/kvm/files/kvm-kmod/3.3/kvm-kmod-3.3.tar.bz2/download
See [1] for further details on kvm-kmod.
KVM changes since kvm-kmod-3.2:
- more MMU/MMIO speedup
- CPU feature whitelis
This changes implementations of all iov_*
functions, completing the previous step.
All iov_* functions now ensure that this offset
argument is within the iovec (using assertion),
but lets to specify `bytes' value larger than
actual length of the iovec - in this case they
stops at the actual end of
On 19 March 2012 21:56, Blue Swirl wrote:
> +#define SIGNBIT (uint32_t)0x8000
> +#define SIGNBIT64 ((uint64_t)1 << 63)
SIGNBIT64 isn't used, I think.
-- PMM
On 03/19/2012 04:29 PM, Michael S. Tsirkin wrote:
On Mon, Mar 19, 2012 at 04:07:45PM -0500, Anthony Liguori wrote:
On 03/19/2012 03:49 PM, Michael S. Tsirkin wrote:
On Mon, Mar 19, 2012 at 02:19:33PM -0500, Anthony Liguori wrote:
On 03/19/2012 10:56 AM, Michael S. Tsirkin wrote:
Currently vir
On 19 March 2012 21:56, Blue Swirl wrote:
> -DEF_HELPER_4(neon_tbl, i32, i32, i32, i32, i32)
> +DEF_HELPER_5(neon_tbl, i32, env, i32, i32, i32, i32)
> --- a/target-arm/translate.c
> +++ b/target-arm/translate.c
> @@ -6340,7 +6340,7 @@ static int disas_neon_data_insn(CPUARMState *
> env, DisasCont
Rename do_sendv_recvv() to iov_send_recv(), change its last arg
(do_send) from int to bool, export it in iov.h, and made the two
callers of it (iov_send() and iov_recv()) to be trivial #defines
just adding 5th arg.
iov_send_recv() will be used later.
Signed-off-by: Michael Tokarev
---
cutils.c
This patch combines two functions into one, and replaces
the implementation with already existing iov_memset() from
iov.c.
The new prototype of qemu_iovec_memset():
size_t qemu_iovec_memset(qiov, size_t offset, int fillc, size_t bytes)
It is different from former qemu_iovec_memset_skip(), and
I
It now allows specifying offset within qiov to start from and
amount of bytes to copy. Actual implementation is just a call
to iov_to_buf().
Signed-off-by: Michael Tokarev
---
block.c |2 +-
block/iscsi.c |2 +-
block/qcow.c |2 +-
block/qcow2.c |2 +-
block/rbd.c |
Add an explicit CPUARMState parameter instead of relying on AREG0
and move load and store helpers to helper.c. Remove AREG0 swapping in
tlb_fill(). Remove now empty op_helper.c.
Switch to AREG0 free mode. Use cpu_ld{l,uw}_code in translation
and interrupt handling.
Signed-off-by: Blue Swirl
---
Add an explicit CPUARMState parameter instead of relying on AREG0
and move rest of the arithmetic to helper.c.
Signed-off-by: Blue Swirl
---
target-arm/helper.c| 146
target-arm/helper.h| 24
target-arm/op_helper.c | 140 -
Add an explicit CPUARMState parameter instead of relying on AREG0
and move exception and wfi helpers to helper.c. Merge raise_exception()
and helper_exception().
Signed-off-by: Blue Swirl
---
target-arm/helper.c| 13 +
target-arm/helper.h|4 ++--
target-arm/op_helper.c
Add an explicit CPUARMState parameter instead of relying on AREG0
and move cpsr and banked register access to helper.c.
Signed-off-by: Blue Swirl
---
target-arm/helper.c| 42 ++
target-arm/helper.h|8
target-arm/op_helper.c | 42 --
Add an explicit CPUARMState parameter instead of relying on AREG0
and move saturating arithmetic to helper.c.
Signed-off-by: Blue Swirl
---
target-arm/helper.c| 133 +++
target-arm/helper.h| 20
target-arm/op_helper.c | 134 ---
Am 19.03.2012 22:33, schrieb malc:
> On Mon, 19 Mar 2012, Stefan Weil wrote:
>
>> The previous commit changed function tb_set_jmp_target1 and is needed
>> for w64 hosts.
>>
>> This patch is not needed for w64, but it synchronizes tb_set_jmp_target1
>> and ppc_tb_set_jmp_target so that both functio
Add an explicit CPUARMState parameter instead of relying on AREG0
and move neon_tbl to neon_helper.c.
Signed-off-by: Blue Swirl
---
target-arm/helper.h |2 +-
target-arm/neon_helper.c | 22 ++
target-arm/op_helper.c | 22 --
target-arm/trans
Convert ARM to AREG0 free operation. Survives simple tests.
URL git://repo.or.cz/qemu/blueswirl.git
http://repo.or.cz/r/qemu/blueswirl.git
Blue Swirl (6):
arm: move neon_tbl to neon_helper.c
arm: move saturating arithmetic to helper.c
arm: move other arithmetic to helper.c
arm
On 19/03/2012 18:28, Andreas Färber wrote:
> Am 16.03.2012 23:11, schrieb François Revol:
>> It should be possible to come up with a project involving QEMU on Haiku
>> if anyone is interested.
>> While there is an existing QEMU port, I'm not sure in what state it
>> currently is.
>
> Haiku is miss
This is my last attempt. It is pointless to bother so much
people with so much trivial stuff again and again and again.
This is cleanup/consolidation of iovec-related low-level
routines in qemu.
The plan is to make library functions more understandable,
consistent and useful, and to drop numerou
qemu_iovec_concat() is currently a wrapper for
qemu_iovec_copy(), use the former (with extra
"0" arg) in a few places where it is used.
Change skip argument of qemu_iovec_copy() from
uint64_t to size_t, since size of qiov itself
is size_t, so there's no way to skip larger
sizes. Rename it to soff
On Mon, 19 Mar 2012, Stefan Weil wrote:
> The previous commit changed function tb_set_jmp_target1 and is needed
> for w64 hosts.
>
> This patch is not needed for w64, but it synchronizes tb_set_jmp_target1
> and ppc_tb_set_jmp_target so that both functions have the same signature.
>
> Cc: malc
On Mon, Mar 19, 2012 at 04:07:45PM -0500, Anthony Liguori wrote:
> On 03/19/2012 03:49 PM, Michael S. Tsirkin wrote:
> >On Mon, Mar 19, 2012 at 02:19:33PM -0500, Anthony Liguori wrote:
> >>On 03/19/2012 10:56 AM, Michael S. Tsirkin wrote:
> >>>Currently virtio-pci is specified so that configuration
Original code has one thing to process (cur_len), requests to
convert from iovec to buf another thing (len which is actually max_len),
and processes something else (copied). Whole thing is very difficult
to understand, even if it does a right thing. The iov_to_buf()
conversion in this case will a
I pushed it all to git://git.corpit.ru/qemu.git mjt-iov
Note there was a bug in last change of unit-test (in the
last patch), -- again because I had to rewrite it so much
times:
--- b/test-iov.c
+++ a/test-iov.c
@@ -223 +223 @@ static void test_io(void)
- iov_memset(iov, niov, 0, j
Make it much more understandable, add a missing
iov_cnt argument (number of iovs in the iov), and
add comments to it.
The new implementation has been extensively tested
by splitting a large buffer into many small
randomly-sized chunks, sending it over socket to
another, slow process and verifying
1 - 100 of 359 matches
Mail list logo